Skip to content

Conversation

@jerrywgz
Copy link
Contributor

Fix GetExpectedKernelType, the original method is to check whether input variable is initialized, but it can not include all cases when inputs have None. This pr checks whether tensor is initialized and numel is non-zero.

Copy link
Contributor

Choose a reason for hiding this comment

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

why add cython here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

useless, has been deleted

Copy link
Contributor

@qingqing01 qingqing01 left a comment

Choose a reason for hiding this comment

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

LGTM.

@jerrywgz jerrywgz closed this Jun 10, 2019
@jerrywgz jerrywgz reopened this Jun 10, 2019
@jerrywgz jerrywgz merged commit aab4d12 into PaddlePaddle:develop Jun 10, 2019
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