exp函数
第一種是tensor用exp函數
th> a
1 1 0
[torch.DoubleTensor of size 1x3]
[0.0002s]
th> a:exp()
2.7183 2.7183 1.0000
[torch.DoubleTensor of size 1x3]
th> a=1
[0.0001s]
th> b=math.exp(a)
[0.0001s]
th> b
2.718281828459
[0.0001s]
th> a=3
[0.0001s]
th> b=math.exp(a)
[0.0001s]
th> b
20.085536923188
總結
- 上一篇: 12v60ah锂电池组装图_什么是自放电
- 下一篇: 三菱fx3uplc恢复出厂设置_三菱fx