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

Public Member Functions

None __init__ (self, Scalar arg0)
 
int dim (self)
 
Scalar expand (self, tuple[int,...] arg0, tuple[int,...] arg1)
 
Scalar expand_as (self, Tensor arg0)
 
Scalar flatten (self)
 
Scalar reshape (self, tuple[int,...] arg0, tuple[int,...] arg1)
 
int size (self, int arg0)
 
tuple shape (self)
 

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
Scalar arg0 )

Member Function Documentation

◆ dim()

int dim ( self)

◆ expand()

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

◆ expand_as()

Scalar expand_as ( self,
Tensor arg0 )

◆ flatten()

Scalar flatten ( self)

◆ reshape()

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

◆ shape()

tuple shape ( self)

◆ size()

int size ( self,
int arg0 )