While @nemo's solution works fine, there is a pytorch internal routine, torch.nn.functional.pad , that does the same - and which has a ...
確定! 回上一頁