What is the expected image i got from tensor?

i need to plot the images of tensorflow

i tried to implement

> import torch
> import numpy as np
> from matplotlib import pyplot as plt 
> 
> x = torch.load('tensor-pytorch.pt')
> arr = np.ndarray((x))
> arr_ = np.squeeze(arr) 
> plt.imshow(arr_)
> plt.show()

but i got

ValueError: maximum supported dimension for an ndarray is 32, found 100

i tried to change the line to

arr = np.array((np.array(x)))

and got
Figure_1
Does that right ?

can you paste x and shape of x here?