Interface PredictFns.AsyncPredictFn<ModelT extends Model<?>,​InputT,​VectorT,​ValueT>

  • Type Parameters:
    InputT - type of the feature extraction input.
    VectorT - type of the feature extraction output.
    ValueT - type of the prediction output.
    Enclosing interface:
    PredictFns
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface PredictFns.AsyncPredictFn<ModelT extends Model<?>,​InputT,​VectorT,​ValueT>
    Asynchronous prediction functional interface. Allows to define prediction function via lambda, prediction is happens asynchronously.