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 
dst = torch.tensor([True, False, True], d=d)
        mask = torch.tensor([False, True, False], d=d)
        dst.masked_fill_(mask, True)
        self.assertEqual(dst, torch.tensor([True, True, True], d=d))
        dst = dst.masked_fill(mask, False)
        self.assertEqual(dst, torch.tensor([True, False, True], d=d))
    def test_tensor_shape_empty(self, d):
        x = torch.randn((0, 1, 3, 0), d=d)
        
        self.assertEqual((0,), torch.flatten(x, 0, 3).shape)
        self.assertEqual((0, 0), torch.flatten(x, 0, 2).shape)
        self.assertEqual((0, 3, 0), torch.flatten(x, 1, 2).shape)
        
        self.assertEqual((0, 1, 1, 3, 0), torch.unsqueeze(x, 1).shape)
        self.assertEqual((0, 3, 0), torch.squeeze(x, 1).shape)
        self.assertEqual((0, 3, 0), torch.squeeze(x).shape)
        
        self.assertEqual((0, 0, 3, 1), torch.transpose(x, 1, 3).shape)
        y = torch.randn((5, 0), d=d)
        self.assertEqual((0, 5), y.t().shape)
        
        self.assertEqual((0, 1, 0), torch.select(x, 2, 2).shape)
        
        self.assertEqual((9, 0, 5, 6, 0), x.repeat(9, 7, 5, 2, 3).shape)
        self.assertEqual((3, 0, 0, 1), x.permute(2, 3, 0, 1).shape)
        
        self.assertEqual((0,), torch.diagonal(torch.randn((5, 0), d=d)).shape)
        self.assertEqual((0,), torch.diagonal(torch.randn((0, 5), d=d)).shape)