mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-03 02:53:26 +08:00
[Other] Optimize rknpu2 backend (#1318)
* Optimize rknpu2 backend * Fix error * Fix comparision error
This commit is contained in:
@@ -207,7 +207,7 @@ template <typename T>
|
||||
std::string Str(const std::vector<T>& shape) {
|
||||
std::ostringstream oss;
|
||||
oss << "[ " << shape[0];
|
||||
for (int i = 1; i < shape.size(); ++i) {
|
||||
for (size_t i = 1; i < shape.size(); ++i) {
|
||||
oss << " ," << shape[i];
|
||||
}
|
||||
oss << " ]";
|
||||
|
||||
Reference in New Issue
Block a user