3 instantiations of ImageLoadingTransformer
Microsoft.ML.ImageAnalytics (3)
ImageLoader.cs (3)
133return new ImageLoadingTransformer(env.Register(nameof(ImageLoadingTransformer)), ctx); 411: this(env, new ImageLoadingTransformer(env, imageFolder, true, columns), true) 423: this(env, new ImageLoadingTransformer(env, imageFolder, type, columns), type)
31 references to ImageLoadingTransformer
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
329Env.ComponentCatalog.RegisterAssembly(typeof(ImageLoadingTransformer).Assembly);
Microsoft.ML.ImageAnalytics (28)
EntryPoints\ImageAnalytics.cs (5)
16[TlcModule.EntryPoint(Name = "Transforms.ImageLoader", Desc = ImageLoadingTransformer.Summary, 17UserName = ImageLoadingTransformer.UserName, ShortName = ImageLoadingTransformer.LoaderSignature)] 18public static CommonOutputs.TransformOutput ImageLoader(IHostEnvironment env, ImageLoadingTransformer.Options input) 21var xf = ImageLoadingTransformer.Create(h, input, input.Data);
ImageLoader.cs (23)
21[assembly: LoadableClass(ImageLoadingTransformer.Summary, typeof(IDataTransform), typeof(ImageLoadingTransformer), typeof(ImageLoadingTransformer.Options), typeof(SignatureDataTransform), 22ImageLoadingTransformer.UserName, "ImageLoaderTransform", "ImageLoader")] 24[assembly: LoadableClass(ImageLoadingTransformer.Summary, typeof(IDataTransform), typeof(ImageLoadingTransformer), null, typeof(SignatureLoadDataTransform), 25ImageLoadingTransformer.UserName, ImageLoadingTransformer.LoaderSignature)] 27[assembly: LoadableClass(typeof(ImageLoadingTransformer), null, typeof(SignatureLoadModel), "", ImageLoadingTransformer.LoaderSignature)] 29[assembly: LoadableClass(typeof(IRowMapper), typeof(ImageLoadingTransformer), null, typeof(SignatureLoadRowMapper), "", ImageLoadingTransformer.LoaderSignature)] 86/// Initializes a new instance of <see cref="ImageLoadingTransformer"/>. 97/// Initializes a new instance of <see cref="ImageLoadingTransformer"/>. 104: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(ImageLoadingTransformer)), columns) 127private static ImageLoadingTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 133return new ImageLoadingTransformer(env.Register(nameof(ImageLoadingTransformer)), ctx); 189loaderAssemblyName: typeof(ImageLoadingTransformer).Assembly.FullName); 196private readonly ImageLoadingTransformer _parent; 199public Mapper(ImageLoadingTransformer parent, DataViewSchema inputSchema, bool type) 374/// <see cref="IEstimator{TTransformer}"/> for the <see cref="ImageLoadingTransformer"/>. 401public sealed class ImageLoadingEstimator : TrivialEstimator<ImageLoadingTransformer> 427internal ImageLoadingEstimator(IHostEnvironment env, ImageLoadingTransformer transformer, bool type = true)
Microsoft.ML.Tests (2)
ImagesTests.cs (2)
94var newCols = ((ImageLoadingTransformer)transformerChain.First()).Columns; 95var oldCols = ((ImageLoadingTransformer)model.First()).Columns;