Kneron PLUS 1.X, Kneron PLUS 2.X and Kneron PLUS 3 APIs Mapping Table
For Migrate to Kneron PLUS 3
Inference API
Inference Data Type | Kneron PLUS 1.x (kp) | Kneron PLUS 2 and Kneron PLUS 3 (kp) |
---|---|---|
Image | kp.inference.generic_raw_inference_send() | kp.inference.generic_image_inference_send() |
Image | kp.inference.generic_raw_inference_receive() | kp.inference.generic_image_inference_receive() |
Raw Data | kp.inference.generic_raw_inference_bypass_pre_proc_send() | kp.inference.generic_data_inference_send() |
Raw Data | kp.inference.generic_raw_inference_bypass_pre_proc_receive() | kp.inference.generic_data_inference_receive() |
Inference Object
Inference Data Type | Kneron PLUS 1.x (kp) | Kneron PLUS 2 and Kneron PLUS 3 (kp) |
---|---|---|
Image | N/A | kp.GenericInputNodeImage |
Image | kp.GenericRawImageHeader | kp.GenericImageInferenceDescriptor |
Image | kp.GenericRawResultHeader | kp.GenericImageInferenceResultHeader |
Image | kp.GenericRawResult | kp.GenericImageInferenceResult |
Raw Data | N/A | kp.GenericInputNodeData |
Raw Data | kp.GenericRawBypassPreProcImageHeader | kp.GenericDataInferenceDescriptor |
Raw Data | kp.GenericRawBypassPreProcResultHeader | kp.GenericDataInferenceResultHeader |
Raw Data | kp.GenericRawBypassPreProcResult | kp.GenericDataInferenceResult |
For Compatible with Kneron PLUS 3
Inference API Compat V1.x
Inference Data Type | Kneron PLUS 1.x (kp) | Kneron PLUS 2 and Kneron PLUS 3 - Compat (kp.v1) |
---|---|---|
Image | kp.inference.generic_raw_inference_send() | kp.v1.inference.generic_raw_inference_send() |
Image | kp.inference.generic_raw_inference_receive() | kp.v1.inference.generic_raw_inference_receive() |
Raw Data | kp.inference.generic_raw_inference_bypass_pre_proc_send() | kp.v1.inference.generic_raw_inference_bypass_pre_proc_send() |
Raw Data | kp.inference.generic_raw_inference_bypass_pre_proc_receive() | kp.v1.inference.generic_raw_inference_bypass_pre_proc_receive() |
Inference Object Compat V1.x
Inference Data Type | Kneron PLUS 1.x (kp) | Kneron PLUS 2 and Kneron PLUS 3 - Compat (kp.v1) |
---|---|---|
Image | kp.GenericRawImageHeader | kp.v1.GenericRawImageHeader |
Image | kp.GenericRawResultHeader | kp.v1.GenericRawResultHeader |
Image | kp.GenericRawResult | kp.v1.GenericRawResult |
Raw Data | kp.GenericRawBypassPreProcImageHeader | kp.v1.GenericRawBypassPreProcImageHeader |
Raw Data | kp.GenericRawBypassPreProcResultHeader | kp.v1.GenericRawBypassPreProcResultHeader |
Raw Data | kp.GenericRawBypassPreProcResult | kp.v1.GenericRawBypassPreProcResult |