YouTip LogoYouTip

Pytorch Torch Asin

# Create Tensor x = torch.tensor([-1.0, -0.5,0.0,0.5,1.0]) # Compute Arcsine result = torch.asin(x) print(result)

The output result is:

tensor([-1.5708, -0.5236, 0.0000, 0.5236, 1.5708])

Image 4: Pytorch torch Reference Manual Pytorch torch Reference Manual

← Pytorch Torch AtanPytorch Torch As_Tensor β†’