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

github.com/torch/cunn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@fb.com>2016-02-19 22:07:32 +0300
committersoumith <soumith@fb.com>2016-02-20 02:36:40 +0300
commitc00281f9435c84d1aed79307470e2e8a378a0ca7 (patch)
tree77c2710611c8e6c8d74446c1d8f678279dab789d /THCUNN.lua
parentc837a7ff03c3c624c3230227b304d48e8b06cb52 (diff)
adding padValue to LookupTable
Diffstat (limited to 'THCUNN.lua')
-rw-r--r--THCUNN.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/THCUNN.lua b/THCUNN.lua
index 073b60f..439a3b4 100644
--- a/THCUNN.lua
+++ b/THCUNN.lua
@@ -150,6 +150,7 @@ TH_API void THNN_CudaLookupTable_accGradParameters(
THCudaTensor *sorted,
THCudaTensor *indices,
bool scaleGradByFreq,
+ int paddingValue,
float scale);
TH_API void THNN_CudaMarginCriterion_updateOutput(