From a0590004ceae3fb769a87b55e03833523451a34a Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Wed, 2 Aug 2017 16:28:41 +0800 Subject: [PATCH] Add __all__ in `gradient_checker.py` --- python/paddle/v2/framework/tests/gradient_checker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/paddle/v2/framework/tests/gradient_checker.py b/python/paddle/v2/framework/tests/gradient_checker.py index e7fca05d6f7..0ee7e8fb490 100644 --- a/python/paddle/v2/framework/tests/gradient_checker.py +++ b/python/paddle/v2/framework/tests/gradient_checker.py @@ -3,6 +3,8 @@ from paddle.v2.framework.create_op_creation_methods import op_creations import numpy import unittest +__all__ = ['get_numeric_gradient'] + def get_numeric_gradient(op, input_values, -- GitLab