c1 = tf.constant([3])
c2 = tf.constant([[3]]) 这个应该是代表1*1的矩阵,上面那个呢?
c1 = tf.constant([3])
c2 = tf.constant([[3]]) 这个应该是代表1*1的矩阵,上面那个呢?
4 回答4.4k 阅读✓ 已解决
1 回答3.1k 阅读✓ 已解决
4 回答3.8k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
1 回答4.4k 阅读✓ 已解决
1 回答3.9k 阅读✓ 已解决
1 回答2.8k 阅读✓ 已解决
C1是shape=(1, )的一维constant
C2是shape=(1, 1)的二维constant