def biasVariable(shape,bias=0.1,name=None):
# create a set of bias nodes initialized with a constant 0.1
name = 'biases' if name is None else name
return tf.get_variable(name,shape,initializer=tf.constant_initializer(bias))
TensorFlowInterface.py 文件源码
python
阅读 31
收藏 0
点赞 0
评论 0
评论列表
文章目录