Class OnnxFeatureConverter


  • public class OnnxFeatureConverter
    extends com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>
    Replaces instances of the onnx(model-path, output) pseudofeature with the native Vespa ranking expression implementing the same computation.
    Author:
    bratseth, lesters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.yahoo.searchlib.rankingexpression.rule.ExpressionNode transform​(com.yahoo.searchlib.rankingexpression.rule.ExpressionNode node, RankProfileTransformContext context)  
      • Methods inherited from class com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer

        transform, transformChildren
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OnnxFeatureConverter

        public OnnxFeatureConverter()
    • Method Detail

      • transform

        public com.yahoo.searchlib.rankingexpression.rule.ExpressionNode transform​(com.yahoo.searchlib.rankingexpression.rule.ExpressionNode node,
                                                                                   RankProfileTransformContext context)
        Specified by:
        transform in class com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>