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

Public Member Functions

SR2 __add__ (self, float arg0)
 
SR2 __add__ (self, Scalar arg0)
 
SR2 __add__ (self, SR2 arg0)
 
None __init__ (self)
 
None __init__ (self, torch.Tensor arg0, int arg1)
 
None __init__ (self, SR2 arg0)
 
None __init__ (self, torch.Tensor arg0)
 
None __init__ (self, R2 arg0)
 
SR2 __mul__ (self, float arg0)
 
SR2 __mul__ (self, Scalar arg0)
 
SR2 __neg__ (self)
 
SR2 __pow__ (self, float arg0)
 
SR2 __pow__ (self, Scalar arg0)
 
SR2 __radd__ (self, float arg0)
 
str __repr__ (self)
 
SR2 __rmul__ (self, float arg0)
 
Tensor __rpow__ (self, float arg0)
 
SR2 __rsub__ (self, float arg0)
 
SR2 __rtruediv__ (self, float arg0)
 
str __str__ (self)
 
SR2 __sub__ (self, float arg0)
 
SR2 __sub__ (self, Scalar arg0)
 
SR2 __sub__ (self, SR2 arg0)
 
SR2 __truediv__ (self, float arg0)
 
SR2 __truediv__ (self, Scalar arg0)
 
SR2 __truediv__ (self, SR2 arg0)
 
bool batched (self)
 
SR2 clone (self)
 
torch.Tensor copy_ (self, torch.Tensor arg0, bool arg1)
 
bool defined (self)
 
SR2 detach (self)
 
torch.Tensor detach_ (self)
 
int dim (self)
 
torch.Tensor requires_grad_ (self, bool arg0)
 
Tensor tensor (self)
 
