class_docstr: Utility class for writing ProtoBuf like messages.
class_docstr_tok: ["Utility","class","for","writing","ProtoBuf","like","messages","."]
code: def write(self, data):
      self.fp.write(" " * self.indent + data + "\n")
  
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 4 for calling the TextFormatWriter obj's underlying member method code with example usage: obj.write(data) without return types