We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58ac8f4 commit e9dbc85Copy full SHA for e9dbc85
1 file changed
paddle/operators/multiplex_op.cc
@@ -94,7 +94,7 @@ class MultiplexGradOp : public framework::OperatorWithKernel {
94
PADDLE_ENFORCE(!ctx.MultiOutputVar(framework::GradVarName("X")).empty(),
95
"Output(X@Grad) should not be null.");
96
PADDLE_ENFORCE_NOT_NULL(ctx.InputVar(framework::GradVarName("Out")),
97
- "Input(Out@GRAD) shouldn't be null.");
+ "Input(Out@GRAD) should not be null.");
98
auto d_ins = ctx.MultiOutput<Tensor>(framework::GradVarName("X"));
99
auto ins = ctx.MultiInput<Tensor>("X");
100
// No need to compute gradient for Input(Ids)
0 commit comments