From 6e41143ffeda7000ba105c2097fd2f40ac68e890 Mon Sep 17 00:00:00 2001 From: littletomatodonkey <2120160898@bit.edu.cn> Date: Sun, 27 Sep 2020 19:49:10 +0800 Subject: [PATCH] remove paddle.metrics.cos_sim api (#27569) * fix api alias * remove cos_sim --- python/paddle/metric/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/metric/__init__.py b/python/paddle/metric/__init__.py index 6e197881fc0..fba45523889 100644 --- a/python/paddle/metric/__init__.py +++ b/python/paddle/metric/__init__.py @@ -16,12 +16,11 @@ from .metrics import * 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', ] -- GitLab