Typing

A module containing all base type annotations.

Classes

Batch(*args, **kwargs)

Anything that can iterate over objects of type T_co.

Variables

RealVector

ndarray(shape, dtype=float, buffer=None, offset=0,

ComplexVector

ndarray(shape, dtype=float, buffer=None, offset=0,

IntVector

ndarray(shape, dtype=float, buffer=None, offset=0,

UIntVector

ndarray(shape, dtype=float, buffer=None, offset=0,

RealMatrix

ndarray(shape, dtype=float, buffer=None, offset=0,

ComplexMatrix

ndarray(shape, dtype=float, buffer=None, offset=0,

IntMatrix

ndarray(shape, dtype=float, buffer=None, offset=0,

UIntMatrix

ndarray(shape, dtype=float, buffer=None, offset=0,

RealTensor

ndarray(shape, dtype=float, buffer=None, offset=0,

ComplexTensor

ndarray(shape, dtype=float, buffer=None, offset=0,

IntTensor

ndarray(shape, dtype=float, buffer=None, offset=0,

UIntTensor

ndarray(shape, dtype=float, buffer=None, offset=0,

Scalar

alias of Union[R, C, Z, N]

Vector

ndarray(shape, dtype=float, buffer=None, offset=0,

Matrix

ndarray(shape, dtype=float, buffer=None, offset=0,

Tensor

ndarray(shape, dtype=float, buffer=None, offset=0,

Trainable

Type variable.

Class Inheritance Diagram

digraph inheritance4726b3b3c9 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Batch" [URL="../api/mrmustard.utils.typing.Batch.html#mrmustard.utils.typing.Batch",color=lightskyblue1,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,target="_top",tooltip="Anything that can iterate over objects of type T_co."]; "Protocol" -> "Batch" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Generic" [color=lightskyblue1,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Abstract base class for generic types."]; "Protocol" [color=lightskyblue1,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style=filled,tooltip="Base class for protocol classes."]; "Generic" -> "Protocol" [arrowsize=0.5,style="setlinewidth(0.5)"]; }