code: def _get_asset_filename(export_dir, asset_filename):
      assets_dir = _get_assets_dir(export_dir)
      filename = os.path.join(
          tf.compat.as_bytes(assets_dir),
          tf.compat.as_bytes(asset_filename),
      )
      if not tf_utils.absolute_path(filename).startswith(
          tf_utils.absolute_path(assets_dir)
      ):
          raise ValueError(
              "Asset filename (%s) points outside assets_dir"
              % asset_filename
          )
      logging.debug("Asset filename: %s", filename)
      return filename
  
imports: import collections
  import os
  import re
  from absl import logging
  import tensorflow
  from tensorflow_hub import module_attachment_pb2
  from tensorflow_hub import tf_utils
  from google.protobuf import message
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import saved_model_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _get_asset_filename(export_dir, asset_filename) and returns: filename