Merge branch 'logical' into newpack

Conflicts:
	pkg/torch/TensorMathWrap.lua
This commit is contained in:
Ronan Collobert
2012-02-03 10:12:30 +01:00
parent 477587f566
commit fc16a68f48
8 changed files with 282 additions and 2 deletions

View File

@ -30,7 +30,13 @@ for _,tensortype in ipairs({'ByteTensor',
'ceil',
'floor',
'abs',
'sign'
'sign',
'lt',
'gt',
'le',
'ge',
'eq',
'ne'
}) do
local torchfunc = torch[tensortype].torch[func]