diff --git a/ExpandAs.lua b/ExpandAs.lua index 6098b35..bfbfbc1 100644 --- a/ExpandAs.lua +++ b/ExpandAs.lua @@ -1,4 +1,4 @@ -ExpandAs, parent = torch.class('nn.ExpandAs', 'nn.Module') +local ExpandAs, parent = torch.class('nn.ExpandAs', 'nn.Module') -- expands the second input to match the first function ExpandAs:__init()