google-research/albert

different parameter position with api doc

cyjj opened this issue · 0 comments

cyjj commented

tp, tp_op = tf.metrics.true_positives(

in the repo the first one prediction and second one is label, while in official api doc their positions are reversed. Is there any special thinking behind this?
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/metrics/true_positives