grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
OpBinary.backward
grain
functions
binary
OpBinary
Undocumented in source. Be warned that the author may not have intended to support it.
auto
backward
(Variable!(T, dim, HostStorage) gc)
auto
backward
(Variable!(T, dim, DeviceStorage) gc)
struct
OpBinary
(T, size_t dim, string ops)
version(grain_cuda)
static if
(
ops == "+"
)
auto
backward
(
Variable
!(
T
,
dim
,
DeviceStorage
)
gc
)
if
(
isFloatingPoint
!
T
)
auto
backward
(Variable!(T, dim, DeviceStorage) gc)
Meta
Source
See Implementation
grain
functions
binary
OpBinary
functions
backward
forward
manifest constants
opBinaryDict
mixins
__anonymous
variables
alpha1
alpha2
da
db
ha
hb
shape1
shape2