private List<Constant> readLargeConstants(RankingConstantsConfig constantsConfig) {
        List<Constant> constants = new ArrayList<>();

        for (RankingConstantsConfig.Constant constantConfig : constantsConfig.constant()) {
            constants.add(new Constant(constantConfig.name(),
                                       readTensorFromFile(constantConfig.name(),
                                                          TensorType.fromSpec(constantConfig.type()),
                                                          constantConfig.fileref())));
        }
        return constants;
    }
Returns a map of the models contained in this config, indexed on name.
The map is modifiable and owned by the caller.
model-evaluation/src/main/java/ai/vespa/models/evaluation/RankProfilesConfigImporter.java