How to separate Images from GAN generated images in pytorch?

I am using the following code in pytorch (

This images has 16*12 = 192 images. I need to separate these images so that I can get 192 individual images and save this image in a folder. How can I do that? Thanks in advanced.

You can use whatever image processing library you like to do the splits. Here is the first SO answer I saw when I googled for it:

@ezyang Thank you so much.