ImageTypeAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows a member to be marked as a ImageDataViewType, primarily allowing one to set the shape of an image field.
public sealed class ImageTypeAttribute : Microsoft.ML.Data.DataViewTypeAttribute
type ImageTypeAttribute = class
inherit DataViewTypeAttribute
Public NotInheritable Class ImageTypeAttribute
Inherits DataViewTypeAttribute
- Inheritance
Constructors
ImageTypeAttribute() |
Create an image type without knowing its height and width. |
ImageTypeAttribute(Int32, Int32) |
Create an image type with known height and width. |
Methods
Equals(DataViewTypeAttribute) |
Images with the same width and height should equal. |
GetHashCode() |
Produce the same hash code for all images with the same height and the same width. |
Register() |