Share via


LearningPipelineExtensions.AppendCacheCheckpoint<TTrans> Méthode

Définition

Ajoutez un « point de contrôle de mise en cache » à la chaîne d’estimateur. Cela garantit que les estimateurs en aval seront entraînés par rapport aux données mises en cache. Il est utile d’avoir un point de contrôle de mise en cache avant les formateurs qui prennent plusieurs passes de données.

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)

Paramètres de type

TTrans

Paramètres

start
IEstimator<TTrans>

Estimateur de départ

env
IHostEnvironment

Environnement hôte à utiliser pour la mise en cache.

Retours

EstimatorChain<TTrans>

S’applique à