code: def test_increment_global_step(
      self,
      use_parameter_scaled_training,
      train_steps,
      maximum_depth,
      architecture,
      expected,
  ):
      # Force graph mode
      with tf.compat.v1.Graph().as_default():
          with self.test_session(graph=tf.Graph()) as sess:
              tower_name = "tower"
              if architecture is not None:
                  architecture_utils.set_architecture(
                      architecture, tower_name=tower_name
                  )
              spec = self._create_phoenix_spec(problem_type="cnn")
              spec.maximum_depth = maximum_depth
              spec.use_parameter_scaled_training = (
                  use_parameter_scaled_training
              )
              instance = phoenix.Phoenix(
                  phoenix_spec=spec,
                  input_layer_fn=lambda: None,
                  logits_dimension=0,
                  study_name="test",
                  study_owner="test",
              )
              global_step = (
                  tf.compat.v1.train.get_or_create_global_step()
              )
              sess.run(tf.compat.v1.global_variables_initializer())
              sess.run(tf.compat.v1.local_variables_initializer())
              before = sess.run(global_step)
  
              op = instance._increment_global_step(
                  train_op=tf.no_op(),
                  train_steps=train_steps,
                  tower_name=tower_name,
              )
              sess.run(op)
              after = sess.run(global_step)
  
              self.assertEqual(before, 0)
              self.assertEqual(after, expected)
  
imports: import os
  from absl import flags
  from absl.testing import parameterized
  from model_search import hparam
  from model_search import loss_fns
  from model_search import phoenix
  from model_search.architecture import architecture_utils
  from model_search.metadata import mock_metadata
  from model_search.proto import phoenix_spec_pb2
  import numpy
  import tensorflow.compat.v2
  from google.protobuf import text_format
label_desc: Use image node_id 7 for calling the PhoenixTest obj's underlying member method code with example usage: obj.test_increment_global_step(use_parameter_scaled_training, train_steps, maximum_depth, architecture, expected) without return types