activationBackward

version(grain_cuda)
void
activationBackward
(
cudnnActivationMode_t A
T
size_t dim
)
(
Variable!(T, dim, DeviceStorage) gx
,
Variable!(T, dim, DeviceStorage) gy
,
Variable!(T, dim, DeviceStorage) x
,
Variable!(T, dim, DeviceStorage) y
,
T alpha = 1.0
,
T beta = 0.0
,
double coeff = 0.0
)

Meta