Home
last modified time | relevance | path

Searched refs:to_complex (Results 1 – 4 of 4) sorted by relevance

/external/pytorch/test/
Dtest_type_info.py52 dtype.to_complex()
127 ref_cnt = {sys.getrefcount(torch.float32.to_complex()) for _ in range(10)}
130 self.assertEqual(torch.float64.to_complex(), torch.complex128)
131 self.assertEqual(torch.float32.to_complex(), torch.complex64)
132 self.assertEqual(torch.float16.to_complex(), torch.complex32)
/external/python/cpython3/Objects/
Dcomplexobject.c457 else if (to_complex(&(obj), &(c)) < 0) \
461 to_complex(PyObject **pobj, Py_complex *pc) in to_complex() function
/external/pytorch/torch/csrc/autograd/
DFunctionsManual.cpp3823 const auto to_complex = [](const Tensor& A) { in linalg_eig_jvp() local
3829 : at::linalg_solve(V, at::matmul(to_complex(dA), V)); in linalg_eig_jvp()
/external/pytorch/torch/_C/
D__init__.pyi.in174 def to_complex(self) -> dtype: ...