def __init__(self, session, saver, args):
"""
Create a model session.
Do not call this constructor directly. To instantiate a ModelSession object, use the create and restore class
methods.
:param session: the session in which this model is running
:type session: tf.Session
:param saver: object used to serialize this session
:type saver: tf.Saver
"""
self.session, self.saver, self.args = session, saver, args
评论列表
文章目录