NEML2 2.0.0
All Classes Namespaces Functions Variables Pages
Scalar Class Reference

Public Member Functions

Scalar __add__ (self, float arg0)
 
Scalar __add__ (self, Scalar arg0)
 
Scalar __add__ (self, Scalar arg0)
 
Vec __add__ (self, Vec arg0)
 
Rot __add__ (self, Rot arg0)
 
WR2 __add__ (self, WR2 arg0)
 
R2 __add__ (self, R2 arg0)
 
SR2 __add__ (self, SR2 arg0)
 
R3 __add__ (self, R3 arg0)
 
SFR3 __add__ (self, SFR3 arg0)
 
R4 __add__ (self, R4 arg0)
 
SFR4 __add__ (self, SFR4 arg0)
 
WFR4 __add__ (self, WFR4 arg0)
 
SSR4 __add__ (self, SSR4 arg0)
 
SFFR4 __add__ (self, SFFR4 arg0)
 
SWR4 __add__ (self, SWR4 arg0)
 
WSR4 __add__ (self, WSR4 arg0)
 
WWR4 __add__ (self, WWR4 arg0)
 
R5 __add__ (self, R5 arg0)
 
SSFR5 __add__ (self, SSFR5 arg0)
 
Quaternion __add__ (self, Quaternion arg0)
 
MillerIndex __add__ (self, MillerIndex arg0)
 
SSSSR8 __add__ (self, SSSSR8 arg0)
 
R8 __add__ (self, R8 arg0)
 
Tensor __add__ (self, Tensor arg0)
 
Scalar __add__ (self, Scalar arg0)
 
Scalar __iadd__ (self, float arg0)
 
Scalar __imul__ (self, float arg0)
 
None __init__ (self)
 
None __init__ (self, torch.Tensor arg0, int arg1)
 
None __init__ (self, Scalar arg0)
 
None __init__ (self, torch.Tensor arg0)
 
Scalar __isub__ (self, float arg0)
 
Scalar __itruediv__ (self, float arg0)
 
