2 writes to _columns
Microsoft.ML.ImageAnalytics (2)
VectorToImageTransform.cs (2)
183
_columns
= columns.ToArray();
247
_columns
= new VectorToImageConvertingEstimator.ColumnOptions[ColumnPairs.Length];
16 references to _columns
Microsoft.ML.ImageAnalytics (16)
VectorToImageTransform.cs (16)
176
internal IReadOnlyCollection<VectorToImageConvertingEstimator.ColumnOptions> Columns =>
_columns
.AsReadOnly();
248
for (int i = 0; i <
_columns
.Length; i++)
249
_columns
[i] = new VectorToImageConvertingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, ctx);
287
for (int i = 0; i <
_columns
.Length; i++)
288
_columns
[i].Save(ctx);
301
var inputColName =
_columns
[col].InputColumnName;
306
if (vectorType.GetValueCount() !=
_columns
[col].ImageHeight *
_columns
[col].ImageWidth *
_columns
[col].Planes)
307
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColName, new VectorDataViewType(vectorType.ItemType,
_columns
[col].ImageHeight,
_columns
[col].ImageWidth,
_columns
[col].Planes).ToString(), vectorType.ToString());
319
_types = ConstructTypes(_parent.
_columns
);
323
=> _parent.
_columns
.Select((x, idx) => new DataViewSchema.DetachedColumn(x.Name, _types[idx], null)).ToArray();
328
Host.Assert(0 <= iinfo && iinfo < _parent.
_columns
.Length);
331
var ex = _parent.
_columns
[iinfo];