TensorFlowInterface.py 文件源码

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

项目:IntroToDeepLearning 作者: robb-brown 项目源码 文件源码
def initialize(self,std=1.0,bias=0.1):
        with tf.variable_scope(self.name):
            self.inputShape = np.product([i.value for i in self.input.get_shape()[1:] if i.value is not None])
            self.W = weightVariable([self.inputShape,self.units],std=std)
            self.b = biasVariable([self.units],bias=bias)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号