From 6a169b4434aaee473421c1e7796178d24d9590a9 Mon Sep 17 00:00:00 2001 From: Nicholas Leonard Date: Thu, 26 Jan 2017 11:11:59 -0500 Subject: [PATCH] ExpandAs local fix --- ExpandAs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()