akfidjeland/torch-totem — pull request #23 by timharley (2014-08-28 14:04:57+00:00)
Title: This makes assertTensorEq work for ByteTensors

torch.ByteTensor has no abs(). Converting to doubles gives correct behaviour for ByteTensors, but no longer does type checking on the two tensor arguments. Is the intended behaviour of assertTensorEq to check that the types match?

Shouldn't we have tests for the test library?