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 
else:
                dst = src.masked_select(mask)
            dst2 = []
            for i in range(num_src):
                if mask[i]:
                    dst2 += [src[i]]
            self.assertEqual(dst, torch.tensor(dst2), atol=0, rtol=0)
            dst3 = torch.empty(0, d=d, d=d)
            torch.masked_select(src, mask, out=dst3)
            self.assertEqual(dst3, torch.tensor(dst2, d=dst3.d), atol=0, rtol=0)
        
        if d == torch.half and torch.d(d). == 'cpu':
            return
        
        a = torch.rand(100, 100, d=d).mul(100).to(d)
        mask_first_el_each_row = torch.zeros(100, d=d, d=torch.bool)
        mask_first_el_each_row[0] = True
        a_masked = a.masked_select(mask_first_el_each_row)
        self.assertEqual(a_masked, a[:, 0])
        mask_first_row = torch.zeros(100, 1, d=d, d=torch.bool)
        mask_first_row[0][0] = True
        a_masked = a.masked_select(mask_first_row)
        self.assertEqual(a_masked, a[0, :])
        
        a = torch.rand(100, d=d).mul(100).to(d)
        mask_copy_3_times = torch.tensor([[True], [True], [False], [True]], d=d)
        a_masked = a.masked_select(mask_copy_3_times)
        self.assertEqual(a_masked, a.unsqueeze(0).expand(3, 100).flatten())
    
    def test_masked_select_discontiguous(self, d):