fisher87.
fisher87.
python 版本  c++ 版本  经过比较,两个模型的版本相同的
https://github.com/terrifyzhao/text_matching/blob/14c1a8f60aad822cd7029474b241bd6200a8782d/bimpm/graph.py#L57 这个地方应该有问题吧?是不是应该这样 `tf.norm(metric1, axis=-1, keep_dims=True) * tf.transpose(tf.norm(metric2, axis=-1, keep_dims=True), perm=[0, 2, 1])`
https://github.com/sjvasquez/quora-duplicate-questions/blob/d93a4bd5edf8327bd5ed7900107ca18bf8bb2b2f/attend.py#L94 ```seq_len = a.shape[1] a = tf.tile(tf.expand_dims(a, 2), [1, 1, seq_len, 1]) b = tf.tile(tf.expand_dims(b, 1), [1, seq_len, 1, 1]) c = tf.concat([a, b], axis=-1)```