提交 dafbc21c 编写于 作者: J juncaipeng 提交者: GitHub

fix cuda yolobox kernel of the input type, test=develop (#2740)

上级 e530d2f3
...@@ -233,7 +233,7 @@ REGISTER_LITE_KERNEL(yolo_box, ...@@ -233,7 +233,7 @@ REGISTER_LITE_KERNEL(yolo_box,
DATALAYOUT(kNCHW))}) DATALAYOUT(kNCHW))})
.BindInput("ImgSize", .BindInput("ImgSize",
{LiteType::GetTensorTy(TARGET(kCUDA), {LiteType::GetTensorTy(TARGET(kCUDA),
PRECISION(kFloat), PRECISION(kInt32),
DATALAYOUT(kNCHW))}) DATALAYOUT(kNCHW))})
.BindOutput("Boxes", .BindOutput("Boxes",
{LiteType::GetTensorTy(TARGET(kCUDA), {LiteType::GetTensorTy(TARGET(kCUDA),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册