From 24e1c536dab60164eaecadabcf64fbebcde20cf6 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Fri, 3 Mar 2017 01:06:58 +0000 Subject: [PATCH] fix according to comment --- python/paddle/v2/__init__.py | 4 ++-- python/paddle/v2/{batch.py => minibatch.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename python/paddle/v2/{batch.py => minibatch.py} (100%) diff --git a/python/paddle/v2/__init__.py b/python/paddle/v2/__init__.py index a023e3ea06e..05227ca3345 100644 --- a/python/paddle/v2/__init__.py +++ b/python/paddle/v2/__init__.py @@ -28,7 +28,7 @@ import pooling import inferencer import networks import py_paddle.swig_paddle as api -import batch +import minibatch __all__ = [ 'optimizer', 'layer', 'activation', 'parameters', 'init', 'trainer', @@ -46,4 +46,4 @@ def init(**kwargs): infer = inferencer.infer -batch = batch.batch +batch = minibatch.batch diff --git a/python/paddle/v2/batch.py b/python/paddle/v2/minibatch.py similarity index 100% rename from python/paddle/v2/batch.py rename to python/paddle/v2/minibatch.py -- GitLab