未验证 提交 6c2a33fe 编写于 作者: C cuicheng01 提交者: GitHub

fix warnings bug (#698)

上级 714a48ea
...@@ -33,7 +33,7 @@ def multi_hot_encode(logits, threshold=0.5): ...@@ -33,7 +33,7 @@ def multi_hot_encode(logits, threshold=0.5):
Encode logits to multi-hot by elementwise for multilabel Encode logits to multi-hot by elementwise for multilabel
""" """
return binarize(logits, threshold) return binarize(logits, threshold=threshold)
def hamming_distance(output, target): def hamming_distance(output, target):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册