Hey guys, so I am trying to create a PyTorch type of list for a few tensors of different sizes but same dimensions; e.g.,
A = torch.randn(3,3)
B = torch.randn(5,5)
So I need to create a PyTorch type object like [A, B], for the purpose of vectorized calculation (matrix multiplication, matrix inverse, …) happened later on (to each element in the list; i.e., A,B,...). How should I do this?
Further to this, is it possible to do this for a list of tensors of different dimensions?