I assume that the resize_ operation fails in:
current_tensor.resize_

and creates an interleaved tensor.
Print the shape of current_tensor before applying this operation and make sure that you permute the dimensions properly before resizing the tensor.