def call_impl(self): """ Returns: Tuple[tf.Graph, Sequence[str]]: The TensorFlow graph, and the names of its outputs. """ graph = tf_util.load_graph(self.path) return graph, tf_util.get_graph_output_names(graph)
def __call__(self): """ Loads a TensorFlow frozen model. Returns: Tuple[tf.Graph, Sequence[str]]: The TensorFlow graph, and the names of its outputs. """ graph = tf_util.load_graph(self.path) return graph, tf_util.get_graph_output_names(graph)