torchtyping

Tensor checker

Provides type annotations and dynamic checking for tensor shapes and types in PyTorch

Type annotations and dynamic checking for a tensor's shape, dtype, names, etc.

GitHub

1k stars
16 watching
34 forks
Language: Python
last commit: about 2 years ago
Linked from 1 awesome list

named-tensorspython-typingpytorchshapetensorstyping

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
wkentaro/pytorch-for-numpy-usersProvides a PyTorch interface for working with NumPy arrays and tensors.691
stewori/pytypesProvides runtime typechecking and annotation tools for Python to enforce strict type compatibility201
stared/thinking-in-tensors-writing-in-pytorchA hands-on introduction to deep learning using PyTorch, explaining mathematical concepts through code examples331
tensorly/tensorlyA Python library providing tools and methods for working with tensors, including decomposition and learning techniques.1,576
mariusvniekerk/pytest-monkeytypeA pytest plugin that generates annotations and stubs for Python modules based on their type definitions43
detachhead/basedpyrightAn improved version of Pyright with enhanced type checking and support for popular IDEs1,300
felixgwu/img_classification_pk_pytorchA PyTorch project for comparing image classification models and facilitating quick experiment setup366
pytorch-labs/torchfixA tool to analyze and fix issues in PyTorch-related Python code, with automated fixes available.111
jalola/compare-tensorflow-pytorchA testing module for comparing the implementation of specific layers between TensorFlow and Pytorch72
laurentmazare/ocaml-torchBindings for PyTorch's tensor library in OCaml for GPU acceleration and automatic differentiation416
pytorch/pytorchA Python library providing tensors and dynamic neural networks with strong GPU acceleration84,978
nearai/torchfoldA PyTorch module for dynamic batching and optimized computation on deep neural networks221
typeddjango/pytest-mypy-pluginsA plugin for testing type checking and stubs using mypy and pytest107
davidfritzsche/pytest-mypy-testingA tool to verify mypy's static type analysis output31