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

github.com/torch/distro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@fb.com>2015-03-23 08:53:30 +0300
committersoumith <soumith@fb.com>2015-03-23 08:53:30 +0300
commit93000d146c44eda9a436db8babeb37aeb9eab99e (patch)
treebd35928dc4b1bf5a95620bc3a730393449528861 /test.sh
parent9c0d22d57f7ac7d21d218258d084a986ff43aac5 (diff)
adding a script to run all tests at once
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100644
index 0000000..d02b839
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,4 @@
+th -ltorch -e "torch.test()"
+th -lnn -e "nn.test()"
+th -lcutorch -e "cutorch.test()"
+th -lcunn -e "nn.testcuda()"