未验证 提交 26d12803 编写于 作者: Y yuyang18

Revert "Try to change API"

This reverts commit 36d9e4be.
上级 36d9e4be
......@@ -27,14 +27,10 @@ __all__ = [
'get_inference_program', 'save_checkpoint', 'load_checkpoint',
'clean_checkpoint', 'load_persist_vars_without_grad',
'load_lookup_table_vars', 'save_persist_vars_without_grad',
'get_latest_checkpoint_serial', 'foo'
'get_latest_checkpoint_serial'
]
def foo():
pass
def is_parameter(var):
"""
Check whether the given variable is an instance of Parameter.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册