Created
May 11, 2015 16:33
-
-
Save daviddoria/0484bedfeb4117c17510 to your computer and use it in GitHub Desktop.
Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
-- This script demonstrates how to define a couple of different | |
-- models: | |
-- + 2-layer neural network (MLP) | |
-- | |
---------------------------------------------------------------------- | |
require 'torch' -- torch | |
require 'nn' -- provides all sorts of trainable modules/layers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
-- This script demonstrates how to define a couple of different | |
-- models: | |
-- + 2-layer neural network (MLP) | |
-- | |
---------------------------------------------------------------------- | |
require 'torch' -- torch | |
require 'nn' -- provides all sorts of trainable modules/layers | |
---------------------------------------------------------------------- | |
-- parse command line arguments | |
--if not opt then | |
-- print '==> processing options' | |
-- cmd = torch.CmdLine() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment