import tensorflow as tf
A = tf.constant ([[1, 2], [3, 4]])
B = tf.constant ([[5, 6], [7, 8]])
C = tf.matmul (A, B)
print ©
为什么我的运行结果为:
Tensor (“MatMul_9:0”, shape=(2, 2), dtype=int32)
import tensorflow as tf
A = tf.constant ([[1, 2], [3, 4]])
B = tf.constant ([[5, 6], [7, 8]])
C = tf.matmul (A, B)
print ©
为什么我的运行结果为:
Tensor (“MatMul_9:0”, shape=(2, 2), dtype=int32)