YouTip LogoYouTip

Pytorch Torch Is_Conj

# PyTorch torch.is_conj Function * * Pytorch torch Reference Manual](#) `torch.is_conj` is a function in PyTorch used to check if a tensor is a conjugate tensor. ### Function Definition torch.is_conj(input) * * * ## Usage Example ## Example import torch x = torch.tensor([1+2j,3+4j]) print(torch.is_conj(x)) # Create conjugate tensor y = torch.conj(x) print(torch.is_conj(y)) * * Pytorch torch Reference Manual](#)
← Pytorch Torch Is_Floating_PoinPytorch Torch Is_Available β†’