tensorflow入門:張量(下)

tf.random.normal() tf.random.normal()函數能創建隨機數張量,其數值呈正態分佈,括號內的屬性爲(shape, mean, stddev, dtype),shape爲張量的形狀,mean爲平均值,stddev爲標準差,dtype爲數值類型。 tf.random.truncated_normal() tf.random.truncated_normal()函數能創建截
相關文章
相關標籤/搜索