3 instantiations of ImageLoadingTransformer
Microsoft.ML.ImageAnalytics (3)
ImageLoader.cs (3)
133
return 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)
329
Env.ComponentCatalog.RegisterAssembly(typeof(
ImageLoadingTransformer
).Assembly);
Microsoft.ML.ImageAnalytics (28)
EntryPoints\ImageAnalytics.cs (5)
16
[TlcModule.EntryPoint(Name = "Transforms.ImageLoader", Desc =
ImageLoadingTransformer
.Summary,
17
UserName =
ImageLoadingTransformer
.UserName, ShortName =
ImageLoadingTransformer
.LoaderSignature)]
18
public static CommonOutputs.TransformOutput ImageLoader(IHostEnvironment env,
ImageLoadingTransformer
.Options input)
21
var xf =
ImageLoadingTransformer
.Create(h, input, input.Data);
ImageLoader.cs (23)
21
[assembly: LoadableClass(
ImageLoadingTransformer
.Summary, typeof(IDataTransform), typeof(
ImageLoadingTransformer
), typeof(
ImageLoadingTransformer
.Options), typeof(SignatureDataTransform),
22
ImageLoadingTransformer
.UserName, "ImageLoaderTransform", "ImageLoader")]
24
[assembly: LoadableClass(
ImageLoadingTransformer
.Summary, typeof(IDataTransform), typeof(
ImageLoadingTransformer
), null, typeof(SignatureLoadDataTransform),
25
ImageLoadingTransformer
.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)
127
private static
ImageLoadingTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
133
return new ImageLoadingTransformer(env.Register(nameof(
ImageLoadingTransformer
)), ctx);
189
loaderAssemblyName: typeof(
ImageLoadingTransformer
).Assembly.FullName);
196
private readonly
ImageLoadingTransformer
_parent;
199
public Mapper(
ImageLoadingTransformer
parent, DataViewSchema inputSchema, bool type)
374
/// <see cref="IEstimator{TTransformer}"/> for the <see cref="
ImageLoadingTransformer
"/>.
401
public sealed class ImageLoadingEstimator : TrivialEstimator<
ImageLoadingTransformer
>
427
internal ImageLoadingEstimator(IHostEnvironment env,
ImageLoadingTransformer
transformer, bool type = true)
Microsoft.ML.Tests (2)
ImagesTests.cs (2)
94
var newCols = ((
ImageLoadingTransformer
)transformerChain.First()).Columns;
95
var oldCols = ((
ImageLoadingTransformer
)model.First()).Columns;