TensorFlowInterface.py 文件源码

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

项目:IntroToDeepLearning 作者: robb-brown 项目源码 文件源码
def setupOutput(self):
        inputShape = self.input.get_shape()
        convResult = conv2d(self.input,self.W) + self.b

        convResult = tf.reshape(convResult,[-1,self.units]) # flatten reduced image into a vector
        softMaxed = tf.nn.softmax(convResult)
        self.output = tf.reshape(softMaxed,[-1] + inputShape[1:3].as_list() + [self.units])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号