Skip to content

Conversation

@JiayiFeng
Copy link
Collaborator

@JiayiFeng JiayiFeng commented Feb 2, 2018

fixes #8088

void InferShapeContext::SetOutputDim(const std::string &name, const DDim &dim) {
auto &arg_names = Outputs(name);
PADDLE_ENFORCE_EQ(arg_names.size(), 1UL,
"Output(%s) shoudl holds one element, but now it holds %d",
Copy link
Member

Choose a reason for hiding this comment

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

type shoudl

reyoung
reyoung previously approved these changes Feb 2, 2018
@JiayiFeng JiayiFeng merged commit 71bd0df into PaddlePaddle:develop Feb 2, 2018
@JiayiFeng JiayiFeng deleted the simplify_infershape_code branch February 2, 2018 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants