首页
意见反馈
AI学术青年与开发者社区
登录
{{ nickname }}
研
习
顶会
博客
驿站
课程
论文
直播
资源
交
流
讨论
问答
实
战
竞赛
刷题
职
业
职通车
找实习
...
活动
工具箱
项目
在线文档
数据集
资源下载
交流讨论区
泡泡广场
PyTorch
展开或关闭
torch
torch
nn
torch.nn
torch.nn.functional
torch.nn.init
torch.Tensor
torch.autograd
cuda
torch.cuda
torch.cuda.amp
torch.backends
torch.distributed
torch.distributions
torch.fft
torch.futures
torch.hub
torch.jit
torch.linalg
torch.onnx
torch.optim
torch.random
torch.sparse
torch.Storage
utils
torch.utils.bottleneck
torch.utils.checkpoint
torch.utils.cpp_extension
torch.utils.data
torch.utils.dlpack
torch.utils.mobile_optimizer
torch.utils.model_zoo
torch.utils.tensorboard
Tensor Attributes
Tensor Attributes
Tensor Views
Tensor Views
Complex Numbers
Complex Numbers
Quantization
Quantization
Distributed RPC Framework
Distributed RPC Framework
Type Info
Type Info
Named Tensors
Named Tensors
Named Tensors operator coverage
Named Tensors operator coverage
API
Name
torch / torch
torch.Assert
¶
torch.
Assert
(
condition
,
message
)
[source]
¶
A wrapper around Python’s assert which is symbolically traceable.
此页内容是否对您有帮助
感谢反馈!
下一篇