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(
相關文章
相關標籤/搜索