tensors :需要连接的结构. dim:需要扩充的维度. output:输出的结构. 例子:. import torch. l = []. for i in range(0,3):. x = torch.rand(2,3). l.append(x).
確定! 回上一頁