2 instantiations of ColumnOptions
Microsoft.ML.ImageAnalytics (2)
ImageResizer.cs (2)
129: this(env, new ImageResizingEstimator.ColumnOptions(outputColumnName, imageWidth, imageHeight, inputColumnName, resizing, cropAnchor)) 210_columns[i] = new ImageResizingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, width, height, ColumnPairs[i].inputColumnName, scale, anchor);
13 references to ColumnOptions
Microsoft.ML.ImageAnalytics (13)
ExtensionsCatalog.cs (3)
174/// or just crop it can be specified separately for each column loaded, through the <see cref="ImageResizingEstimator.ColumnOptions"/>. 177/// <param name="columnOptions">The <see cref="ImageResizingEstimator.ColumnOptions"/> describing how the transform handles each image resize column.</param> 185internal static ImageResizingEstimator ResizeImages(this TransformsCatalog catalog, params ImageResizingEstimator.ColumnOptions[] columnOptions)
ImageResizer.cs (10)
108private readonly ImageResizingEstimator.ColumnOptions[] _columns; 113internal IReadOnlyCollection<ImageResizingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 138internal ImageResizingTransformer(IHostEnvironment env, params ImageResizingEstimator.ColumnOptions[] columns) 144private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(ImageResizingEstimator.ColumnOptions[] columns) 159var cols = new ImageResizingEstimator.ColumnOptions[args.Columns.Length]; 199_columns = new ImageResizingEstimator.ColumnOptions[ColumnPairs.Length]; 240foreach (var col in _columns) 279var info = _parent._columns[iinfo]; 495internal ImageResizingEstimator(IHostEnvironment env, params ColumnOptions[] columns) 513foreach (var colInfo in Transformer.Columns)