code: def testFunctionLotsOfNodes(self):
      sizes = []
      fn1 = [50, 50, 50, 50, 50]
      max_size = 200
      constants.debug_set_max_size(max_size)
  
      graph_def = self._make_graph_def_with_constant_nodes(
          sizes, fn=fn1
      )
      s = split_graph_def.GraphDefSplitter(self._copy_graph(graph_def))
      chunks, chunked_message = s.split()
  
      self.assertLen(chunks, 2)
      self.assertIsInstance(chunks[0], graph_pb2.GraphDef)
      self.assertIsInstance(chunks[1], function_pb2.FunctionDef)
      self._assert_chunk_sizes(chunks, max_size)
  
      for node, chunk in zip(
          graph_def.library.function[0].node_def,
          itertools.chain(
              chunks[0].library.function[0].node_def, chunks[1].node_def
          ),
      ):
          self.assertProtoEquals(node, chunk)
  
      expected_message = chunk_pb2.ChunkedMessage()
      text_format.Parse(
          """
          chunk_index: 0
          chunked_fields {
              field_tag {
                  field: 2
              }
              field_tag {
                  field: 1
              }
              field_tag {
                  index: 0
              }
              message {
                  chunk_index: 1
              }
          }""",
          expected_message,
      )
      self.assertProtoEquals(expected_message, chunked_message)
  
imports: import itertools
  from google.protobuf import message
  from google.protobuf import text_format
  from tensorflow.core.framework import function_pb2
  from tensorflow.core.framework import graph_pb2
  from tensorflow.python.platform import test
  from tensorflow.tools.proto_splitter import chunk_pb2
  from tensorflow.tools.proto_splitter import constants
  from tensorflow.tools.proto_splitter import split_graph_def
  from tensorflow.tools.proto_splitter import util
  from tensorflow.tools.proto_splitter.python import test_util
label_desc: Use image node_id 9 for calling the GraphDefSplitterTest obj's underlying member method code with example usage: obj.testFunctionLotsOfNodes() without return types