mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-22 14:15:01 +08:00
Merge branch 'logical' into newpack
Conflicts: pkg/torch/TensorMathWrap.lua
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user