tf.random_uniform((4, 4), minval=low,maxval=high,dtype=tf.float32)))返回4*4的矩阵,产生于low和high之间,产生的值是均匀分布的. 例如: import tensorflow as tf import numpy as np with tf.Session() as sess: print(sess.run(tf.random_uniform( (, ), minval=-0.5, maxval=0.5,dtype=tf.…