Trainer.Feed 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
處理輸入序列並將結果輸入模型。
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)))
參數
- sequences
- IEnumerable<String>
要餵給訓練家的序列清單。
- process
- Func<String,IEnumerable<String>>
可選的流程回撥,用於回報培訓進度更新。