diff --git a/python/paddle/v2/__init__.py b/python/paddle/v2/__init__.py index a023e3ea06e2f8004c5c5006df0daca54493777c..05227ca334594711763f9e1dd41709a212da547a 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