You need to enable JavaScript to run this app.
\u200E
中
|
EN
Forum
GitHub
Install
Docs
Models
Products
Customers
3.1
Installation Guide
Guides
API Reference
Contribution Guidelines
3.1 Release Note
English(En)
目录
torch.Tensor.item
paddle.Tensor.item
参数映射
Document
[ paddle 参数更多 ] torch.Tensor.item
[ paddle 参数更多 ] torch.Tensor.item
¶
torch.Tensor.item
¶
torch
.
Tensor
.
item
()
paddle.Tensor.item
¶
paddle
.
Tensor
.
item
(
*
args
)
其中 Paddle 相比 PyTorch 支持更多其他参数,具体如下:
参数映射
¶
PyTorch
PaddlePaddle
备注
-
*args
Tensor 的指定位置,保持默认即可。
开始使用
特性
文档
API
使用指南
工具平台
工具
AutoDL
PaddleHub
PARL
ERNIE
全部
平台
AI Studio
EasyDL
EasyEdge
资源
模型和数据集
学习资料
应用案例