grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
ReLU.dx
grain
functions
unary
ReLU
Undocumented in source.
Variable
!(
T
,
dim
,
DeviceStorage
)
dx
;
struct
ReLU
(T, size_t dim)
version(grain_cuda)
Variable
!(
T
,
dim
,
DeviceStorage
)
dx
;
Variable
!(
T
,
dim
,
DeviceStorage
)
dy
;
Meta
Source
See Implementation
grain
functions
unary
ReLU
functions
backward
forward
mixins
__anonymous
variables
dx
dy
hx
inplace
useCuDNN