import tensorflow as tf
a = tf.ones([3, 2])
b = tf.fill([2, 3], 2.)
print(tf.matmul(a, b))
tf中矩阵乘法
最新推荐文章于 2024-07-25 22:30:43 发布
import tensorflow as tf
a = tf.ones([3, 2])
b = tf.fill([2, 3], 2.)
print(tf.matmul(a, b))