1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

core: Rename cv::float16_t to cv::hfloat (#25217)

* rename cv::float16_t to cv::fp16_t

* add typedef fp16_t float16_t

* remove zero(), bits() from fp16_t class

* fp16_t -> hfloat

* remove cv::float16_t::fromBits; add hfloatFromBits

* undo changes in conv_winograd_f63.simd.hpp and conv_block.simd.hpp

* undo some changes in dnn
This commit is contained in:
Yuantao Feng
2024-03-22 04:44:19 +08:00
committed by GitHub
parent 3aefd4862c
commit 3afe8ddaf8
31 changed files with 156 additions and 166 deletions
@@ -370,7 +370,7 @@ public:
initMatByPointsVectorRandU<Pt<double>>(sz_in);
break;
case CV_16F:
initMatByPointsVectorRandU<Pt<cv::float16_t>>(sz_in);
initMatByPointsVectorRandU<Pt<cv::hfloat>>(sz_in);
break;
default:
GAPI_Error("Unsupported depth");