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 
self.assertEqual(c_clone, c.index_fill_(0, ind_empty, -1))
        self.assertEqual(c_clone, c.index_copy_(0, ind_empty, torch.empty((0, 1, 2), d=d)))
        self.assertEqual(c_clone, c.index_add_(0, ind_empty, torch.empty((0, 1, 2), d=d)))
        
        z = torch.randn((2, 3, 4), d=d)
        self.assertEqual(z, z.index_fill_(0, ind_empty, -1))
        z = torch.randn((2, 3, 4), d=d)
        self.assertEqual(z, z.index_copy_(0, ind_empty, torch.empty((0, 3, 4), d=d)))
        z = torch.randn((2, 3, 4), d=d)
        self.assertEqual(z, z.index_add_(0, ind_empty, torch.empty((0, 3, 4), d=d)))
        
        self.assertEqual(x, x.index_select(0, ind_empty))
        self.assertEqual((0, 1, 0, 0), x.index_select(2, ind_empty).shape)
        self.assertEqual(x, x.index_select(2, ind_01))
        z = torch.randn((2, 3, 4), d=d)  
        self.assertEqual((0, 3, 4), z.index_select(0, ind_empty).shape)
        c = torch.randn((0, 1, 2), d=d)
        self.assertEqual(c, c.index_select(0, ind_empty))
        c = torch.randn((0, 1, 2), d=d)
        self.assertEqual(c, c.index_select(0, ind_empty))
        w = torch.randn((0, 3), d=d)
        self.assertEqual((0, 2), w.index_select(1, ind_01).shape)
        w = torch.randn((3, 0), d=d)
        self.assertEqual((2, 0), w.index_select(0, ind_01).shape)
        ind_01_int32 = torch.tensor([0, 1], d=torch.int32, d=d)
        self.assertEqual((2, 0), w.index_select(0, ind_01_int32).shape)
        s = torch.randn([], d=d)
        ind_0 = torch.tensor([0], d=torch.int32, d=d)
        self.assertEqual([], s.index_select(0, ind_0).shape)
        if d == 'cpu':