Skip to content

Commit

Permalink
add simpstl env for resize
Browse files Browse the repository at this point in the history
  • Loading branch information
Baiyuetribe committed Dec 31, 2024
1 parent f4835c5 commit 77f54cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/topk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int TopK::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) cons
std::vector<std::pair<float, int> > vec;
#if !NCNN_SIMPLESTL
vec.reserve(size);
#else
#endif
for (int i = 0; i < size; i++)
{
vec.push_back(std::make_pair(ptr[i], i));
Expand Down

0 comments on commit 77f54cb

Please sign in to comment.