grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Pool.backward
grain
functions
unary
Pool
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
Pool
(bool isMax, T, size_t poolDims)
version(grain_cuda)
auto
backward
(
Variable
!(
T
,
dim
,
DeviceStorage
)
gy
)
Meta
Source
See Implementation
grain
functions
unary
Pool
aliases
CpuImpl
functions
backward
forward
manifest constants
dim
static functions
pool
variables
dx
dy
hx
hy
pad
stride
window