SR2 to (self, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
torch.Tensor torch (self)
 
torch.Tensor torch (self)
 
torch.Tensor zero_ (self)
 
SR2BaseView base (self)
 
SR2BatchView batch (self)
 
torch.device device (self)
 
torch.dtype dtype (self)
 
torch.Tensor grad (self)
 
bool requires_grad (self)
 
tuple[int,...] shape (self)
 

Static Public Member Functions

SR2 empty (*torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 empty (tuple[int,...] batch_shape, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 empty_like (SR2 arg0)
 
SR2 fill (float value, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar value)
 
SR2 fill (float value_00, float value_11, float value_22, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar value_00, Scalar value_11, Scalar value_22)
 
SR2 fill (float value_00, float value_11, float value_22, float value_12, float value_02, float value_01, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar value_00, Scalar value_11, Scalar value_22, Scalar value_12, Scalar value_02, Scalar value_01)
 
SR2 full (float fill_value, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 full (tuple[int,...] batch_shape, float fill_value, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 full_like (SR2 arg0, float arg1)
 
SR2 linspace (SR2 start, SR2 end, int nstep, int dim=0)
 
SR2 logspace (SR2 start, SR2 end, int nstep, int dim=0, float base=10.0)
 
SR2 ones (*torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 ones (tuple[int,...] batch_shape, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 ones_like (SR2 arg0)
 
SR2 zeros (*torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 zeros (tuple[int,...] batch_shape, *torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 zeros_like (SR2 arg0)
 

Constructor & Destructor Documentation

◆ __init__() [1/5]

None __init__ ( self)

◆ __init__() [2/5]

None __init__ ( self,
torch.Tensor arg0,
int arg1 )

◆ __init__() [3/5]

None __init__ ( self,
SR2 arg0 )

◆ __init__() [4/5]

None __init__ ( self,
torch.Tensor arg0 )

◆ __init__() [5/5]

None __init__ ( self,
R2 arg0 )

Member Function Documentation

◆ __add__() [1/3]

SR2 __add__ ( self,
float arg0 )

◆ __add__() [2/3]

SR2 __add__ ( self,
Scalar arg0 )

◆ __add__() [3/3]

SR2 __add__ ( self,
SR2 arg0 )

◆ __mul__() [1/2]

SR2 __mul__ ( self,
float arg0 )

◆ __mul__() [2/2]

SR2 __mul__ ( self,
Scalar arg0 )

◆ __neg__()

SR2 __neg__ ( self)

◆ __pow__() [1/2]

SR2 __pow__ ( self,
float arg0 )

◆ __pow__() [2/2]

SR2 __pow__ ( self,
Scalar arg0 )

◆ __radd__()

SR2 __radd__ ( self,
float arg0 )

◆ __repr__()

str __repr__ ( self)

◆ __rmul__()

SR2 __rmul__ ( self,
float arg0 )

◆ __rpow__()

Tensor __rpow__ ( self,
float arg0 )

◆ __rsub__()

SR2 __rsub__ ( self,
float arg0 )

◆ __rtruediv__()

SR2 __rtruediv__ ( self,
float arg0 )

◆ __str__()

str __str__ ( self)

◆ __sub__() [1/3]

SR2 __sub__ ( self,
float arg0 )

◆ __sub__() [2/3]

SR2 __sub__ ( self,
Scalar arg0 )

◆ __sub__() [3/3]

SR2 __sub__ ( self,
SR2 arg0 )

◆ __truediv__() [1/3]

SR2 __truediv__ ( self,
float arg0 )

◆ __truediv__() [2/3]

SR2 __truediv__ ( self,
Scalar arg0 )

◆ __truediv__() [3/3]

SR2 __truediv__ ( self,
SR2 arg0 )

◆ base()

SR2BaseView base ( self)

◆ batch()

SR2BatchView batch ( self)

◆ batched()

bool batched ( self)

◆ clone()

SR2 clone ( self)

◆ copy_()

torch.Tensor copy_ ( self,
torch.Tensor arg0,
bool arg1 )

◆ defined()

bool defined ( self)

◆ detach()

SR2 detach ( self)

◆ detach_()

torch.Tensor detach_ ( self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( self)

◆ dtype()

torch.dtype dtype ( self)

◆ empty() [1/2]

SR2 empty ( *torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ empty() [2/2]

SR2 empty ( tuple[int, ...] batch_shape,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ empty_like()

SR2 empty_like ( SR2 arg0)
static

◆ fill() [1/6]

SR2 fill ( float value,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [2/6]

SR2 fill ( float value_00,
float value_11,
float value_22,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [3/6]

SR2 fill ( float value_00,
float value_11,
float value_22,
float value_12,
float value_02,
float value_01,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [4/6]

SR2 fill ( Scalar value)
static

◆ fill() [5/6]

SR2 fill ( Scalar value_00,
Scalar value_11,
Scalar value_22 )
static

◆ fill() [6/6]

SR2 fill ( Scalar value_00,
Scalar value_11,
Scalar value_22,
Scalar value_12,
Scalar value_02,
Scalar value_01 )
static

◆ full() [1/2]

SR2 full ( float fill_value,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ full() [2/2]

SR2 full ( tuple[int, ...] batch_shape,
float fill_value,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ full_like()

SR2 full_like ( SR2 arg0,
float arg1 )
static

◆ grad()

torch.Tensor grad ( self)

◆ linspace()

SR2 linspace ( SR2 start,
SR2 end,
int nstep,
int dim = 0 )
static

◆ logspace()

SR2 logspace ( SR2 start,
SR2 end,
int nstep,
int dim = 0,
float base = 10.0 )
static

◆ ones() [1/2]

SR2 ones ( *torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ ones() [2/2]

SR2 ones ( tuple[int, ...] batch_shape,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ ones_like()

SR2 ones_like ( SR2 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( self,
bool arg0 )

◆ shape()

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

◆ tensor()

Tensor tensor ( self)

◆ to()

SR2 to ( self,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )

◆ torch() [1/2]

torch.Tensor torch ( self)

◆ torch() [2/2]

torch.Tensor torch ( self)

◆ zero_()

torch.Tensor zero_ ( self)

◆ zeros() [1/2]

SR2 zeros ( *torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ zeros() [2/2]

SR2 zeros ( tuple[int, ...] batch_shape,
*torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ zeros_like()

SR2 zeros_like ( SR2 arg0)
static