code: def get_ground_truth_module_source(
      target_name, command_str, array_strs
  ):
      """Gets the source of a module that will contain the ground truth.
  
      Args:
        target_name: Name of the target.
        command_str: String of the command name used to generate the ground truth
          values.
        array_strs: List of strings that encode the ground truth arrays. See
          `save_ground_truth_part`.
  
      Returns:
        module_source: Source of the module.
      """
      array_str = "\n".join(array_strs)
  
      module_source = r'''# Lint as: python3
  # Copyright 2020 The TensorFlow Probability Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  # ============================================================================
  r"""Ground truth values for `{target_name}`.
  
  Automatically generated using the command:
  
  ```
  {command_str}
  ```
  """
  
  import numpy as np
  
  {array_str}'''.format(
          target_name=target_name,
          array_str=array_str,
          command_str=command_str,
      )
  
      return module_source
  
imports: from inference_gym.internal import array_to_source
label_desc: Use image node_id 4 for calling a global function with example usage: get_ground_truth_module_source(target_name, command_str, array_strs) and returns: module_source