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

Public Member Functions

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

Static Public Attributes

typing Number ._UnionGenericAlias
 
typing TensorLike ._UnionGenericAlias
 

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
WWR4 arg0 )

Member Function Documentation

◆ dim()

int dim ( self)

◆ expand()

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

◆ expand_as()

Tensor expand_as ( self,
Tensor arg0 )

◆ flatten()

Tensor flatten ( self)

◆ reshape()

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

◆ shape()

tuple shape ( self)

◆ size()

int size ( self,
int arg0 )

Member Data Documentation

◆ Number

typing Number ._UnionGenericAlias
static

◆ TensorLike

typing TensorLike ._UnionGenericAlias
static