未验证 提交 6e41143f 编写于 作者: L littletomatodonkey 提交者: GitHub

remove paddle.metrics.cos_sim api (#27569)

* fix api alias

* remove cos_sim
上级 96daa259
...@@ -16,12 +16,11 @@ from .metrics import * ...@@ -16,12 +16,11 @@ from .metrics import *
from . import metrics from . import metrics
from ..fluid.layers.metric_op import accuracy, auc from ..fluid.layers.metric_op import accuracy, auc
from ..fluid.layers.nn import chunk_eval, cos_sim, mean_iou from ..fluid.layers.nn import chunk_eval, mean_iou
__all__ = metrics.__all__ + [ __all__ = metrics.__all__ + [
'accuracy', 'accuracy',
'auc', 'auc',
'chunk_eval', 'chunk_eval',
'cos_sim',
'mean_iou', 'mean_iou',
] ]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册