grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
poolForward
grain
cudnn
wrapper of cudnnPoolingForward for Variable
version(grain_cuda)
auto
poolForward
(
bool
isMax
= true
bool
isAveragePad
= false
T
size_t
_tensorDims
size_t
_poolDims
)
(
Variable
!(
T
,
_tensorDims
,
DeviceStorage
)
input
,
int
[
_poolDims
]
windowDim
,
int
[
_poolDims
]
padding
,
int
[
_poolDims
]
stride
,
T
alpha
= 1
,
T
beta
= 0
)
Meta
Source
See Implementation
grain
cudnn
functions
activationBackward
activationForward
contiguous
convBackward
convForward
cudnnDataType
fill
isContiguous
isDeterministic
isNanProp
makeCudnnTensor
poolBackward
poolForward
reduce
scale
softmaxBackward
softmaxForward
tensorOp
transform
static variables
deterministic
nanProp
structs
CudnnDropout
TensorDesc
ThreadLocalDropout
wrapper of cudnnPoolingForward for Variable