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)
176internal IReadOnlyCollection<VectorToImageConvertingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 248for (int i = 0; i < _columns.Length; i++) 249_columns[i] = new VectorToImageConvertingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, ctx); 287for (int i = 0; i < _columns.Length; i++) 288_columns[i].Save(ctx); 301var inputColName = _columns[col].InputColumnName; 306if (vectorType.GetValueCount() != _columns[col].ImageHeight * _columns[col].ImageWidth * _columns[col].Planes) 307throw 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(); 328Host.Assert(0 <= iinfo && iinfo < _parent._columns.Length); 331var ex = _parent._columns[iinfo];