Scalar __mul__ (self, float arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Vec __mul__ (self, Vec arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Rot __mul__ (self, Rot arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
WR2 __mul__ (self, WR2 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
R2 __mul__ (self, R2 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SR2 __mul__ (self, SR2 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
R3 __mul__ (self, R3 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SFR3 __mul__ (self, SFR3 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
R4 __mul__ (self, R4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SFR4 __mul__ (self, SFR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
WFR4 __mul__ (self, WFR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SSR4 __mul__ (self, SSR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SFFR4 __mul__ (self, SFFR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SWR4 __mul__ (self, SWR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
WSR4 __mul__ (self, WSR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
WWR4 __mul__ (self, WWR4 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
R5 __mul__ (self, R5 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SSFR5 __mul__ (self, SSFR5 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Quaternion __mul__ (self, Quaternion arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
MillerIndex __mul__ (self, MillerIndex arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
SSSSR8 __mul__ (self, SSSSR8 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
R8 __mul__ (self, R8 arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Tensor __mul__ (self, Tensor arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Scalar __mul__ (self, Scalar arg0)
 
Scalar __neg__ (self)
 
Scalar __pow__ (self, float arg0)
 
Scalar __pow__ (self, Scalar arg0)
 
Scalar __radd__ (self, float arg0)
 
str __repr__ (self)
 
Scalar __rmul__ (self, float arg0)
 
Scalar __rpow__ (self, float arg0)
 
Scalar __rsub__ (self, float arg0)
 
Scalar __rtruediv__ (self, float arg0)
 
str __str__ (self)
 
Scalar __sub__ (self, float arg0)
 
Scalar __sub__ (self, Scalar arg0)
 
Scalar __sub__ (self, Scalar arg0)
 
Vec __sub__ (self, Vec arg0)
 
Rot __sub__ (self, Rot arg0)
 
WR2 __sub__ (self, WR2 arg0)
 
R2 __sub__ (self, R2 arg0)
 
SR2 __sub__ (self, SR2 arg0)
 
R3 __sub__ (self, R3 arg0)
 
SFR3 __sub__ (self, SFR3 arg0)
 
R4 __sub__ (self, R4 arg0)
 
SFR4 __sub__ (self, SFR4 arg0)
 
WFR4 __sub__ (self, WFR4 arg0)
 
SSR4 __sub__ (self, SSR4 arg0)
 
SFFR4 __sub__ (self, SFFR4 arg0)
 
SWR4 __sub__ (self, SWR4 arg0)
 
WSR4 __sub__ (self, WSR4 arg0)
 
WWR4 __sub__ (self, WWR4 arg0)
 
R5 __sub__ (self, R5 arg0)
 
SSFR5 __sub__ (self, SSFR5 arg0)
 
Quaternion __sub__ (self, Quaternion arg0)
 
MillerIndex __sub__ (self, MillerIndex arg0)
 
SSSSR8 __sub__ (self, SSSSR8 arg0)
 
R8 __sub__ (self, R8 arg0)
 
Tensor __sub__ (self, Tensor arg0)
 
Scalar __sub__ (self, Scalar arg0)
 
Scalar __truediv__ (self, float arg0)
 
Scalar __truediv__ (self, Scalar arg0)
 
Scalar __truediv__ (self, Scalar arg0)
 
Vec __truediv__ (self, Vec arg0)
 
Rot __truediv__ (self, Rot arg0)
 
WR2 __truediv__ (self, WR2 arg0)
 
R2 __truediv__ (self, R2 arg0)
 
SR2 __truediv__ (self, SR2 arg0)
 
R3 __truediv__ (self, R3 arg0)
 
SFR3 __truediv__ (self, SFR3 arg0)
 
R4 __truediv__ (self, R4 arg0)
 
SFR4 __truediv__ (self, SFR4 arg0)
 
WFR4 __truediv__ (self, WFR4 arg0)
 
SSR4 __truediv__ (self, SSR4 arg0)
 
SFFR4 __truediv__ (self, SFFR4 arg0)
 
SWR4 __truediv__ (self, SWR4 arg0)
 
WSR4 __truediv__ (self, WSR4 arg0)
 
WWR4 __truediv__ (self, WWR4 arg0)
 
R5 __truediv__ (self, R5 arg0)
 
SSFR5 __truediv__ (self, SSFR5 arg0)
 
Quaternion __truediv__ (self, Quaternion arg0)
 
MillerIndex __truediv__ (self, MillerIndex arg0)
 
SSSSR8 __truediv__ (self, SSSSR8 arg0)
 
R8 __truediv__ (self, R8 arg0)
 
Tensor __truediv__ (self, Tensor arg0)
 
Scalar __truediv__ (self, Scalar arg0)
 
bool batched (self)
 
Scalar clone (self)
 
torch.Tensor copy_ (self, torch.Tensor arg0, bool arg1)
 
bool defined (self)
 
Scalar detach (self)
 
torch.Tensor detach_ (self)
 
int dim (self)
 
Number|torch.SymInt|torch.SymFloat|torch.SymBool item (self)
 
torch.Tensor requires_grad_ (self, bool arg0)
 
Tensor tensor (self)
 
Scalar to (self, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
torch.Tensor torch (self)
 
torch.Tensor torch (self)
 
torch.Tensor zero_ (self)
 
ScalarBaseView base (self)
 
ScalarBatchView 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

Scalar empty (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar empty (tuple[int,...] batch_shape, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar empty_like (Scalar arg0)
 
Scalar full (float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar full (tuple[int,...] batch_shape, float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar full_like (Scalar arg0, float arg1)
 
Scalar identity_map (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar linspace (Scalar start, Scalar end, int nstep, int dim=0)
 
Scalar logspace (Scalar start, Scalar end, int nstep, int dim=0, float base=10.0)
 
Scalar ones (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar ones (tuple[int,...] batch_shape, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar ones_like (Scalar arg0)
 
Scalar zeros (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar zeros (tuple[int,...] batch_shape, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Scalar zeros_like (Scalar arg0)
 

Constructor & Destructor Documentation

◆ __init__() [1/4]

None __init__ ( self)

◆ __init__() [2/4]

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

◆ __init__() [3/4]

None __init__ ( self,
Scalar arg0 )

◆ __init__() [4/4]

None __init__ ( self,
torch.Tensor arg0 )

Member Function Documentation

◆ __add__() [1/26]

Scalar __add__ ( self,
float arg0 )

◆ __add__() [2/26]

MillerIndex __add__ ( self,
MillerIndex arg0 )

◆ __add__() [3/26]

Quaternion __add__ ( self,
Quaternion arg0 )

◆ __add__() [4/26]

R2 __add__ ( self,
R2 arg0 )

◆ __add__() [5/26]

R3 __add__ ( self,
R3 arg0 )

◆ __add__() [6/26]

R4 __add__ ( self,
R4 arg0 )

◆ __add__() [7/26]

R5 __add__ ( self,
R5 arg0 )

◆ __add__() [8/26]

R8 __add__ ( self,
R8 arg0 )

◆ __add__() [9/26]

Rot __add__ ( self,
Rot arg0 )

◆ __add__() [10/26]

Scalar __add__ ( self,
Scalar arg0 )

◆ __add__() [11/26]

Scalar __add__ ( self,
Scalar arg0 )

◆ __add__() [12/26]

Scalar __add__ ( self,
Scalar arg0 )

◆ __add__() [13/26]

SFFR4 __add__ ( self,
SFFR4 arg0 )

◆ __add__() [14/26]

SFR3 __add__ ( self,
SFR3 arg0 )

◆ __add__() [15/26]

SFR4 __add__ ( self,
SFR4 arg0 )

◆ __add__() [16/26]

SR2 __add__ ( self,
SR2 arg0 )

◆ __add__() [17/26]

SSFR5 __add__ ( self,
SSFR5 arg0 )

◆ __add__() [18/26]

SSR4 __add__ ( self,
SSR4 arg0 )

◆ __add__() [19/26]

SSSSR8 __add__ ( self,
SSSSR8 arg0 )

◆ __add__() [20/26]

SWR4 __add__ ( self,
SWR4 arg0 )

◆ __add__() [21/26]

Tensor __add__ ( self,
Tensor arg0 )

◆ __add__() [22/26]

Vec __add__ ( self,
Vec arg0 )

◆ __add__() [23/26]

WFR4 __add__ ( self,
WFR4 arg0 )

◆ __add__() [24/26]

WR2 __add__ ( self,
WR2 arg0 )

◆ __add__() [25/26]

WSR4 __add__ ( self,
WSR4 arg0 )

◆ __add__() [26/26]

WWR4 __add__ ( self,
WWR4 arg0 )

◆ __iadd__()

Scalar __iadd__ ( self,
float arg0 )

◆ __imul__()

Scalar __imul__ ( self,
float arg0 )

◆ __isub__()

Scalar __isub__ ( self,
float arg0 )

◆ __itruediv__()

Scalar __itruediv__ ( self,
float arg0 )

◆ __mul__() [1/48]

Scalar __mul__ ( self,
float arg0 )

◆ __mul__() [2/48]

MillerIndex __mul__ ( self,
MillerIndex arg0 )

◆ __mul__() [3/48]

Quaternion __mul__ ( self,
Quaternion arg0 )

◆ __mul__() [4/48]

R2 __mul__ ( self,
R2 arg0 )

◆ __mul__() [5/48]

R3 __mul__ ( self,
R3 arg0 )

◆ __mul__() [6/48]

R4 __mul__ ( self,
R4 arg0 )

◆ __mul__() [7/48]

R5 __mul__ ( self,
R5 arg0 )

◆ __mul__() [8/48]

R8 __mul__ ( self,
R8 arg0 )

◆ __mul__() [9/48]

Rot __mul__ ( self,
Rot arg0 )

◆ __mul__() [10/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [11/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [12/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [13/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [14/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [15/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [16/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [17/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [18/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [19/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [20/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [21/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [22/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [23/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [24/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [25/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [26/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [27/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [28/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [29/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [30/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [31/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [32/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [33/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [34/48]

Scalar __mul__ ( self,
Scalar arg0 )

◆ __mul__() [35/48]

SFFR4 __mul__ ( self,
SFFR4 arg0 )

◆ __mul__() [36/48]

SFR3 __mul__ ( self,
SFR3 arg0 )

◆ __mul__() [37/48]

SFR4 __mul__ ( self,
SFR4 arg0 )

◆ __mul__() [38/48]

SR2 __mul__ ( self,
SR2 arg0 )

◆ __mul__() [39/48]

SSFR5 __mul__ ( self,
SSFR5 arg0 )

◆ __mul__() [40/48]

SSR4 __mul__ ( self,
SSR4 arg0 )

◆ __mul__() [41/48]

SSSSR8 __mul__ ( self,
SSSSR8 arg0 )

◆ __mul__() [42/48]

SWR4 __mul__ ( self,
SWR4 arg0 )

◆ __mul__() [43/48]

Tensor __mul__ ( self,
Tensor arg0 )

◆ __mul__() [44/48]

Vec __mul__ ( self,
Vec arg0 )

◆ __mul__() [45/48]

WFR4 __mul__ ( self,
WFR4 arg0 )

◆ __mul__() [46/48]

WR2 __mul__ ( self,
WR2 arg0 )

◆ __mul__() [47/48]

WSR4 __mul__ ( self,
WSR4 arg0 )

◆ __mul__() [48/48]

WWR4 __mul__ ( self,
WWR4 arg0 )

◆ __neg__()

Scalar __neg__ ( self)

◆ __pow__() [1/2]

Scalar __pow__ ( self,
float arg0 )

◆ __pow__() [2/2]

Scalar __pow__ ( self,
Scalar arg0 )

◆ __radd__()

Scalar __radd__ ( self,
float arg0 )

◆ __repr__()

str __repr__ ( self)

◆ __rmul__()

Scalar __rmul__ ( self,
float arg0 )

◆ __rpow__()

Scalar __rpow__ ( self,
float arg0 )

◆ __rsub__()

Scalar __rsub__ ( self,
float arg0 )

◆ __rtruediv__()

Scalar __rtruediv__ ( self,
float arg0 )

◆ __str__()

str __str__ ( self)

◆ __sub__() [1/26]

Scalar __sub__ ( self,
float arg0 )

◆ __sub__() [2/26]

MillerIndex __sub__ ( self,
MillerIndex arg0 )

◆ __sub__() [3/26]

Quaternion __sub__ ( self,
Quaternion arg0 )

◆ __sub__() [4/26]

R2 __sub__ ( self,
R2 arg0 )

◆ __sub__() [5/26]

R3 __sub__ ( self,
R3 arg0 )

◆ __sub__() [6/26]

R4 __sub__ ( self,
R4 arg0 )

◆ __sub__() [7/26]

R5 __sub__ ( self,
R5 arg0 )

◆ __sub__() [8/26]

R8 __sub__ ( self,
R8 arg0 )

◆ __sub__() [9/26]

Rot __sub__ ( self,
Rot arg0 )

◆ __sub__() [10/26]

Scalar __sub__ ( self,
Scalar arg0 )

◆ __sub__() [11/26]

Scalar __sub__ ( self,
Scalar arg0 )

◆ __sub__() [12/26]

Scalar __sub__ ( self,
Scalar arg0 )

◆ __sub__() [13/26]

SFFR4 __sub__ ( self,
SFFR4 arg0 )

◆ __sub__() [14/26]

SFR3 __sub__ ( self,
SFR3 arg0 )

◆ __sub__() [15/26]

SFR4 __sub__ ( self,
SFR4 arg0 )

◆ __sub__() [16/26]

SR2 __sub__ ( self,
SR2 arg0 )

◆ __sub__() [17/26]

SSFR5 __sub__ ( self,
SSFR5 arg0 )

◆ __sub__() [18/26]

SSR4 __sub__ ( self,
SSR4 arg0 )

◆ __sub__() [19/26]

SSSSR8 __sub__ ( self,
SSSSR8 arg0 )

◆ __sub__() [20/26]

SWR4 __sub__ ( self,
SWR4 arg0 )

◆ __sub__() [21/26]

Tensor __sub__ ( self,
Tensor arg0 )

◆ __sub__() [22/26]

Vec __sub__ ( self,
Vec arg0 )

◆ __sub__() [23/26]

WFR4 __sub__ ( self,
WFR4 arg0 )

◆ __sub__() [24/26]

WR2 __sub__ ( self,
WR2 arg0 )

◆ __sub__() [25/26]

WSR4 __sub__ ( self,
WSR4 arg0 )

◆ __sub__() [26/26]

WWR4 __sub__ ( self,
WWR4 arg0 )

◆ __truediv__() [1/26]

Scalar __truediv__ ( self,
float arg0 )

◆ __truediv__() [2/26]

MillerIndex __truediv__ ( self,
MillerIndex arg0 )

◆ __truediv__() [3/26]

Quaternion __truediv__ ( self,
Quaternion arg0 )

◆ __truediv__() [4/26]

R2 __truediv__ ( self,
R2 arg0 )

◆ __truediv__() [5/26]

R3 __truediv__ ( self,
R3 arg0 )

◆ __truediv__() [6/26]

R4 __truediv__ ( self,
R4 arg0 )

◆ __truediv__() [7/26]

R5 __truediv__ ( self,
R5 arg0 )

◆ __truediv__() [8/26]

R8 __truediv__ ( self,
R8 arg0 )

◆ __truediv__() [9/26]

Rot __truediv__ ( self,
Rot arg0 )

◆ __truediv__() [10/26]

Scalar __truediv__ ( self,
Scalar arg0 )

◆ __truediv__() [11/26]

Scalar __truediv__ ( self,
Scalar arg0 )

◆ __truediv__() [12/26]

Scalar __truediv__ ( self,
Scalar arg0 )

◆ __truediv__() [13/26]

SFFR4 __truediv__ ( self,
SFFR4 arg0 )

◆ __truediv__() [14/26]

SFR3 __truediv__ ( self,
SFR3 arg0 )

◆ __truediv__() [15/26]

SFR4 __truediv__ ( self,
SFR4 arg0 )

◆ __truediv__() [16/26]

SR2 __truediv__ ( self,
SR2 arg0 )

◆ __truediv__() [17/26]

SSFR5 __truediv__ ( self,
SSFR5 arg0 )

◆ __truediv__() [18/26]

SSR4 __truediv__ ( self,
SSR4 arg0 )

◆ __truediv__() [19/26]

SSSSR8 __truediv__ ( self,
SSSSR8 arg0 )

◆ __truediv__() [20/26]

SWR4 __truediv__ ( self,
SWR4 arg0 )

◆ __truediv__() [21/26]

Tensor __truediv__ ( self,
Tensor arg0 )

◆ __truediv__() [22/26]

Vec __truediv__ ( self,
Vec arg0 )

◆ __truediv__() [23/26]

WFR4 __truediv__ ( self,
WFR4 arg0 )

◆ __truediv__() [24/26]

WR2 __truediv__ ( self,
WR2 arg0 )

◆ __truediv__() [25/26]

WSR4 __truediv__ ( self,
WSR4 arg0 )

◆ __truediv__() [26/26]

WWR4 __truediv__ ( self,
WWR4 arg0 )

◆ base()

ScalarBaseView base ( self)

◆ batch()

ScalarBatchView batch ( self)

◆ batched()

bool batched ( self)

◆ clone()

Scalar clone ( self)

◆ copy_()

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

◆ defined()

bool defined ( self)

◆ detach()

Scalar detach ( self)

◆ detach_()

torch.Tensor detach_ ( self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( self)

◆ dtype()

torch.dtype dtype ( self)

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

Scalar empty_like ( Scalar arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

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

◆ full_like()

Scalar full_like ( Scalar arg0,
float arg1 )
static

◆ grad()

torch.Tensor grad ( self)

◆ identity_map()

Scalar identity_map ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ item()

Number | torch.SymInt | torch.SymFloat | torch.SymBool item ( self)

◆ linspace()

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

◆ logspace()

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

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

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

Scalar 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]

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

◆ zeros() [2/2]

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

◆ zeros_like()

Scalar zeros_like ( Scalar arg0)
static