We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633756a commit 3c2cafbCopy full SHA for 3c2cafb
paddle/fluid/operators/parallel_do_op.cc
@@ -256,7 +256,7 @@ class ParallelDoGradOp : public framework::OperatorBase {
256
}
257
258
for (auto &s : Outputs(framework::GradVarName(kParameters))) {
259
- if (s == "@EMPTY@") {
+ if (s == framework::kEmptyVarName) {
260
continue;
261
262
VLOG(3) << "Moving " << s;
@@ -270,7 +270,7 @@ class ParallelDoGradOp : public framework::OperatorBase {
270
const std::vector<framework::Scope *> &sub_scopes,
271
const platform::PlaceList &places) const {
272
273
274
275
276
VLOG(3) << "Accumulating " << s;
0 commit comments