ParentFull threadim3w1l·I recommendX + Y[:, tf.newaxis]For higher dimensions of Y, you can use (but it might be ill-advised)X + Y[:, tf.newaxis, ...]View on HN