5 instantiations of CompositeDataLoader
Microsoft.ML.Data (5)
DataLoadSave\CompositeDataLoader.cs (2)
59
return h.Apply("Loading Model", ch => new
CompositeDataLoader
<TSource, TLastTransformer>(h, ctx));
88
return new
CompositeDataLoader
<TSource, TNewLast>(Loader, Transformer.Append(transformer));
DataLoadSave\CompositeLoaderEstimator.cs (1)
37
return new
CompositeDataLoader
<TSource, TLastTransformer>(start, xfChain);
DataLoadSave\EstimatorExtensions.cs (1)
83
return new
CompositeDataLoader
<TSource, ITransformer>(loader).AppendTransformer(transformer);
Model\ModelOperationsCatalog.cs (1)
48
var compositeLoader = new
CompositeDataLoader
<TSource, ITransformer>(loader, chainedModel);
19 references to CompositeDataLoader
Microsoft.ML.Data (14)
DataLoadSave\CompositeDataLoader.cs (6)
10
[assembly: LoadableClass(
CompositeDataLoader
<IMultiStreamSource, ITransformer>.Summary, typeof(
CompositeDataLoader
<IMultiStreamSource, ITransformer>), null, typeof(SignatureLoadModel),
11
"Composite Loader",
CompositeDataLoader
<IMultiStreamSource, ITransformer>.LoaderSignature)]
51
private static
CompositeDataLoader
<TSource, TLastTransformer> Create(IHostEnvironment env, ModelLoadContext ctx)
83
public
CompositeDataLoader
<TSource, TNewLast> AppendTransformer<TNewLast>(TNewLast transformer)
112
loaderAssemblyName: typeof(
CompositeDataLoader
<,>).Assembly.FullName);
DataLoadSave\CompositeLoaderEstimator.cs (2)
12
public sealed class CompositeLoaderEstimator<TSource, TLastTransformer> : IDataLoaderEstimator<TSource,
CompositeDataLoader
<TSource, TLastTransformer>>
31
public
CompositeDataLoader
<TSource, TLastTransformer> Fit(TSource input)
DataLoadSave\EstimatorExtensions.cs (1)
77
public static
CompositeDataLoader
<TSource, TTrans> Append<TSource, TTrans>(this IDataLoader<TSource> loader, TTrans transformer)
Model\ModelOperationsCatalog.cs (5)
48
var
compositeLoader = new CompositeDataLoader<TSource, ITransformer>(loader, chainedModel);
91
ModelSaveContext.SaveModel(rep, model,
CompositeDataLoader
<object, ITransformer>.TransformerDirectory);
164
CompositeDataLoader
<object, ITransformer>.TransformerDirectory);
173
CompositeDataLoader
<object, ITransformer>.TransformerDirectory))
228
if (loader is
CompositeDataLoader
<IMultiStreamSource, ITransformer> composite)
Microsoft.ML.IntegrationTests (5)
ModelFiles.cs (5)
145
var
compositeLoaderModel = pipeline1.Fit(file);
210
Assert.IsType<
CompositeDataLoader
<IMultiStreamSource, ITransformer>>(loadedCompositeLoader).Transformer));
389
var
loaderWithEmbeddedModel = composite.Fit(file);
414
var
compositeLoader = Assert.IsType<
CompositeDataLoader
<IMultiStreamSource, ITransformer>>(loadedLoaderWithTransformer);