From 26d128037147270f8abc90e211fed615c3b38a14 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Wed, 4 Jul 2018 14:49:47 +0800 Subject: [PATCH] Revert "Try to change API" This reverts commit 36d9e4be34f8a1e1177e50514c557ba99f4c5dbf. --- python/paddle/fluid/io.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/paddle/fluid/io.py b/python/paddle/fluid/io.py index 9b46d1ae2d..5c8f4f6507 100644 --- a/python/paddle/fluid/io.py +++ b/python/paddle/fluid/io.py @@ -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. -- GitLab