Try to change API

revert-12383-port_py3_syntax
yuyang18 7 years ago
parent 94e3cff26a
commit 36d9e4be34
No known key found for this signature in database
GPG Key ID: 6DFF29878217BE5F

@ -27,10 +27,14 @@ __all__ = [
'get_inference_program', 'save_checkpoint', 'load_checkpoint', 'get_inference_program', 'save_checkpoint', 'load_checkpoint',
'clean_checkpoint', 'load_persist_vars_without_grad', 'clean_checkpoint', 'load_persist_vars_without_grad',
'load_lookup_table_vars', 'save_persist_vars_without_grad', 'load_lookup_table_vars', 'save_persist_vars_without_grad',
'get_latest_checkpoint_serial' 'get_latest_checkpoint_serial', 'foo'
] ]
def foo():
pass
def is_parameter(var): def is_parameter(var):
""" """
Check whether the given variable is an instance of Parameter. Check whether the given variable is an instance of Parameter.

Loading…
Cancel
Save