1.tf.truncated_normal使用方法 tf.truncated_normal(shape, mean=0.0, stddev=1.0, dtype=tf.float32, seed=None, name=None) 从截断的正态分布中输出随机值. 生成的值服从具有指定平均值和标准偏差的正态分布,如果生成的值大于平均值2个标准偏差的值则丢弃重新选择. 在正态分布的曲线中,横轴区间(μ-σ,μ+σ)内的面积为68.268949%. 横轴区间(μ-2σ,μ+2σ)内的面积为95.4499