Yes, the current code uses a single image, since Image.blend and the transformations won’t take a batch of images. Usually the number of images you would like to visualize isn’t that large, so that it shouldn’t be a problem.
If you are working with CUDA tensors, just push them to the CPU first using tensor = tensor.to('cpu').