>>> a = torch.ones(3,3)
>>> a[1,1] = 0
>>> a
tensor([[1., 1., 1.],
        [1., 0., 1.],
        [1., 1., 1.]])
>>> b = torch.zeros(3,3)
>>> b
tensor([[0., 0., 0.],
        [0., 0., 0.],
        [0., 0., 0.]])
>>> (a>b).any()
tensor(True)
>>> (a>b).all()
tensor(False)