A JSON object describing a Simple Torch model type has following syntax:
"input": {
"type": "Float32",
"dataPoints": [
"3rd Floor.Room 301.Pressure",
"3rd Floor.Room 301.Temperature"
]
}
- Object Members
dataPoints | A JSON array containing the data points asigned as inputs. |
type | A string value containing the data type of the inputs.
Float32 Defines input as float 32bit.
Float64 Defines input as float 64bit.
Int8 Defines input as signed integer 8bit.
UInt8 Defines input as unsigned integer 8bit.
Int16 Defines input as signed integer 16bit.
Int32 Defines input as signed integer 32bit.
Int64 Defines input as signed integer 64bit.
Bool Defines input as boolean value.
|
Please remember that each element block requires two layers of {}
due to the syntax restrictions of the JSON format.