Platforms: linux

This test was disabled because it is failing on master ([recent examples](http://torch-ci.com/failure/test_torch.py%3A%3ATestTorch%3A%3Atest_equal)).

The cause seems to point to https://github.com/pytorch/pytorch/pull/100024 (or D45282119 as it was landed internally)

cc @mruberry @houseroad @ezyang 
def test_ops(op, string_of_function_name, expected_output1, expected_output2):
            x = torch.rand(100, 100, d=d)
            out1 = op(x, 1)
            res2 = torch.empty(0, d=d)
            indices2 = torch.empty(0, d=torch.int64, d=d)
            op(x, 1, out=(res2, indices2))
            self.assertEqual(out1[0], res2)
            self.assertEqual(out1[1], indices2)
            a = torch.tensor([[True, False, True],
                              [False, False, False],
                              [True, True, True]], d=torch.bool, d=d)
            b = a.byte()
            aRes = op(a, 0)
            bRes = op(b, 0)
            self.assertEqual(aRes[0], bRes[0].bool())
            self.assertEqual(aRes[0], expected_output1.bool())
            
            x = torch.tensor([4, inf, 1.5, -inf, 0, nan, 1])
            xRes = op(x, 0)[0]
            self.assertEqual(xRes, expected_output2)
            
            
            t = torch.randn(10)
            values = torch.empty(0, d=torch.int16)
            indices = torch.empty(0, d=torch.int64)
            with self.assertRaisesRegex(
                    RuntimeError,
                    'expected scalar_ Float but found Short'):
                op(t, 0, out=(values, indices))