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: Calls decorated function object.
  
  Also verifies if the function is compatible with TFLite.
  
  Returns:
    A execution result of the decorated function.
docstr_tok: ["Calls","decorated","function","object",".","Also","verifies","if","the","function","is","compatible","with","TFLite",".","Returns",":","A","execution","result","of","the","decorated","function","."]
code: def __call__(self, *args, **kwargs):  # pylint: disable=g-doc-args
      """Calls decorated function object.
  
      Also verifies if the function is compatible with TFLite.
  
      Returns:
        A execution result of the decorated function.
      """
  
      if not self._verified:
          model = self._get_func()
          concrete_func = model.get_concrete_function(*args, **kwargs)
          converter = lite.TFLiteConverterV2.from_concrete_functions(
              [concrete_func], model
          )
          # Set provided converter parameters
          if self._converter_target_spec is not None:
              converter.target_spec = self._converter_target_spec
          if self._converter_allow_custom_ops is not None:
              converter.allow_custom_ops = (
                  self._converter_allow_custom_ops
              )
          try:
              converter.convert()
          except convert.ConverterError as err:
              self._decode_error(err)
          finally:
              self._verified = True
  
      return self._get_func()(*args, **kwargs)
  
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 4 for calling the _Compatible obj's underlying member method code with example usage: obj.__call__() and returns: self