@Override
    public void process(boolean validate, boolean documentsOnly) {
        if (documentsOnly) return;
        for (OnnxModel onnxModel : schema.declaredOnnxModels().values())
            onnxModel.setModelInfo(OnnxModelInfo.load(onnxModel.getFileName(), schema.applicationPackage()));
        for (RankProfile profile : rankProfileRegistry.rankProfilesOf(schema)) {
            for (OnnxModel onnxModel : profile.declaredOnnxModels().values())
                onnxModel.setModelInfo(OnnxModelInfo.load(onnxModel.getFileName(), schema.applicationPackage()));
        }
    }
Processes every "onnx-model" element in the schema. Associates model type
information by retrieving from either the ONNX model file directly or from
preprocessed information in ZK. Adds missing input and output mappings
(assigning default names).

Must be processed before RankingExpressingTypeResolver.

@author lesters
config-model/src/main/java/com/yahoo/schema/processing/OnnxModelTypeResolver.java