Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parallel executor tests #9950

Merged
merged 9 commits into from
Apr 18, 2018

Conversation

JiayiFeng
Copy link
Collaborator

No description provided.

@JiayiFeng JiayiFeng requested a review from chengduoZH April 17, 2018 07:49
@JiayiFeng JiayiFeng changed the title [WIP] Add parallel executor tests Add parallel executor tests Apr 17, 2018
main = fluid.Program()
startup = fluid.Program()
startup.random_seed = 1 # Fix random seed
with fluid.program_guard(main, startup):
if seed is not None:
startup.random_seed = seed
main.random_seed = seed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main.random_seed = seed is unnecessary.

@@ -123,22 +123,24 @@ def __init__(self,
allow_op_delay)
self.scope = scope

def run(self, fetch_list, feed_dict={}):
def run(self, fetch_list, feed={}, feed_dict={}):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should have a warning to notify users that feed_dict is deprecated.

chengduoZH
chengduoZH previously approved these changes Apr 17, 2018
@JiayiFeng JiayiFeng force-pushed the add_parallel_executor_tests branch from 9449b8d to e84d3a7 Compare April 18, 2018 01:13
@JiayiFeng JiayiFeng merged commit c083ee7 into PaddlePaddle:develop Apr 18, 2018
@JiayiFeng JiayiFeng deleted the add_parallel_executor_tests branch April 18, 2018 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants