enum ncFifoDataType_t
| Info | Value |
|---|---|
| Header | mvnc.h |
| Version | 2.0 |
| See also | struct ncFifoHandle_t, ncFifoOption_t, ncFifoGetOption(), ncFifoSetOption() |
Overview
This enumeration contains possible data types for FIFOs, which can be read with ncDeviceGetOption() or set with ncDeviceSetOption() or ncGraphAllocateWithFifos().
The default data type is NC_FIFO_FP32. If the input FIFO’s ncFifoDataType_t is configured to NC_FIFO_FP32, the API will convert the data to the FP16 data type automatically when performing inferences. If the output FIFO’s ncFifoDataType_t is configured to NC_FIFO_32FP, the API will convert the output back to the FP32 data type.
| Constant | Description |
|---|---|
| NC_FIFO_FP16 | The data is in half precision (16 bit) floating point format (FP16). |
| NC_FIFO_FP32 | The data is in full precision (32 bit) floating point format (FP32). This is the C float type for many compilers and computer architectures. |