pytorch torch.expand和torch.repeat的区别详解. 2019-11-05 18:07 1836 查看. 1.torch.expand. 函数返回张量在某一个维度扩展之后的张量,就是将张量广播到新形状。
確定! 回上一頁