深入浅出Pytorch函数——torch.exp
分类目录:《深入浅出Pytorch函数》总目录
相关文章:
· 深入浅出TensorFlow2函数——tf.exp
· 深入浅出TensorFlow2函数——tf.math.exp
· 深入浅出Pytorch函数——torch.exp
· 深入浅出PaddlePaddle函数——paddle.exp
对输入input
逐元素进行以自然数 e e e为底指数运算。
语法
torch.exp(input, *, out=None) → Tensor
参数
input
:[Tensor
] 输入的向量。out
:[可选,Tensor
] 输出的向量。
返回值
与x
维度相同、数据类型相同的Tensor
。
实例
import paddle>>> torch.exp(torch.tensor([0, math.log(2.)]))
tensor([ 1., 2.])
深入浅出Pytorch函数——torch.exp相关推荐
- 深入浅出Pytorch函数——torch.zeros
分类目录:<深入浅出Pytorch函数>总目录 相关文章: · 深入浅出Pytorch函数--torch.Tensor · 深入浅出Pytorch函数--torch.ones · 深入浅出 ...
- 深入浅出Pytorch函数——torch.arange
分类目录:<深入浅出Pytorch函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.range · 深入浅出Pytorch函数--torch.arange · 深入 ...
- 深入浅出Pytorch函数——torch.zeros_like
分类目录:<深入浅出Pytorch函数>总目录 相关文章: · 深入浅出Pytorch函数--torch.Tensor · 深入浅出Pytorch函数--torch.ones · 深入浅出 ...
- 深入浅出Pytorch函数——torch.numel
分类目录:<深入浅出Pytorch函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.size · 深入浅出Pytorch函数--torch.numel · 深入浅出 ...
- 深入浅出PaddlePaddle函数——paddle.Tensor
分类目录:<深入浅出PaddlePaddle函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.Tensor · 深入浅出Pytorch函数--torch.Tenso ...
- 深入浅出TensorFlow2函数——tf.constant
分类目录:<深入浅出TensorFlow2函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.constant · 深入浅出TensorFlow2函数--tf.Ten ...
- 深入浅出PaddlePaddle函数——paddle.arange
分类目录:<深入浅出PaddlePaddle函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.range · 深入浅出Pytorch函数--torch.arange ...
- 深入浅出PaddlePaddle函数——paddle.numel
分类目录:<深入浅出PaddlePaddle函数>总目录 相关文章: · 深入浅出TensorFlow2函数--tf.size · 深入浅出Pytorch函数--torch.numel · ...
- 【Pytorch】torch.argmax 函数详解
文章目录 一.一个参数时的 torch.argmax 函数 1. 介绍 2. 实例 二.多个参数时的 torch.argmax 函数 1. 介绍 2. 实例 实例1:二维矩阵 实例2:三维矩阵 实例3 ...
最新文章
- 笔记本电脑的有线和无线网络同时使用,如何设置?
- Linux Shell脚本编程学习笔记和实战
- 怎样在photoshop中快速批量,修改图片
- [网络安全自学篇] 九十二.《Windows黑客编程技术详解》之病毒启动技术创建进程API、突破SESSION0隔离、内存加载详解(3)
- ubuntu下cmake安装
- java实现excel、word在线预览
- Soui Button学习一
- 使用wps的邮件合并和文档附件制作带照片的准考证
- 设置笔记本为无线wifi发射器
- Apk脱壳圣战之---脱掉“爱加密”家的壳
- 第五章:用Python分析商品退单数据并找出异常商品
- 【数据库系统概论】基础知识总结
- RFID技术是怎么构成的,主要分为哪几部分?
- 机载LIDAR技术及其应用
- YYDS!使用 Python 全面分析股票数据特征
- Liferay自定义主题
- Pippo java微服务,轻量级web开发框架,原来Filter还能这么玩
- 清除html标签+清除html标签,字符串截取
- 10 Python Matplotlib 绘制极坐标图和散点图
- ThinkPHP3.1在PHP7下页面空白的解决方案