2 instantiations of ImageGrayscalingTransformer
Microsoft.ML.ImageAnalytics (2)
ImageGrayscale.cs (2)
113
return new
ImageGrayscalingTransformer
(host, ctx);
238
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(ImageGrayscalingEstimator)), new
ImageGrayscalingTransformer
(env, columns))
28 references to ImageGrayscalingTransformer
Microsoft.ML.ImageAnalytics (26)
EntryPoints\ImageAnalytics.cs (5)
55
[TlcModule.EntryPoint(Name = "Transforms.ImageGrayscale", Desc =
ImageGrayscalingTransformer
.Summary,
56
UserName =
ImageGrayscalingTransformer
.UserName, ShortName =
ImageGrayscalingTransformer
.LoaderSignature)]
57
public static CommonOutputs.TransformOutput ImageGrayscale(IHostEnvironment env,
ImageGrayscalingTransformer
.Options input)
60
var xf =
ImageGrayscalingTransformer
.Create(h, input, input.Data);
ImageGrayscale.cs (21)
16
[assembly: LoadableClass(
ImageGrayscalingTransformer
.Summary, typeof(IDataTransform), typeof(
ImageGrayscalingTransformer
), typeof(
ImageGrayscalingTransformer
.Options), typeof(SignatureDataTransform),
17
ImageGrayscalingTransformer
.UserName, "ImageGrayscaleTransform", "ImageGrayscale")]
19
[assembly: LoadableClass(
ImageGrayscalingTransformer
.Summary, typeof(IDataTransform), typeof(
ImageGrayscalingTransformer
), null, typeof(SignatureLoadDataTransform),
20
ImageGrayscalingTransformer
.UserName,
ImageGrayscalingTransformer
.LoaderSignature)]
22
[assembly: LoadableClass(typeof(
ImageGrayscalingTransformer
), null, typeof(SignatureLoadModel),
23
ImageGrayscalingTransformer
.UserName,
ImageGrayscalingTransformer
.LoaderSignature)]
25
[assembly: LoadableClass(typeof(IRowMapper), typeof(
ImageGrayscalingTransformer
), null, typeof(SignatureLoadRowMapper),
26
ImageGrayscalingTransformer
.UserName,
ImageGrayscalingTransformer
.LoaderSignature)]
33
/// <see cref="ITransformer"/> resulting from fitting an <see cref="
ImageGrayscalingTransformer
"/>.
73
loaderAssemblyName: typeof(
ImageGrayscalingTransformer
).Assembly.FullName);
107
private static
ImageGrayscalingTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
151
private readonly
ImageGrayscalingTransformer
_parent;
153
public Mapper(
ImageGrayscalingTransformer
parent, DataViewSchema inputSchema)
202
/// <see cref="IEstimator{TTransformer}"/> for the <see cref="
ImageGrayscalingTransformer
"/>.
229
public sealed class ImageGrayscalingEstimator : TrivialEstimator<
ImageGrayscalingTransformer
>
Microsoft.ML.Samples (1)
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
27
var
model = pipeline.Fit(data);
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
242
var
model = pipeline.Fit(data);