PaddlePaddle / Paddle-Lite

PaddlePaddle High Performance Deep Learning Inference Engine for Mobile and Edge (飞桨高性能深度学习端侧推理引擎)
https://www.paddlepaddle.org.cn/lite
Apache License 2.0
6.96k stars 1.61k forks source link

[Paddle-Lite/lite/operators/compare_op.cc:38 GetBroadcastDimsArrays] Check failed: (axis < max_dim): 1!<1 #10553

Open jiuyuedeyu156 opened 2 months ago

jiuyuedeyu156 commented 2 months ago

我使用netron可视化paddle模型,发现有一个less_than算子的输入维度与报错类似,但不能确定是否是这个算子 image

jiuyuedeyu156 commented 2 months ago

liuyulong06@baidu.com 如果方便可在如流交流

hong19860320 commented 2 months ago

看起来是 1维 tensor 和 0 维 tensor 比较的问题,是一个漏网之鱼,需要参考 https://github.com/PaddlePaddle/Paddle-Lite/pull/10214 额外支持一下哈~

jiuyuedeyu156 commented 2 months ago

感谢您的解答