Function MSDeviceInfoGetEnableFP16

Function Documentation

bool MSDeviceInfoGetEnableFP16(const MSDeviceInfoHandle device_info)

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

Parameters

device_info[in] Device info object handle.

Returns

Whether enable float16 inference.