Hi Ptrblck
I want to save data as mat file in the pytorch which command is the right one.  I can load mat  file but now I need to save my tensor or numpy array as mat file.
I used this one >>> scipy.io.savemat(‘images1.mat’, images1.numpy())
images1 are my input patches. but it dose not work.
I appreciate your reply.