Function MSDeviceInfoGetEnableFP16

Function Documentation

bool MSDeviceInfoGetEnableFP16(const MSDeviceInfoHandle device_info)

Obtain enables to perform the float16 inference, Only valid for CPU/GPU.

参数

device_info[in] Device info object handle.

返回

Whether enable float16 inference.