关于tensorflow的学习
import tensorflow as tf
import numpy as np
x = tf.placeholder(tf.int32,shape=(3,3))
y = tf.matmul(x,x)
#z = tf.reduce_sum(y,1)
with tf.Session() as sess:
rand_array = np.array([[1,2,3],[4,5,6],[7
原创
2018-01-17 21:07:28 ·
106 阅读 ·
0 评论