i actually only need the output on output index 0. in phyton i could assign unused variable to some random char and just leave it be as phyton will automatically decide the type.
but i don't think that would work on MQL5. as also had tried to assign the output index 1 to some double variable and it just don't work.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
i'm trying to use an ONNX file in my expert.
my onnx file has 49 inputs at input index 0,
has 3 outputs at output index 0,
and 1 output at output index 1.
when i try to run session
i got error as below:
2023.05.07 04:35:20.074 Core 1 2021.01.27 00:00:00 ONNX: invalid parameter size, expected 196 bytes instead of 392, inspect code 'Experts\ONNX_TEST_01.mq5' (81:65)
i actually only need the output on output index 0. in phyton i could assign unused variable to some random char and just leave it be as phyton will automatically decide the type.
but i don't think that would work on MQL5. as also had tried to assign the output index 1 to some double variable and it just don't work.
could you pointing me out where did i miss?
thanks.
onnx model and mq5 file are attached