code: def split_large_constant(path: str, export_files: Sequence[str]):
      """GraphDef with large constant nodes."""
      #    Expected Chunks (Max Size = 500)
      #    -----------------------------
      #       Chunk #: Contents
      #    -----------------------------
      #       0: GraphDef
      #    -----------------------------
      #       1: GraphDef.nodes[2].attr["value"].tensor.tensor_content
      #    -----------------------------
      #       2: GraphDef.nodes[4].attr["value"].tensor.tensor_content
      #    -----------------------------
      graph_def = test_util.make_graph_def_with_constant_nodes(
          LARGE_CONSTANT_SIZES
      )
      _split_and_write(path, graph_def, 500, export_files)
  
file_path: tensorflow-upstream/tensorflow/tools/proto_splitter/testdata/split_graph_def_gen.py
imports: from collections.abc import Sequence
  import os
  from absl import app
  from absl import flags
  from absl import logging
  from tensorflow.core.framework import graph_pb2
  from tensorflow.python.lib.io import file_io
  from tensorflow.tools.proto_splitter import constants
  from tensorflow.tools.proto_splitter import split_graph_def
  from tensorflow.tools.proto_splitter.python import test_util
label_desc: Use image node_id 4 for calling a global function with example usage: split_large_constant(path, export_files) without return types