def setupOutput(self):
inputShape = self.input.get_shape()
convResult = conv3d(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:4].as_list() + [self.units])
TensorFlowInterface.py 文件源码
python
阅读 34
收藏 0
点赞 0
评论 0
评论列表
文章目录