def METHOD_NAME(self):
    ckpt_path = os.path.dirname(self._tf_file)
    latest_ckpt = tf.train.latest_checkpoint(ckpt_path)
    saver = tf.train.import_meta_graph(latest_ckpt + ".meta")
    with tf.Session() as session:
        session.run(
            [
                tf.global_variables_initializer(),
                tf.local_variables_initializer()
            ]
        )
        saver.restore(session, latest_ckpt)
        graph_def = session.graph.as_graph_def(add_shapes=True)
    frozen_graph = freeze_graph.freeze_graph_with_def_protos(
        input_graph_def=graph_def,
        input_saver_def=None,
        input_checkpoint=latest_ckpt,
        output_node_names=self._outputs,
        restore_op_name="",
        filename_tensor_name="",
        output_graph=None,
        clear_devices=True,
        initializer_nodes=""
    )
    return frozen_graph