import tensorflow as tf
a = tf.ones([3, 2])
b = tf.fill([2, 3], 2.)
print(tf.matmul(a, b))
tf中矩阵乘法
最新推荐文章于 2024-04-28 18:05:44 发布
import tensorflow as tf
a = tf.ones([3, 2])
b = tf.fill([2, 3], 2.)
print(tf.matmul(a, b))