Thank you for your response. I did not expect to reconstruct the exact input, but I expected to obtain something similar. But you are right, it is a concept question which is not confined to pytorch per se.