TensorFlow的tf.random_uniform()函数的用法

tf.random_uniform((6, 6), minval=low,maxval=high,dtype=tf.float32)))返回6*6的矩阵,产生于low和high之间,产生的值是均匀分布的。 import tensorflow as tf with tf.Session() as sess: print(sess.run(tf.random_uniform(
相关文章
相关标签/搜索