Skip to main content
Ctrl+K

tenspec

  • GitHub
  • GitHub

Site Navigation

  • Getting started
  • Array annotations
  • Runtime validation
  • Pydantic models
  • Custom checks and transforms

Examples

  • Validate NumPy arrays
  • Custom checks and read-only arrays
  • More examples

Reference

  • Type checkers and Ruff
  • API reference
  • Errors and limits

Index

A | B | C | F | M | N | R | T | V

A

  • AnnotationError (class in tenspec)
  • ArrayProperty (class in tenspec.numpy)
  • ArrayTransform (class in tenspec.numpy)
  • axis_size() (in module tenspec)

B

  • BindingError (class in tenspec.errors)

C

  • checked() (in module tenspec)
  • ConstraintEvaluationError (class in tenspec)
  • Contiguous (class in tenspec)
  • CopyReadOnly (class in tenspec.numpy)

F

  • Finite (class in tenspec)

M

  • Materialized (class in tenspec)

N

  • NonEmpty (class in tenspec)

R

  • ReadOnly (class in tenspec.numpy)

T

  • TensorContracts (class in tenspec)
  • TensorMismatch (class in tenspec.errors)
  • transform() (tenspec.numpy.ArrayTransform static method)
  • TransformContractError (class in tenspec.errors)

V

  • validate() (in module tenspec)
    • (tenspec.numpy.ArrayProperty static method)

© Copyright 2026, Egor Dmitriev.