From 685299c3c54bb8fc10c3d38cb26445d899f32c5d Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 26 Dec 2016 14:38:31 +0800 Subject: [PATCH] Rename math.py to layer_math.py * Fix #903 --- python/paddle/trainer_config_helpers/__init__.py | 4 +--- .../paddle/trainer_config_helpers/{math.py => layer_math.py} | 0 2 files changed, 1 insertion(+), 3 deletions(-) rename python/paddle/trainer_config_helpers/{math.py => layer_math.py} (100%) diff --git a/python/paddle/trainer_config_helpers/__init__.py b/python/paddle/trainer_config_helpers/__init__.py index a2335768b92b6..0ff5edf825e6d 100644 --- a/python/paddle/trainer_config_helpers/__init__.py +++ b/python/paddle/trainer_config_helpers/__init__.py @@ -20,6 +20,4 @@ from networks import * from optimizers import * from attrs import * - -# This will enable operator overload for LayerOutput -import math as layer_math +import layer_math diff --git a/python/paddle/trainer_config_helpers/math.py b/python/paddle/trainer_config_helpers/layer_math.py similarity index 100% rename from python/paddle/trainer_config_helpers/math.py rename to python/paddle/trainer_config_helpers/layer_math.py