Share via


Trainer.Feed Method

Definition

Process the input sequences and feed the result to the model.

public abstract void Feed (System.Collections.Generic.IEnumerable<string> sequences, Func<string,System.Collections.Generic.IEnumerable<string>> process);
abstract member Feed : seq<string> * Func<string, seq<string>> -> unit
Public MustOverride Sub Feed (sequences As IEnumerable(Of String), process As Func(Of String, IEnumerable(Of String)))

Parameters

sequences
IEnumerable<String>

The list of sequences to feed the trainer.

process
Func<String,IEnumerable<String>>

Optional process callback for reporting the training progress update.

Applies to