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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'DontCast.lua')
-rw-r--r--DontCast.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/DontCast.lua b/DontCast.lua
index b89f543..eaa39b6 100644
--- a/DontCast.lua
+++ b/DontCast.lua
@@ -19,7 +19,7 @@ local function recursiveTypeCopy(dst, src, type_str)
end
local function tableTensorType(src)
- if type(src) == 'table' then
+ if type(src) == 'table' then -- Note: don't use torch.type here
local type_str, found
for k,v in pairs(src) do
type_str, found = tableTensorType(v)