The Xentara ONNX Engine v2.0
User Manual
JSON Format for ONNX Engine Input Array

A JSON object describing a Array has following syntax:

{
"name": "input",
"dataPoints": [
"Sensor.X",
"Sensor.Y",
"Sensor.Z"
],
"type": "array",
"dataType": "DOUBLE",
"size": 2048
}

Object Members
nameA string value containing the input of the selected input of the model.
datapointsA JSON array containing the data points assigned as input array.
dataTypeA string value containing the data type of the model.
  • FLOAT Defines input as float 32bit.
  • DOUBLE Defines input as float 64bit.
  • INT8 Defines input as signed integer 8bit.
  • INT16 Defines input as signed integer 16bit.
  • INT32 Defines input as signed integer 32bit.
  • INT64 Defines input as signed integer 64bit.
  • UINT8 Defines input as unsigned integer 8bit.
  • UINT16 Defines input as unsigned integer 16bit.
  • UINT32 Defines input as unsigned integer 32bit.
  • UINT64 Defines input as unsigned integer 64bit.
  • BOOL Defines input as Boolean value.
typeA string parameter describe the type of the model. For the array type required "array".
sizeA positive integer value describing the size of the buffer.

Please remember that each element block requires two layers of {} due to the syntax restrictions of the JSON format.