Multiverso/binding/lua/demos/xor
Young fd88b2bf9c update lua initial params strategy 2016-07-05 13:33:10 +08:00
..
Makefile [torch/lua] Add xOR demo. 2016-05-30 16:51:08 +08:00
README.md [torch/lua] Add xOR demo. 2016-05-30 16:51:08 +08:00
xor-multiverso.lua update lua initial params strategy 2016-07-05 13:33:10 +08:00
xor.lua [torch/lua] Add xOR demo. 2016-05-30 16:51:08 +08:00

README.md

XOR demo for multiverso.

The train example is referred from https://github.com/torch/nn/blob/master/doc/training.md

There are two versions, where xor.lua is the raw version and xor-multiverso.lua is the multiverso version.

Comments have been add to the every modification in xor-multiverso.lua that is needed to make it run on multiverso.

Run the raw version

make raw

or

th xor.lua

Run the multiverso version

make multiverso

or

th xor-multiverso.lua