test collaborating

cblas_new
fengjiayi 8 years ago
parent 8b80cf8989
commit 7f1533f251

@ -234,7 +234,7 @@ class OpRegistry {
const AttributeMap& attrs) { const AttributeMap& attrs) {
auto op_create_it = creators().find(type); auto op_create_it = creators().find(type);
PADDLE_ENFORCE(op_create_it != creators().end(), PADDLE_ENFORCE(op_create_it != creators().end(),
"Operator %s cannot be found", type); "Operator %s cannot be found.", type);
auto op = op_create_it->second(); auto op = op_create_it->second();
op->type_ = type; op->type_ = type;

Loading…
Cancel
Save