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

Public Member Functions

Scalar __getitem__ (self, list[typing.Any] arg0)
 
Scalar __getitem__ (self, typing.Any arg0)
 
None __init__ (self, Scalar 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)
 
Scalar expand (self, tuple[int,...] arg0)
 
Scalar expand_copy (self, tuple[int,...] arg0)
 
Scalar reshape (self, tuple[int,...] arg0)
 
Scalar transpose (self, int arg0, int arg1)
 
Scalar unsqueeze (self, int arg0)
 
tuple shape (self)
 

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
Scalar arg0 )

Member Function Documentation

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

Scalar __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()

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

◆ expand_copy()

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

◆ reshape()

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

◆ shape()

tuple shape ( self)

◆ transpose()

Scalar transpose ( self,
int arg0,
int arg1 )

◆ unsqueeze()

Scalar unsqueeze ( self,
int arg0 )