grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Sum.backward
grain
functions
reduction
Sum
Undocumented in source. Be warned that the author may not have intended to support it.
auto
backward
(Variable!(T, 0, HostStorage) y)
struct
Sum
(string mode = "fast", T, size_t dim)
auto
backward
(
Variable
!(
T
, 0,
HostStorage
)
y
)
auto
backward
(Variable!(T, 0, DeviceStorage) y)
Meta
Source
See Implementation
grain
functions
reduction
Sum
functions
backward
forward
mixins
__anonymous
variables
shape