Skip to main content
Imports a Neural Network Model stored in the ONNX file format for direct evaluation within the nTop environment. The resulting block can be used for evaluation or use in optimization workflows.

Inputs

NameTypeDescription
ModelPathPath to Neural Network file containing the neural network model definition. Currently only ONNX models are supported.
InputsParameter GroupParameters defining the inputs to the imported surrogate model.
Reference unitScalarThe reference used to maintain a consistent output. Typically, this is a value of 1 with the units of the value returned by the model.
Output indexIntegerIndex number corresponding to the desired ONNX output. If empty, 0 will be used by default.

Outputs

Type
Surrogate(real,samples(real))