- ONNX Support
- Format Conversion
- Automatic data type conversion
- Creating a Model
- Running a model
- Validation in the Strategy Tester
- OnnxCreate
- OnnxCreateFromBuffer
- OnnxRelease
- OnnxRun
- OnnxGetInputCount
- OnnxGetOutputCount
- OnnxGetInputName
- OnnxGetOutputName
- OnnxGetInputTypeInfo
- OnnxGetOutputTypeInfo
- OnnxSetInputShape
- OnnxSetOutputShape
- Data structures
OnnxGetInputTypeInfo
Get the description of the input type from the model.
bool OnnxGetInputTypeInfo(
|
Parameters
onnx_handle
[in] ONNX session object handle created via OnnxCreate or OnnxCreateFromBuffer.
index
[in] Index of the input parameter, starting with 0.
typeinfo
[out] The OnnxTypeInfo structure that describes the type of the input parameter.
Return Value
Returns true on success; otherwise returns false. To get the error code, call the GetLastError function.