@Override
    public Map<String, OnnxModel> onnxModels() {
        if (inherited().isEmpty()) return Collections.unmodifiableMap(onnxModels);
        if (onnxModels.isEmpty()) return inherited().get().onnxModels();

        Map<String, OnnxModel> allModels = new LinkedHashMap<>(inherited().get().onnxModels());
        allModels.putAll(onnxModels);
        return allModels;
    }
Returns an unmodifiable map of the onnx models available in this.
config-model/src/main/java/com/yahoo/schema/Schema.java