Constant Folding not checking the input node of the model
Nodes were incorrectly folded even though they depended on model inputs, leading to potential incorrect behavior (the model was entirely absorbed by the recipe, resulting in a single node).
Solution: Add a check to ensure that nodes with model inputs are not folded.
This happened while trying to use the recipe on a PTQ graph (MiniResNet) to fold every subsequent node below producers, as discussed in this issue: aidge_onnx#42.