Download modules/core/perf/perf_cvround.cpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 2.91 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/core/perf/perf_cvround.cpp
- Command line
-
hf download hf://tgollogly/test/modules/core/perf/perf_cvround.cpp
-
curl -L -o perf_cvround.cpp https://huggingface.co/tgollogly/test/resolve/main/modules/core/perf/perf_cvround.cpp
2.91 kB
| namespace opencv_test | |
| { | |
| using namespace perf; | |
| DECL_ROUND_TEST(,cvRound,) | |
| DECL_ROUND_TEST(_Ceil,cvCeil,) | |
| DECL_ROUND_TEST(_Floor,cvFloor,) | |
| /* For FP classification tests, try to test them in way which uses | |
| branching logic and avoids extra FP logic. */ | |
| DECL_ROUND_TEST(_NaN,cvIsNaN, ? 1 : 2) | |
| DECL_ROUND_TEST(_Inf,cvIsInf, ? 1 : 2) | |
| } // namespace | |