core.py 文件源码

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

项目:muffnn 作者: civisanalytics 项目源码 文件源码
def _build_tf_graph(self):
        """Build the TF graph, setup model saving and setup a TF session.

        Notes
        -----
        This method initializes a TF Saver and a TF Session via

            ```python
            self._saver = tf.train.Saver()
            self._session = tf.Session()
These calls are made after `self._set_up_graph()`` is called.

    See the main class docs for how to properly call this method from a
    child class.
    """
    self._set_up_graph()
    self._saver = tf.train.Saver()
    self._session = tf.Session()

```

评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号