What is supported by broadcasting in tensorflow? How dimensions matches determined?
问题 I raised an issue in github at: https://github.com/tensorflow/tensorflow/issues/14924. Here is the details. This is OK: import tensorflow as tf sess = tf.InteractiveSession() xx = tf.constant(1, shape=[32,1,4,4,1], dtype=tf.float32) yy = tf.constant(1, shape=[1,32,1,4,4], dtype=tf.float32) zz = xx * yy sess.run([zz]) However: x2 = tf.constant(1, shape=[10,32,1,4,4,1]) y2 = tf.constant(1, shape=[10,1,32,1,4,4]) z2 = x2 * y2 sess.run(z2) Gives an error: UnimplementedError (see above for