YouTip LogoYouTip

Pytorch Torch Arcsinh

# PyTorch torch.arcsinh Function * * * [![Image 3: Pytorch torch Reference Manual]( Pytorch torch Reference Manual]( `torch.arcsinh` is a function in PyTorch used to compute the element-wise inverse hyperbolic sine, which has the same functionality as `torch.asinh`. ### Function Definition torch.arcsinh(input, out=None) * * * ## Usage Example ## Example import torch # Create tensor x = torch.tensor([-3.0, -1.0,0.0,1.0,3.0]) # Compute inverse hyperbolic sine result = torch.arcsinh(x) print(result) Output: tensor([-1.8184, -0.8814, 0.0000, 0.8814, 1.8184]) * * * [![Image 4: Pytorch torch Reference Manual]( Pytorch torch Reference Manual](
← Pytorch Torch Arctan2Pytorch Torch Arccosh β†’