Today I used the torch.stack() and confuse of the parameter ‘dim’, I have two tensors of 2*3, why the dim range is [-3,2], and when I set the dim is 2, the results as follow:
Thanks a lot
Today I used the torch.stack() and confuse of the parameter ‘dim’, I have two tensors of 2*3, why the dim range is [-3,2], and when I set the dim is 2, the results as follow:
Thanks a lot