Visualisation of High dimensional Tensors

Hi … i have a question that how can we visualise tensors of very high dimensions properly for understanding example : 1X20X200 ? Is there a way to do that in pytorch?

hmm, isn’t the tensor you posted essentially just 2 dimensional?

okay yes 20X200 essentially… but is there a way to visualise it in pytorch?

What about this?

import matplotlib.pyplot as plt

tensor2d = your_tensor[0]
plt.imshow(tensor2d)

is there a way to do in pytorch ?

PyTorch doesn’t have an own visualization lib, so you could stick with @jpeg729’s solution.