From b7335b4db7b9d303fc118e36c3b8b4c58e302bcf Mon Sep 17 00:00:00 2001 From: Jiaqi Liu Date: Mon, 11 Jan 2021 13:13:04 +0800 Subject: [PATCH] Alias from paddle.fluid.layers.auc to paddle.static.auc (#30206) * add alias from fluid.layers.auc to static.auc * Update __init__.py --- python/paddle/static/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/static/__init__.py b/python/paddle/static/__init__.py index 7a6a064787..3bd94fb452 100644 --- a/python/paddle/static/__init__.py +++ b/python/paddle/static/__init__.py @@ -63,3 +63,4 @@ from ..fluid.io import load_program_state #DEFINE_ALIAS from ..fluid.io import set_program_state #DEFINE_ALIAS from ..fluid.layers import create_parameter #DEFINE_ALIAS from ..fluid.layers import create_global_var #DEFINE_ALIAS +from ..fluid.layers.metric_op import auc #DEFINE_ALIAS -- GitLab