models.py 文件源码

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

项目:tensorflow-fcwta 作者: guoguo12 项目源码 文件源码
def get_dictionary(self, session):
        """Fetch (approximately) the learned code dictionary.

        Args:
          session: TensorFlow session to use.

        Returns:
          The code dictionary, with shape (hidden_units, input_dim).
        """
        fake_input = 1e15 * tf.eye(self.hidden_units)
        return session.run(self._decode_layer(fake_input, reuse=True))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号