Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Zagoruyko <zagoruyko2@gmail.com>2015-08-06 23:52:09 +0300
committerSergey Zagoruyko <zagoruyko2@gmail.com>2015-08-06 23:52:09 +0300
commit8c4aef67ef412069b824acf8fcf8a73f026aa1ff (patch)
tree8be1227c98f09985eb6b793c5322de61f9dc0764 /ffi.lua
parent63c45b68cb2dfc1c76e64026cd98e73861de8391 (diff)
fixed avg pooling backward compat
Diffstat (limited to 'ffi.lua')
-rw-r--r--ffi.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffi.lua b/ffi.lua
index 7b67782..43f5d9c 100644
--- a/ffi.lua
+++ b/ffi.lua
@@ -359,7 +359,8 @@ typedef enum
{
CUDNN_POOLING_MAX = 0,
CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING = 1,
- CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = 2
+ CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = 2,
+ CUDNN_POOLING_AVERAGE = CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING // for backward compatibility
} cudnnPoolingMode_t;
cudnnStatus_t cudnnCreatePoolingDescriptor(