Class TensorFlowFeatureConverter

java.lang.Object
com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>
com.yahoo.schema.expressiontransforms.TensorFlowFeatureConverter

public class TensorFlowFeatureConverter extends com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<RankProfileTransformContext>
Replaces instances of the tensorflow(model-path, signature, output) pseudofeature with the native Vespa ranking expression implementing the same computation.
Author:
bratseth
  • Constructor Details

    • TensorFlowFeatureConverter

      public TensorFlowFeatureConverter()
  • Method Details

    • 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>