code: def _get_batch_norm_vars(imported):
      """Returns the 4 variables of an imported batch norm model in sorted order."""
      expected_suffixes = [
          "beta",
          "gamma",
          "moving_mean",
          "moving_variance",
      ]
      variables = sorted(imported.variables, key=lambda v: v.name)
      names = [v.name for v in variables]
      assert len(variables) == 4
      assert all(
          name.endswith(suffix + ":0")
          for name, suffix in zip(names, expected_suffixes)
      )
      return variables
  
imports: import json
  import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_hub
label_desc: Use image node_id 7 for calling a global function with example usage: _get_batch_norm_vars(imported) and returns: variables