def METHOD_NAME(self):
    a = ht.array([1.0, 1.0j, 1 + 1j, -2 + 2j, 3 - 3j])
    absolute = ht.absolute(a)
    res = torch.abs(a.larray)
    self.assertIs(absolute.device, self.device)
    self.assertIs(absolute.dtype, ht.float)
    self.assertEqual(absolute.shape, (5,))
    self.assertTrue(torch.equal(absolute.larray, res))
    a = ht.array([1.0, 1.0j, 1 + 1j, -2 + 2j, 3 - 3j], split=0)
    absolute = ht.absolute(a)
    res = torch.abs(a.larray)
    self.assertIs(absolute.device, self.device)
    self.assertIs(absolute.dtype, ht.float)
    self.assertEqual(absolute.shape, (5,))
    self.assertTrue(torch.equal(absolute.larray, res))
    a = ht.array(
        [[1.0, 1.0j], [1 + 1j, -2 + 2j], [3 - 3j, -4 - 4j]], split=1, dtype=ht.complex128
    )
    absolute = ht.absolute(a)
    res = torch.abs(a.larray)
    self.assertIs(absolute.device, self.device)
    self.assertIs(absolute.dtype, ht.double)
    self.assertEqual(absolute.shape, (3, 2))
    self.assertTrue(torch.equal(absolute.larray, res))