> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import Neural Network

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

| Name           | Type                                                                     | Description                                                                                                                            |
| -------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| Model          | [Path](../../../../block-documentation/types/path)                       | Path to Neural Network file containing the neural network model definition. Currently only ONNX models are supported.                  |
| Inputs         | [Parameter Group](../../../../block-documentation/types/parameter-group) | Parameters defining the inputs to the imported surrogate model.                                                                        |
| Reference unit | [Scalar](../../../../block-documentation/types/scalar)                   | The 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 index   | [Integer](../../../../block-documentation/types/integer)                 | Index number corresponding to the desired ONNX output. If empty, 0 will be used by default.                                            |

### Outputs

| Type                          |
| ----------------------------- |
| Surrogate(real,samples(real)) |
