Adding optimizations block from ONNXRuntime.
cc @EmmaNingMS
cc @tianleiwu <|||||>use_external_data_format has some side-effect we'd like to mitigate here, I set to False by default and let the possibility for the user to override through CLI args.