I see I should explain. I want just the encoder part so I want to output of the maxpooling layer only. So would what I have run the image through the encoder part and output the maxpooling layer part. From printing the output I think that is what is happening.
Thank you again.