torch.Tensor.expand. Tensor. expand (*sizes) → Tensor. Returns a new view of the self tensor with singleton dimensions expanded to a larger size.
確定! 回上一頁