NEML2 2.0.0
Loading...
Searching...
No Matches
R2BaseView Class Reference

Public Member Functions

R2 __getitem__ (self, list[typing.Any] arg0)
 
R2 __getitem__ (self, typing.Any arg0)
 
None __init__ (self, R2 arg0)
 
None __setitem__ (self, list[typing.Any] arg0, torch.Tensor arg1)
 
None __setitem__ (self, typing.Any arg0, torch.Tensor arg1)
 
None __setitem__ (self, list[typing.Any] arg0, Tensor arg1)
 
None __setitem__ (self, typing.Any arg0, Tensor arg1)
 
int dim (self)
 
R2 expand (self, tuple[int,...] arg0)
 
R2 expand_copy (self, tuple[int,...] arg0)
 
R2 reshape (self, tuple[int,...] arg0)
 
int storage (self)
 
R2 transpose (self, int arg0, int arg1)
 
R2 unsqueeze (self, int arg0)
 
tuple[int,...] shape (self)
 

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
R2 arg0 )

Member Function Documentation

◆ __getitem__() [1/2]

R2 __getitem__ ( self,
list[typing.Any] arg0 )

◆ __getitem__() [2/2]

R2 __getitem__ ( self,
typing.Any arg0 )

◆ __setitem__() [1/4]

None __setitem__ ( self,
list[typing.Any] arg0,
Tensor arg1 )

◆ __setitem__() [2/4]

None __setitem__ ( self,
list[typing.Any] arg0,
torch.Tensor arg1 )

◆ __setitem__() [3/4]

None __setitem__ ( self,
typing.Any arg0,
Tensor arg1 )

◆ __setitem__() [4/4]

None __setitem__ ( self,
typing.Any arg0,
torch.Tensor arg1 )

◆ dim()

int dim ( self)

◆ expand()

R2 expand ( self,
tuple[int, ...] arg0 )

◆ expand_copy()

R2 expand_copy ( self,
tuple[int, ...] arg0 )

◆ reshape()

R2 reshape ( self,
tuple[int, ...] arg0 )

◆ shape()

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

◆ storage()

int storage ( self)

◆ transpose()

R2 transpose ( self,
int arg0,
int arg1 )

◆ unsqueeze()

R2 unsqueeze ( self,
int arg0 )