Skip to content

Conversation

jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Aug 9, 2017

fix #3342

@jacquesqiao jacquesqiao requested a review from wangkuiyi August 9, 2017 03:36
class InferShapeContext {
public:
OperatorContext(const OperatorBase* op, const Scope& scope)
InferShapeContext(const OperatorBase* op, const Scope& scope)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I noticed that InferShapeContext::op_ is of reference type. Should we make this constructor parameter op also a reference?

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea! done.

@jacquesqiao jacquesqiao merged commit b008360 into PaddlePaddle:develop Aug 9, 2017
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.

Do we need class InferShapeContext ?

2 participants