提交 ce77f797 编写于 作者: C chenjiaoAngel

fix format. test=develop

上级 520ff839
......@@ -168,6 +168,5 @@ using whereindex = paddle::lite::kernels::host::WhereIndexCompute;
REGISTER_LITE_KERNEL(where_index, kHost, kAny, kAny, whereindex, def)
.BindInput("Condition",
{LiteType::GetTensorTy(TARGET(kHost), PRECISION(kAny))})
.BindOutput("Out",
{LiteType::GetTensorTy(TARGET(kHost), PRECISION(kAny))})
.BindOutput("Out", {LiteType::GetTensorTy(TARGET(kHost), PRECISION(kAny))})
.Finalize();
......@@ -35,7 +35,7 @@ bool CompareOp::InferShapeImpl() const {
new_dims.push_back(input_dims[0]);
param_.Out->Resize(new_dims);
} else {
param_.Out->Resize(input_dims);
param_.Out->Resize(input_dims);
}
// param_.Out->Resize(input_dims);
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册