Documentation
GitHub
Example
Dlang.org
Variable.opBinary
grain
autograd
Variable
binary ops with primitive scalar value (e.g., float, double)
auto
opBinary
(
Variable
!(
T
,
dim
,
Storage
)
b
)
auto
opBinary
(
T
b
)
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
auto
opBinary
(
string
op
)
(
T
b
)
Meta
Source
See Implementation
grain
autograd
Variable
constructors
this
functions
backward
detach
dup
gradSliced
gradVariable
opBinary
opBinaryRight
sliced
toString
properties
defined
ptr
binary ops with primitive scalar value (e.g., float, double)