c1 = tf.constant([3])
c2 = tf.constant([[3]]) 这个应该是代表1*1的矩阵,上面那个呢?
c1 = tf.constant([3])
c2 = tf.constant([[3]]) 这个应该是代表1*1的矩阵,上面那个呢?
2 回答5.1k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
4 回答1k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
1 回答1.7k 阅读✓ 已解决
1 回答1.2k 阅读✓ 已解决
C1是shape=(1, )的一维constant
C2是shape=(1, 1)的二维constant