diff options
author | Soumith Chintala <soumith@gmail.com> | 2014-09-28 23:31:53 +0400 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2014-09-28 23:55:38 +0400 |
commit | 91793f499ab03a2d89cfa0148711e4ce02ab31ba (patch) | |
tree | 311aeb793a448dc87b67f6e1dd1d95ec75b4305a /README.md | |
parent | 2f8a13181e33e05261077c8108e39edc18bf0f3e (diff) |
adding SoftMax and SpatialSoftMax bindings
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -11,12 +11,17 @@ Modules are API compatible their nn equivalents. Fully unit-tested against nn im ####Modules ``` +-- All inputs have to be 4D, even for ReLU, SoftMax etc. cudnn.SpatialConvolution(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH) cudnn.SpatialMaxPooling(kW, kH, dW, dH) cudnn.SpatialAveragePooling(kW, kH, dW, dH) -cudnn.ReLU() -cudnn.Tanh() -cudnn.Sigmoid() +cudnn.ReLU() +cudnn.Tanh() +cudnn.Sigmoid() + +-- SoftMax can be run in fast mode or accurate mode. Default is accurate mode. +cudnn.SoftMax(fastMode [= false]) -- SoftMax across each image (just like nn.SoftMax) +cudnn.SpatialSoftMax(fastMode [= false]) -- SoftMax across feature-maps (per spatial location) ``` I have no time to support these, so please dont expect a quick response to filed github issues. |