LearningPipelineExtensions.AppendCacheCheckpoint<TTrans> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在估計鏈中附加一個「快取檢查點」。 這將確保下游估計器能針對快取資料進行訓練。 在訓練師接受多次資料通行前設置快取檢查點會很有幫助。
public static Microsoft.ML.Data.EstimatorChain<TTrans> AppendCacheCheckpoint<TTrans>(this Microsoft.ML.IEstimator<TTrans> start, Microsoft.ML.Runtime.IHostEnvironment env) where TTrans : class, Microsoft.ML.ITransformer;
static member AppendCacheCheckpoint : Microsoft.ML.IEstimator<'rans (requires 'rans : null and 'rans :> Microsoft.ML.ITransformer)> * Microsoft.ML.Runtime.IHostEnvironment -> Microsoft.ML.Data.EstimatorChain<'rans (requires 'rans : null and 'rans :> Microsoft.ML.ITransformer)> (requires 'rans : null and 'rans :> Microsoft.ML.ITransformer)
<Extension()>
Public Function AppendCacheCheckpoint(Of TTrans As {Class, ITransformer}) (start As IEstimator(Of TTrans), env As IHostEnvironment) As EstimatorChain(Of TTrans)
類型參數
- TTrans
參數
- start
- IEstimator<TTrans>
起始估計量
- env
- IHostEnvironment
用於快取的主機環境。
傳回
EstimatorChain<TTrans>