Skip to content

Commit

Permalink
fix MaskZero unit test name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Leonard committed Feb 20, 2017
1 parent f911b83 commit ef98a97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4188,7 +4188,7 @@ local function firstElement(a)
return torch.type(a) == 'table' and a[1] or a
end

function rnntest.MaskZero()
function rnntest.MaskZero_main()
local recurrents = {['recurrent'] = recurrentModule(), ['lstm'] = lstmModule()}
-- Note we use lstmModule input signature and firstElement to prevent duplicate code
for name, recurrent in pairs(recurrents) do
Expand Down Expand Up @@ -4290,7 +4290,7 @@ function rnntest.MaskZero()
end
end

function rnntest.TrimZero()
function rnntest.TrimZero_main()
local recurrents = {['recurrent'] = recurrentModule(), ['lstm'] = lstmModule()}
-- Note we use lstmModule input signature and firstElement to prevent duplicate code
for name, recurrent in pairs(recurrents) do
Expand Down

0 comments on commit ef98a97

Please sign in to comment.