|
ONNX Models in Machine Learning
ONNX (Open Neural Network Exchange) is an open-source format for machine learning models. This project has several major advantages:
MQL5 provides the following functions for working with ONNX:
Function |
Action |
---|---|
Create an ONNX session, loading a model from an *.onnx file |
|
Create an ONNX session, loading a model from a data array |
|
Close an ONNX session |
|
Run an ONNX model |
|
Get the number of inputs in an ONNX model |
|
Get the number of outputs in an ONNX model |
|
Get the name of a model's input by index |
|
Get the name of a model's output by index |
|
Get the description of the input type from the model |
|
Get the description of the output type from the model |
|
Set the shape of a model's input data by index |
|
Set the shape of a model's output data by index |