diff options
author | Soumith Chintala <soumith@gmail.com> | 2014-07-10 19:00:28 +0400 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2014-07-10 19:00:28 +0400 |
commit | 7d4971d39e2cf8e7f7069260ad57da298e008a2a (patch) | |
tree | 1ed6e2851a5aecbb8a8b15bc60d44c77f1782041 /test | |
parent | 1625eef2d4448c75711c7a87811b8a9e81a9ac40 (diff) | |
parent | e97a4d8b8e725b029b889a83ed2fed16e689c9e5 (diff) |
Merge pull request #32 from nicholas-leonard/master
rename ElementTable -> SelectTable
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.lua b/test/test.lua index 73426fb..135624d 100644 --- a/test/test.lua +++ b/test/test.lua @@ -1899,7 +1899,7 @@ function nntest.SplitTable() end end -function nntest.ElementTable() +function nntest.SelectTable() local input = { torch.rand(3,4,5), torch.rand(3,4,5), {torch.rand(3,4,5)}, @@ -1927,7 +1927,7 @@ function nntest.ElementTable() local nonIdx = {2,3,4,1} local module for idx = 1,#input do - module = nn.ElementTable(idx) + module = nn.SelectTable(idx) local output = module:forward(input) equal(output, input[idx], "output dimension " .. idx) local gradInput = module:backward(input, gradOutputs[idx]) |