code: def gcloud_reporter(prefix: str, job_name: str):
      """Returns a reporter implementation that persists metrics in GCloud in jsonl
      format.
  
      NOTE this is almost identical to local_reporter... the only different is the
      strict=False option.
  
      """
      if prefix.endswith("/"):
          prefix = prefix[:-1]
  
      cloud_path = f"{prefix}/{job_name}?strict=False"
      gcsfs = fs.open_fs(cloud_path)
      return FSReporter(gcsfs).stepped()
  
imports: from __future__ import division, print_function
  import getpass
  from typing import Dict, Optional
  import fs
  import tensorflow
  import tensorflow_datasets
  import tqdm
  import uv
  import uv.tensorflow.reporter
  import uv.util
  from absl import app
  from uv.fs.reporter import FSReporter
  from uv.mlflow.reporter import MLFlowReporter
  from trainer import cli
label_desc: Use image node_id 9 for calling a global function with example usage: gcloud_reporter(prefix, job_name) and returns: FSReporter