change compare forece_cpu default value; test=develop (#23888)

revert-22778-infer_var_type
hong 5 years ago committed by GitHub
parent 2270864019
commit bfb60efb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ class CompareOpProtoMaker : public framework::OpProtoAndCheckerMaker {
"Force fill output variable to cpu "
"memory. Otherwise, fill output variable to the running "
"device [default true].")
.SetDefault(true);
.SetDefault(false);
AddOutput("Out", string::Sprintf("n-dim bool tensor. Each element is %s",
comment.equation));
AddComment(string::Sprintf(R"DOC(

Loading…
Cancel
Save