baseop.py 文件源码

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

项目:tensorflow-yolo 作者: hjimce 项目源码 文件源码
def wrap_pholder(self, ph, feed):
        """wrap layer.h into placeholders"""
        phtype = type(self.lay.h[ph])
        if phtype is not dict: return

        sig = '{}/{}'.format(self.scope, ph)
        val = self.lay.h[ph]

        self.lay.h[ph] = tf.placeholder_with_default(
            val['dfault'], val['shape'], name = sig)
        feed[self.lay.h[ph]] = val['feed']
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号