first = torch.ones(2, 2) first # Output: # tensor([[1., 1.] ... concatenate and the second argument is the dimension on which to append them.
確定! 回上一頁