Skip to content

Commit

Permalink
remove paddle.metrics.cos_sim api (PaddlePaddle#27569)
Browse files Browse the repository at this point in the history
* fix api alias

* remove cos_sim
  • Loading branch information
littletomatodonkey authored Sep 27, 2020
1 parent 96daa25 commit 6e41143
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/paddle/metric/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
from . import metrics

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__ + [
'accuracy',
'auc',
'chunk_eval',
'cos_sim',
'mean_iou',
]

0 comments on commit 6e41143

Please sign in to comment.