3-25Pytorch与张量填充3-26Pytorch与傅里叶变化

在这里插入图片描述
在这里插入图片描述

import torch
a = torch.full((2,3),10)
print(a)
tensor([[10., 10., 10.],
        [10., 10., 10.]])

猜你喜欢

转载自blog.csdn.net/weixin_46815330/article/details/113192697