fail export with intermediate output layers
If a layer is both an output of the graph and has output connected to another node. An error occur has the current ONNX export generate the output twice (once for the graph output and once for the input of the other layer.