Spec-Zone.ru › PyTorch 1

torch.is_complex

torch.is_complex(input)

Returns True if the data type of input is a complex data type i.e., one of torch.complex64, and torch.complex128.

Parameters:

input (Tensor) – the input tensor.

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.is_complex.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API