class_docstr: A decorator class to check TFLite compatibility created by `lite.experimental.authoring.compatible`.
class_docstr_tok: ["A","decorator","class","to","check","TFLite","compatibility","created","by","`","lite.experimental.authoring.compatible","`","."]
docstr: Dump location of ConveterError.errors.location.
docstr_tok: ["Dump","location","of","ConveterError.errors.location","."]
code: def _get_location_string(self, location):
      """Dump location of ConveterError.errors.location."""
      callstack = []
      for single_call in reversed(location.call):
          if (
              location.type
              == converter_error_data_pb2.ConverterErrorData.CALLSITELOC
          ):
              callstack.append(
                  f"  - {single_call.source.filename}:{single_call.source.line}"
              )
          else:
              callstack.append(str(single_call))
      callstack_dump = "\n".join(callstack)
      return callstack_dump
  
imports: import functools
  from tensorflow.lite.python import convert
  from tensorflow.lite.python import lite
  from tensorflow.lite.python.metrics import converter_error_data_pb2
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 6 for calling the _Compatible obj's underlying member method code with example usage: obj._get_location_string(location) and returns: callstack_dump