《TensorFlow 实战》第五章源码 5.2 源代码中权重函数中初始化函数 tf.truncated_normal(shape, stddev=0.1) 中 stddev 的重要性
《TensorFlow 实战》黄文坚 黄源著
源码地址:https://github.com/sundaygeek/tensorflow-in-action/blob/master/5_2_CNN_MNIST.py
def weight_variable(shape):
initial = tf.truncated_normal(shape, stddev=0.1)
return ...
原创
2019-01-09 15:21:40 ·
6134 阅读 ·
3 评论