diff options
author | Nicolas Vasilache <nicolasvasilache@users.noreply.github.com> | 2016-12-10 04:07:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-10 04:07:08 +0300 |
commit | 5a1b9c88b338b09fec3649205f4f0fb63921db8e (patch) | |
tree | dface19062eda3fe5d2979fd352ce4cd93221532 | |
parent | 3e652e371b0abe8dc5c415a601d77b6ef8643cf5 (diff) |
Update init.lua
In order to use cunn in terra we must not have 'undeclared' variables.
Note the cunn table is initialized by:
```cunn = cunn or {}
```
... in test.lua
-rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,5 @@ +cunn = nil + require "cutorch" require "nn" require "cunn.THCUNN" |