torch.utils.jit
- torch.utils.dlpack
torch.utils.mobile_optimizer
torch.utils.model_zoo
- 形状
torch.utils.tensorboard
torch.utils.module_tracker
- 返回
torch.__config__
- 返回类型
无
示例
>>> m = nn.Softmax2d() >>> # you softmax over the 2nd dimension >>> input = torch.randn(2, 3, 12, 13) >>> output = m(input)