Also, your code looks like target['a'] is actually a list of tensors. It would need to be a tensor for you to call PyTorch methods.
確定! 回上一頁