import tensorflow as tf

            print_obj(
                "grouped_minibatch_stddev",
                "grouped_image",
                grouped_image
            )

            # Find the mean of each group.
            # shape = (
            #     1,
            #     cur_batch_size / group_size,
            #     image_size,
            #     image_size,
            #     num_channels
            # )
            grouped_mean = tf.reduce_mean(
                input_tensor=grouped_image,
                axis=0,
                keepdims=True,
                name="grouped_mean"
            )
            print_obj(
                "grouped_minibatch_stddev", "grouped_mean", grouped_mean
            )

            # Center each group using the mean.
            # shape = (
            #     group_size,
            #     cur_batch_size / group_size,
