提交 cf5bf5b3 编写于 作者: Y Yu Yang

Merge branch 'feature/fix_param_hidden_in_pydp2' into feature/mnist_train_api

......@@ -322,7 +322,13 @@ def provider(input_types=None,
self.logger.warning('setting slots value is deprecated, '
'please use input_types instead.')
self.slots = outter_kwargs['slots']
self.slots = input_types
if input_types is not None:
self.slots = input_types
assert self.slots is not None, \
"Data Provider's input_types must be set"
self.should_shuffle = should_shuffle
true_table = [1, 't', 'true', 'on']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册