Function MSDeviceInfoSetEnableFP16
Defined in File context_c.h
Function Documentation
-
void MSDeviceInfoSetEnableFP16(MSDeviceInfoHandle device_info, bool is_fp16)
Set enables to perform the float16 inference, Only valid for CPU/GPU.
- Parameters
device_info – [in] Device info object handle.
is_fp16 – [in] Enable float16 inference or not.