PyTorch torch.sinh 関数


Pytorch torch 参考手册Pytorch torch リファレンスマニュアル

torch.sinhPyTorch で要素ごとの双曲線正弦を計算する関数です。

関数定義

torch.sinh(input, out=None)

使用例

例

import torch

# 双曲線正弦を計算
x = torch.tensor([-1.0, 0.0, 1.0])
result = torch.sinh(x)
print(result)

Pytorch torch 参考手册Pytorch torch リファレンスマニュアル

その他の拡張