NEML2 1.4.0
Loading...
Searching...
No Matches
LabeledVectorBaseView Class Reference

Public Member Functions

Tensor __getitem__ (self, [str,...] arg0)
 
Tensor __getitem__ (self, LabeledAxisAccessor arg0)
 
None __init__ (self, LabeledVector arg0)
 
None __setitem__ (self, [str,...] arg0, Tensor arg1)
 
None __setitem__ (self, LabeledAxisAccessor arg0, Tensor arg1)
 
int dim (self)
 
int storage (self)
 
tuple[int,...] shape (self)
 

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
LabeledVector arg0 )

Member Function Documentation

◆ __getitem__() [1/2]

Tensor __getitem__ ( self,
[str, ...] arg0 )

◆ __getitem__() [2/2]

Tensor __getitem__ ( self,
LabeledAxisAccessor arg0 )

◆ __setitem__() [1/2]

None __setitem__ ( self,
[str, ...] arg0,
Tensor arg1 )

◆ __setitem__() [2/2]

None __setitem__ ( self,
LabeledAxisAccessor arg0,
Tensor arg1 )

◆ dim()

int dim ( self)

◆ shape()

tuple[int, ...] shape ( self)

◆ storage()

int storage ( self)