diff --git a/paddle/framework/op_registry.h b/paddle/framework/op_registry.h index d26c0b50d80ae7cec0fc1e25b6980c34af82deff..98ef426b108848feab43e4163e08100496fc2f77 100644 --- a/paddle/framework/op_registry.h +++ b/paddle/framework/op_registry.h @@ -234,7 +234,7 @@ class OpRegistry { const AttributeMap& attrs) { auto op_create_it = creators().find(type); 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(); op->type_ = type;