Comments (4)
您好,没明白您的意思,贴出的冒泡排序代码只针对 cpu_ids 数组进行了排序,没有操作两个数组。
from paddle-lite.
您好,没明白您的意思,贴出的冒泡排序代码只针对 cpu_ids 数组进行了排序,没有操作两个数组。
列几个数据演算一下就明白了。代码调整了cpu_ids数组的元素顺序,但是比较大小确实参考另一个数组的值,但这个数组的元素位置没变动,因此参考的值实际上不匹配了。
from paddle-lite.
好的,我明白您的意思了。 非常感谢您的指出~
from paddle-lite.
您好,非常抱歉这么晚才合入您的PR。在这个PR中 #10518 ,我们采纳了您的代码解决了这个问题,合入develop分支后您就可以关闭这个issue了。再次感谢您对Paddle-Lite的关注与贡献!
您好,没明白您的意思,贴出的冒泡排序代码只针对 cpu_ids 数组进行了排序,没有操作两个数组。
列几个数据演算一下就明白了。代码调整了cpu_ids数组的元素顺序,但是比较大小确实参考另一个数组的值,但这个数组的元素位置没变动,因此参考的值实际上不匹配了。
from paddle-lite.
Related Issues (20)
- 调用nb格式模型时候报错:Segmentation fault (core dumped) HOT 1
- 新人求助,能提供bert,pythonAPI推理部署示例嘛,我该如何做前处理和后处理。 HOT 2
- paddle推理模型转为nb失败 HOT 4
- Android studio高版本gradle编译失败 HOT 2
- RepSVTR可以使用paddlelite工具进行端化吗 HOT 1
- How to get qualcomm_qnn HOT 3
- Android内存分页变更适配 HOT 1
- PaddleLite metal backend concat 算子推理错误 HOT 1
- build_xcode.h 编译脚本无法支持metal构建, LITE_WITH_PRECISION_PROFILE 构建参数配置错误 HOT 1
- 模型推理时,CheckInputValid 函数报错 HOT 1
- Paddle-lite installtion process for Vim3 khadas for NPU inference HOT 8
- paddlelite转换基于SLaNet训练的表格模型报错 HOT 4
- develop 分支 opt 转换模型,当模型内含有 cast 算子,且 backend 为 metal 时,模型转换出错 HOT 2
- yolov8n.pt转换nb模型报错 HOT 4
- [Paddle-Lite/lite/operators/compare_op.cc:38 GetBroadcastDimsArrays] Check failed: (axis < max_dim): 1!<1 HOT 3
- paddle ocr rec v3 模型推理崩溃(iOS) HOT 7
- 关于PaddleOCR表格识别模型在安卓应用 HOT 5
- ocr-det rec 模型如何在hisi3599推理提速 HOT 2
- PP-ShiTuv2模型在RK3588上部署运行导致linux系统重启 HOT 8
- PaddleOCR V4 有nb模型可下载吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle-lite.