•
pytorch-doc-2.5中文文档
首页
/
pytorch文档
/
torch.Tensor.squeeze_
torch.Tensor.squeeze_
张量。
squeeze_
(
dim
=
None
)
→
张量
squeeze()
的 inplace 版本
本页目录