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