2 #ifndef _NNDEPLOY_BASE_HALF_H_
3 #define _NNDEPLOY_BASE_HALF_H_
28 operator const float()
const {
#define NNDEPLOY_CC_API
api
bool convertFromBfp16ToFloat(void *bfp16, float *fp32, int count)
bool convertFromFloatToFp16(float *fp32, void *fp16, int count)
bool convertFromFloatToBfp16(float *fp32, void *bfp16, int count)
bool convertFromFp16ToFloat(void *fp16, float *fp32, int count)
struct nndeploy::base::bfp16_struct bfp16_t