Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#1532 from helinwang/infer
Browse files Browse the repository at this point in the history
remove inferencer and Inference from __All__, since infer is sufficen…
  • Loading branch information
helinwang authored Mar 4, 2017
2 parents 8530d3c + 61b4c71 commit 044ad94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions python/paddle/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
from . import reader
import attr
import pooling
import inferencer
import inference
import networks
import py_paddle.swig_paddle as api

__all__ = [
'optimizer', 'layer', 'activation', 'parameters', 'init', 'trainer',
'event', 'data_type', 'attr', 'pooling', 'data_feeder', 'dataset', 'reader',
'topology', 'networks', 'inferencer', 'infer'
'topology', 'networks', 'infer'
]


Expand All @@ -44,4 +44,4 @@ def init(**kwargs):
api.initPaddle(*args)


infer = inferencer.infer
infer = inference.infer
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import itertools
import numpy

__all__ = ['Inference', 'infer']
__all__ = ['infer']


class Inference(object):
Expand Down

0 comments on commit 044ad94

Please sign in to comment.