code: def testFunctionLargeNodes(self):
      sizes = []
      fn1 = [500, 500, 50, 500]
      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, _ = s.split()
  
      self.assertLen(chunks, 4)
      self._assert_chunk_sizes(chunks, max_size)
      self.assertIsInstance(chunks[0], graph_pb2.GraphDef)
  
      def get_const_value(index):
          node_def = graph_def.library.function[0].node_def[index]
          return node_def.attr["value"].tensor.tensor_content
  
      expected_values = [
          get_const_value(0),
          get_const_value(1),
          get_const_value(3),
      ]
      for expected, chunk in zip(expected_values, chunks[1:]):
          self.assertEqual(expected, chunk)
  
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 10 for calling the GraphDefSplitterTest obj's underlying member method code with example usage: obj.testFunctionLargeNodes() and returns: node_def