def restore_from_checkpoint(sess, input_checkpoint):
saver = tf.train.import_meta_graph('<STR_LIT>'.format(input_checkpoint))<EOL>saver.restore(sess, input_checkpoint)<EOL>return saver<EOL>
Return a TensorFlow saver from a checkpoint containing the metagraph.