对于N 维填充,请使用torch.nn.functional.pad() 。 padding(int ,tuple)–填充的大小。 ... https://pytorch.org/docs/1.8.0/generated/torch.nn.
確定! 回上一頁