private OnnxModel getModel(String name) {
            for (var m : onnxModels) if (m.name().equals(name)) return m;
            return null;
        }
Programmatically create a model containing functions without constant of function references only
model-evaluation/src/main/java/ai/vespa/models/evaluation/Model.java