13 instantiations of ImageDataViewType
Microsoft.ML.Core.Tests (1)
UnitTests\ColumnTypes.cs (1)
105
var tmp4 = new
ImageDataViewType
(height, width);
Microsoft.ML.ImageAnalytics (9)
ImageGrayscale.cs (1)
255
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName, new
ImageDataViewType
().ToString(), col.GetTypeString());
ImageLoader.cs (2)
363
return new
ImageDataViewType
();
449
result[outputColumnName] = new SchemaShape.Column(outputColumnName, SchemaShape.Column.VectorKind.Scalar, new
ImageDataViewType
(), false);
ImagePixelExtractor.cs (1)
818
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName, new
ImageDataViewType
().ToString(), col.GetTypeString());
ImageResizer.cs (2)
465
Type = new
ImageDataViewType
(ImageHeight, ImageWidth);
518
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName, new
ImageDataViewType
().ToString(), col.GetTypeString());
ImageType.cs (1)
66
DataViewTypeManager.Register(new
ImageDataViewType
(Height, Width), typeof(MLImage), this);
VectorToImageTransform.cs (2)
425
return columns.Select(c => new
ImageDataViewType
(c.ImageHeight, c.ImageWidth)).ToArray();
754
var itemType = new
ImageDataViewType
(colInfo.ImageHeight, colInfo.ImageWidth);
Microsoft.ML.TorchSharp (3)
AutoFormerV2\ObjectDetectionTrainer.cs (3)
496
new
ImageDataViewType
().ToString(), imageCol.GetTypeString());
578
if (imageCol.ItemType != new
ImageDataViewType
())
580
new
ImageDataViewType
().ToString(), imageCol.GetTypeString());
17 references to ImageDataViewType
Microsoft.ML.Core.Tests (1)
UnitTests\ColumnTypes.cs (1)
105
var
tmp4 = new ImageDataViewType(height, width);
Microsoft.ML.ImageAnalytics (16)
ExtensionsCatalog.cs (1)
189
/// Converts vectors of pixels into <see cref="
ImageDataViewType
"/> representation.
ImageGrayscale.cs (2)
145
if (!(inputSchema[srcCol].Type is
ImageDataViewType
))
254
if (!(col.ItemType is
ImageDataViewType
) || col.Kind != SchemaShape.Column.VectorKind.Scalar)
ImagePixelExtractor.cs (5)
270
var
imageType = inputSchema[srcCol].Type as
ImageDataViewType
;
460
var
type = InputSchema[ColMapNewToOld[i]].Type as
ImageDataViewType
;
817
if (!(col.ItemType is
ImageDataViewType
) || col.Kind != SchemaShape.Column.VectorKind.Scalar)
ImageResizer.cs (2)
255
if (!(inputSchema[srcCol].Type is
ImageDataViewType
))
517
if (!(col.ItemType is
ImageDataViewType
) || col.Kind != SchemaShape.Column.VectorKind.Scalar)
ImageType.cs (2)
13
/// Allows a member to be marked as a <see cref="
ImageDataViewType
"/>, primarily allowing one to set
94
if (!(other is
ImageDataViewType
tmp))
VectorToImageTransform.cs (4)
313
private readonly
ImageDataViewType
[] _types;
330
var
type = _types[iinfo];
423
private static
ImageDataViewType
[] ConstructTypes(VectorToImageConvertingEstimator.ColumnOptions[] columns)
754
var
itemType = new ImageDataViewType(colInfo.ImageHeight, colInfo.ImageWidth);