YouTip LogoYouTip

Pytorch Torch Acosh

# PyTorch torch.acosh Function * * Pytorch torch Reference Manual](#) `torch.acosh` is a function in PyTorch used to compute the element-wise inverse hyperbolic cosine. ### Function Definition torch.acosh(input, out=None) * * * ## Usage Examples ## Example ```python import torch # Create a tensor greater than or equal to 1 x = torch.tensor([1.0, 1.5, 2.0, 3.0]) # Compute inverse hyperbolic cosine result = torch.acosh(x) print(result) The output result is: tensor([0.0000, 0.9624, 1.3170, 1.7627]) * * Pytorch torch Reference Manual](#)
← Pytorch Torch AddbmmPytorch Torch Absolute β†’