Optional inputs should be ignored during main generation
Context
The Yolo type models often have a lot of optional inputs.
Issue
These inputs are not ignored while generating the main.cpp file using for instance the generate_main_cpp()
function, leading to a lot of non used inputs and compilation errors.