class_docstr: Utility class for writing ProtoBuf like messages.
class_docstr_tok: ["Utility","class","for","writing","ProtoBuf","like","messages","."]
code: def write_field(self, key, val):
      self.write(key + ': "' + val + '"')
  
imports: import functools
  import io
  import itertools
  import operator
  import os
  import re
  import string
  import sys
  import tempfile
  import traceback
  import zipfile
  import numpy
  import tensorflow
  from google.protobuf import text_format
  from tensorflow.lite.testing import _pywrap_string_util
  from tensorflow.lite.testing import generate_examples_report
  from tensorflow.lite.tools import flatbuffer_utils
  from tensorflow.python.framework import convert_to_constants
  from tensorflow.python.saved_model import signature_constants
label_desc: Use image node_id 5 for calling the TextFormatWriter obj's underlying member method code with example usage: obj.write_field(key, val) without return types