grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Neg.forward
grain
functions
unary
Neg
Undocumented in source. Be warned that the author may not have intended to support it.
auto
forward
(Variable!(T, dim, HostStorage) x)
auto
forward
(Variable!(T, dim, DeviceStorage) x)
struct
Neg
(T, size_t dim)
version(grain_cuda)
auto
forward
(
Variable
!(
T
,
dim
,
DeviceStorage
)
x
)
Meta
Source
See Implementation
grain
functions
unary
Neg
functions
backward
forward
mixins
__anonymous