parameters: (self)
return_statement: return self._converted_graph_def
docstring: Run the TF-TRT conversion.
  
      Returns:
        The converted GraphDef for TF 1.x.
docstring_summary: Run the TF-TRT conversion.
docstring_tokens: Run the TF - TRT conversion .
function: def convert(self):
      """Run the TF-TRT conversion.
  
      Returns:
        The converted GraphDef for TF 1.x.
      """
      assert not self._converted
      if self._input_graph_def:
        self._convert_graph_def()
      else:
        self._convert_saved_model()
      return self._converted_graph_def
function_tokens: def convert ( self ) : assert not self . _converted if self . _input_graph_def : self . _convert_graph_def ( ) else : self . _convert_saved_model ( ) return self . _converted_graph_def