未验证 提交 bfb60efb 编写于 作者: H hong 提交者: GitHub

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

上级 22708640
...@@ -60,7 +60,7 @@ class CompareOpProtoMaker : public framework::OpProtoAndCheckerMaker { ...@@ -60,7 +60,7 @@ class CompareOpProtoMaker : public framework::OpProtoAndCheckerMaker {
"Force fill output variable to cpu " "Force fill output variable to cpu "
"memory. Otherwise, fill output variable to the running " "memory. Otherwise, fill output variable to the running "
"device [default true].") "device [default true].")
.SetDefault(true); .SetDefault(false);
AddOutput("Out", string::Sprintf("n-dim bool tensor. Each element is %s", AddOutput("Out", string::Sprintf("n-dim bool tensor. Each element is %s",
comment.equation)); comment.equation));
AddComment(string::Sprintf(R"DOC( AddComment(string::Sprintf(R"DOC(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册