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 
test_namespace(torch.nn)
            test_namespace(torch.nn.functional, 'assert_int_or_pair')
            # TODO: 
            # test_namespace(torch)
    # FIXME: deprecate torch.Tensor constructor
    def test_tensor_ctor_scalar(self):
        x = torch.Tensor(torch.tensor(1.0))
        self.assertEqual(x, torch.tensor(1.0))
    def test_deepcopy_gradient(self):
        from copy import deepcopy
        a = torch.zeros(10)
        a.grad = torch.ones(10)
        self.assertEqual(a.grad, deepcopy(a).grad)
        s = torch.zeros(10).to_sparse()
        s.grad = torch.ones(10).to_sparse()
        self.assertEqual(s.grad, deepcopy(s).grad)
        # ensure 
        c = deepcopy([a, a.grad])
        self.assertTrue(c[0].grad is c[1])
    def test_tensor_base_init(self):
        # Direct 
        self.assertRaises(RuntimeError, lambda: torch._C._TensorBase())
        # But co
        class T(torch._C._TensorBase):
            pass
        T()
    def test_tensor_base_new(self):
        # OK to 
        # https:
        class TestTensor(torch._C._TensorBase):