Documentation
GitHub
Example
Dlang.org
Variable.this
grain
autograd
Variable
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
this
(
bool
requiresGrad
,
uint
[
dim
]
shape
,
int
[
dim
]
strides
,
Storage
!
T
data
)
Meta
Source
See Implementation
grain
autograd
Variable
constructors
this
functions
backward
detach
dup
gradSliced
gradVariable
opBinary
opBinaryRight
sliced
toString
properties
defined
ptr