摘要:
import tensorflow as tf matrix1 = tf.constant([[3, 20]]) matrix2 = tf.constant([[6], [100]]) product = tf.matmul(matrix1, matrix2) # method 1,常规方法 sess = tf.Session... 阅读全文
posted @ 2018-01-22 15:29
一个处女座的程序猿
阅读(423)
评论(0)
推荐(0)
摘要:
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf import numpy as np x_data = np.random.rand(100).astype(np.float32) y_data = x_data*0.1 + 0.3 Weig... 阅读全文
posted @ 2018-01-22 15:07
一个处女座的程序猿
阅读(191)
评论(0)
推荐(0)

浙公网安备 33010602011771号