未验证 提交 4ef704eb 编写于 作者: W wangzhen38 提交者: GitHub

[UPDATE FLUID API] PaddleRec-related only (#43862)

* [UPDATE FLUID API] only reference in paddlerec

* change lr

* [UPDATE FLUID API] only reference in paddlerec

* update by reviews
上级 6547d256
......@@ -35,6 +35,7 @@ from .framework import set_flags # noqa: F401
from .framework import disable_static # noqa: F401
from .framework import enable_static # noqa: F401
from .framework import in_dynamic_mode # noqa: F401
from .fluid.dataset import * # noqa: F401
from .framework.dtype import dtype as dtype # noqa: F401
from .framework.dtype import uint8 # noqa: F401
......
......@@ -35,6 +35,8 @@ from . import sparse #noqa: F401
from . import nn #noqa: F401
from . import asp #noqa: F401
from ..fluid.incubate import fleet
__all__ = [
'LookAhead',
'ModelAverage',
......
......@@ -64,11 +64,14 @@ from ..fluid.io import set_program_state # noqa: F401
from ..fluid.io import load_vars # noqa: F401
from ..fluid.io import save_vars # noqa: F401
from ..fluid.io import batch # noqa: F401
from ..fluid.layers import create_parameter # noqa: F401
from ..fluid.layers import create_global_var # noqa: F401
from ..fluid.layers.metric_op import auc # noqa: F401
from ..fluid.layers.metric_op import accuracy # noqa: F401
from ..fluid.contrib.layers import ctr_metric_bundle # noqa: F401
from ..fluid.layers import exponential_decay # noqa: F401
__all__ = [ #noqa
'append_backward', 'gradients', 'Executor', 'global_scope', 'scope_guard',
......@@ -82,5 +85,6 @@ __all__ = [ #noqa
'deserialize_persistables', 'load_from_file', 'normalize_program',
'load_program_state', 'set_program_state', 'cpu_places', 'cuda_places',
'xpu_places', 'npu_places', 'mlu_places', 'Variable', 'create_global_var',
'accuracy', 'auc', 'device_guard', 'create_parameter', 'set_ipu_shard'
'accuracy', 'auc', 'device_guard', 'create_parameter', 'set_ipu_shard',
'ctr_metric_bundle', 'exponential_decay'
]
......@@ -41,6 +41,7 @@ from ...fluid.layers import while_loop # noqa: F401
from ...fluid.input import embedding # noqa: F401
from ...fluid.contrib.layers import sparse_embedding # noqa: F401
from ...fluid.layers import continuous_value_model # noqa: F401
from ...fluid.layers import StaticRNN # noqa: F401
from ...fluid.layers.sequence_lod import sequence_conv # noqa: F401
from ...fluid.layers.sequence_lod import sequence_softmax # noqa: F401
......@@ -99,4 +100,5 @@ __all__ = [ #noqa
'sequence_scatter',
'sequence_enumerate',
'sequence_reverse',
'StaticRNN',
]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册