LearningPipelineExtensions.AppendCacheCheckpoint<TTrans> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Append a 'caching checkpoint' to the estimator chain. This will ensure that the downstream estimators will be trained against cached data. It is helpful to have a caching checkpoint before trainers that take multiple data passes.
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)
Type Parameters
- TTrans
Parameters
- start
- IEstimator<TTrans>
The starting estimator
- env
- IHostEnvironment
The host environment to use for caching.
Returns
EstimatorChain<TTrans>