diff --git a/paddle/framework/operator.h b/paddle/framework/operator.h index 8b7f74367147a070e4b9f30f5934e31c551abe8d..10034c58e9d1777f14cc9896a2048ac899e64461 100644 --- a/paddle/framework/operator.h +++ b/paddle/framework/operator.h @@ -68,8 +68,8 @@ class OperatorBase { const AttributeMap& attrs, std::unordered_map* in_out_idxs) : type_(type), - inputs_(input), - outputs_(output), + inputs_(inputs), + outputs_(outputs), attrs_(attrs), in_out_idxs_(in_out_idxs) {}