工具类 #pragma once #include <ncnn/layer.h> #include <ncnn/net.h> #include <vector> #include <algorithm> #include <cmath> #include <ranges> struct Bound