model_session.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:mnist_LeNet 作者: LuxxxLucy 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号