|
using System.Collections.Generic;
using Newtonsoft.Json;
using SweepableEstimator = Microsoft.ML.AutoML.SweepableEstimator;
using Microsoft.ML.AutoML.CodeGen;
using ColorsOrder = Microsoft.ML.Transforms.Image.ImagePixelExtractingEstimator.ColorsOrder;
using ColorBits = Microsoft.ML.Transforms.Image.ImagePixelExtractingEstimator.ColorBits;
using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind;
using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
using Microsoft.ML.SearchSpace;
namespace Microsoft.ML.AutoML.CodeGen
{
internal partial class ExtractPixels : SweepableEstimator<ExtractPixelsOption>
{
public ExtractPixels(ExtractPixelsOption defaultOption, SearchSpace<ExtractPixelsOption> searchSpace = null)
{
this.TParameter = defaultOption;
this.SearchSpace = searchSpace;
this.EstimatorType = EstimatorType.ExtractPixels;
}
internal ExtractPixels()
{
this.EstimatorType = EstimatorType.ExtractPixels;
this.TParameter = new ExtractPixelsOption();
}
internal override IEnumerable<string> CSharpUsingStatements
{
get => new string[] {"using Microsoft.ML;", "using Microsoft.ML.Transforms.Image;", };
}
internal override IEnumerable<string> NugetDependencies
{
get => new string[] {"Microsoft.ML", "Microsoft.ML.ImageAnalytics", };
}
internal override string FunctionName
{
get => "Transforms.ExtractPixels";
}
}
}
|