Supporting ONNX optimized models

@mfuntowicz @lysandre or @Narsil might know!