-
Notifications
You must be signed in to change notification settings - Fork 0
Install
david-95 edited this page May 25, 2018
·
3 revisions
if you encounter error : Gtk-Message: Failed to load module "canberra-gtk-module" you need command: sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
tf.Variable: what is Variable , it records paramters for tune the model
tf.truncated_normal: tf.random_normal
从正态分布输出随机值。
[python] view plain copy
random_normal(shape,mean=0.0,stddev=1.0,dtype=tf.float32,seed=None,name=None)
shape:一个一维整数张量或Python数组。代表张量的形状。
mean:数据类型为dtype的张量值或Python值。是正态分布的均值。
stddev:数据类型为dtype的张量值或Python值。是正态分布的标准差
dtype: 输出的数据类型。
seed:一个Python整数。是随机种子。
name: 操作的名称(可选)
维度 shape ? mini-batch ?
SkiKit-Learn 适用机器学习,是传统的机器学习
Tensorflow 适用 深度学习,用深度神经网络