提交 044ad94a 编写于 作者: H helinwang 提交者: GitHub

Merge pull request #1532 from helinwang/infer

remove inferencer and Inference from __All__, since infer is sufficen…
......@@ -25,14 +25,14 @@ from . import dataset
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'
]
......@@ -44,4 +44,4 @@ def init(**kwargs):
api.initPaddle(*args)
infer = inferencer.infer
infer = inference.infer
......@@ -5,7 +5,7 @@ from data_feeder import DataFeeder
import itertools
import numpy
__all__ = ['Inference', 'infer']
__all__ = ['infer']
class Inference(object):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册