提交 87889634 编写于 作者: S sangoly

bind tranpose output XShape for caffe2paddle model test=develop

上级 41e9bd49
...@@ -36,3 +36,5 @@ USE_LITE_OP(depthwise_conv2d) ...@@ -36,3 +36,5 @@ USE_LITE_OP(depthwise_conv2d)
USE_LITE_OP(pool2d) USE_LITE_OP(pool2d)
USE_LITE_OP(batch_norm) USE_LITE_OP(batch_norm)
USE_LITE_OP(fusion_elementwise_sub_activation) USE_LITE_OP(fusion_elementwise_sub_activation)
USE_LITE_OP(transpose)
USE_LITE_OP(transpose2)
...@@ -170,4 +170,5 @@ REGISTER_LITE_KERNEL(transpose2, kARM, kFloat, kNCHW, ...@@ -170,4 +170,5 @@ REGISTER_LITE_KERNEL(transpose2, kARM, kFloat, kNCHW,
paddle::lite::kernels::arm::Transpose2Compute, def) paddle::lite::kernels::arm::Transpose2Compute, def)
.BindInput("X", {LiteType::GetTensorTy(TARGET(kARM))}) .BindInput("X", {LiteType::GetTensorTy(TARGET(kARM))})
.BindOutput("Out", {LiteType::GetTensorTy(TARGET(kARM))}) .BindOutput("Out", {LiteType::GetTensorTy(TARGET(kARM))})
.BindOutput("XShape", {LiteType::GetTensorTy(TARGET(kARM))})
.Finalize(); .Finalize();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册