@Override
    public ExpressionNode transform(ExpressionNode node, RankProfileTransformContext context) {
        if (node instanceof ReferenceNode)
            return transformFeature((ReferenceNode) node, context);
        else if (node instanceof CompositeNode)
            return super.transformChildren((CompositeNode) node, context);
        else
            return node;
    }
A cache of imported models indexed by model path. This avoids importing the same model multiple times.
config-model/src/main/java/com/yahoo/schema/expressiontransforms/OnnxFeatureConverter.java