code: def testLotsOfNodes(self):
      # The actual sizes in the generated graph has a slight deviation, but are
      # between [90, 100] (tested in testMakeGraphDef with atol=5).
      sizes = [95] * 15
      max_size = 500
      constants.debug_set_max_size(500)
  
      #    Expected Chunks (Max Size = 500)
      #    -----------------------------
      #       Chunk #: Contents
      #    -----------------------------
      #       0: GraphDef  # (nodes [0:5])
      #    -----------------------------
      #       1: GraphDef  # (nodes [5:10])
      #    -----------------------------
      #       2: GraphDef  # (nodes [10:15])
      #    -----------------------------
      graph_def = self._make_graph_def_with_constant_nodes(sizes)
      s = split_graph_def.GraphDefSplitter(self._copy_graph(graph_def))
      chunks, chunked_message = s.split()
      self.assertLen(chunks, 3)
      self._assert_chunk_sizes(chunks, max_size)
      for node, chunk in zip(
          graph_def.node,
          itertools.chain(
              chunks[0].node, chunks[1].node, chunks[2].node
          ),
      ):
          self.assertProtoEquals(node, chunk)
  
      # Check the ChunkedMessage proto.
      self.assertLen(chunked_message.chunked_fields, 2)
      self.assertEqual(
          1, chunked_message.chunked_fields[0].message.chunk_index
      )
      self.assertEqual(
          2, chunked_message.chunked_fields[1].message.chunk_index
      )
      self.assertEmpty(chunked_message.chunked_fields[0].field_tag)
      self.assertEmpty(chunked_message.chunked_fields[1].field_tag)
  
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 7 for calling the GraphDefSplitterTest obj's underlying member method code with example usage: obj.testLotsOfNodes() without return types