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