torch.cos里的参数的元素是角度的值吗?好像对不上
来源:3-12 三角函数

慕工程3141378
2021-05-12
tensor = torch.tensor([90, 90, 90])
cos = torch.cos(tensor) # cos(90)应该是0 结果却是 tensor([-0.4481, -0.4481, -0.4481])
print(topk)
写回答
1回答
-
会写代码的好厨师
2021-05-26
输入弧度值
00
相似问题