revert-3824-remove_grad_op_type
fengjiayi 8 years ago
parent edb541f292
commit 39c986c730

@ -216,7 +216,7 @@ class InferShapeContext {
[&](const std::string& sub_name) {
auto var = scope_.FindVar(sub_name);
PADDLE_ENFORCE_NOT_NULL(
var, "MultiOutput(%s:%s) should not be nullptr", name,
var, "MultiOutput(%s:%s) should not be nullptr.", name,
sub_name);
return var->GetMutable<T>();
});

Loading…
Cancel
Save