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

github.com/torch/image.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Krasin <imkrasin@gmail.com>2015-06-12 03:18:56 +0300
committerIvan Krasin <imkrasin@gmail.com>2015-06-12 03:18:56 +0300
commitea59f80fd41883ecad10b25175f5fa627020d151 (patch)
tree94e44dbd39293fec6804e2a4c6ad7b1db33f8f7c
parent40ee501b490a9abe0970eff235588f2a4207f8e0 (diff)
Delete unused code
-rw-r--r--test/test_png.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_png.lua b/test/test_png.lua
index 1fc527f..2cf71d3 100644
--- a/test/test_png.lua
+++ b/test/test_png.lua
@@ -1,13 +1,8 @@
require 'image'
-require 'paths'
-
-torch.setdefaulttensortype('torch.DoubleTensor')
-torch.setnumthreads(4)
-- Create an instance of the test framework
local mytester = torch.Tester()
local precision_mean = 1e-3
-local precision_std = 1e-1
local test = {}
function checkPNG(imfile, depth, tensortype, want)