code: def assertGraphDefToModel(self, expected_proto, model):
      model_config = json.loads(model.to_json())
  
      self.assertProtoEquals(
          expected_proto,
          keras_util.keras_model_to_graph_def(model_config),
      )
  
file_path: tensorboard/tensorboard/plugins/graph/keras_util_test.py
imports: import json
  import tensorflow
  from tensorboard.plugins.graph import keras_util
label_desc: Use image node_id 1 for calling the KerasUtilTest obj's underlying member method code with example usage: obj.assertGraphDefToModel(expected_proto, model) without return types