data seems to be a numpy array, not a list, since type(data) returns numpy.ndarray and also data.shape seems to work, while it was raising an error before, so apparently something in the code has changed.
Anyway, tmp seems to have varying shapes, so you won’t be able to reshape it to e.g. a tensor with the shape [2048, 2048, 3], but would need to interpolate, slice, etc. the tensors somehow.
Could you explain your use case a bit, i.e. why would you need to reshape all tensors to a particular shape and how this reshaping should be done, if the number of elements doesn’t match?
PS: you can post code snippets by wrapping them into three backticks ```, which makes debugging easier.