code: def test_generator_intermediate_outputs_shape(self, batch_size):
      input_data = tf.ones(shape=(batch_size, 8))
      generator = architectures_progressive_gan.create_generator(
          latent_code_dimension=8,
          use_batch_normalization=True,
          upsampling_blocks_num_channels=(8, 8),
          generate_intermediate_outputs=True,
      )
  
      outputs = generator(input_data)
      output_values = self.evaluate(outputs)
  
      self.assertLen(outputs, 3)
      for index, output_value in enumerate(output_values):
          self.assertSequenceEqual(
              output_value.shape,
              (batch_size, 2 ** (index + 2), 2 ** (index + 2), 3),
          )
  
file_path: graphics/tensorflow_graphics/projects/gan/architectures_progressive_gan_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.projects.gan import architectures_progressive_gan
label_desc: Use image node_id 2 for calling the ArchitecturesProgressiveGanTest obj's underlying member method code with example usage: obj.test_generator_intermediate_outputs_shape(batch_size) without return types