Skip to content

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Oct 15, 2017

fix: #4810
project: #4679

Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

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

LGTM

@jacquesqiao jacquesqiao merged commit 88b9202 into PaddlePaddle:develop Oct 15, 2017
assert start_index <= end_index

# sync ops append to the head of cpp_ops
for index in range((start_index - 1 - 1), -1, -1):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why start_index needs to be minus with 2?

assert end_index is not None
assert start_index <= end_index

# sync ops append to the head of cpp_ops
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems like append from cpp_ops, not to cpp_ops?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants