語言

LearningPipelineExtensions.AppendCacheCheckpoint<TTrans> 方法

定義

在估計鏈中附加一個「快取檢查點」。 這將確保下游估計器能針對快取資料進行訓練。 在訓練師接受多次資料通行前設置快取檢查點會很有幫助。

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>

適用於