OnnxMapTypeAttribute 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.
To declare OnnxMapType column in IDataView as a field
in a class
, the associated field should be marked with OnnxMapTypeAttribute.
Its uses are similar to those of VectorTypeAttribute and other class
es derived
from DataViewTypeAttribute.
public sealed class OnnxMapTypeAttribute : Microsoft.ML.Data.DataViewTypeAttribute
type OnnxMapTypeAttribute = class
inherit DataViewTypeAttribute
Public NotInheritable Class OnnxMapTypeAttribute
Inherits DataViewTypeAttribute
- Inheritance
Constructors
OnnxMapTypeAttribute() |
Create a map (aka dictionary) type. |
OnnxMapTypeAttribute(Type, Type) |
Create a map (aka dictionary) type. A map is a collection of key-value
pairs. |
Methods
Equals(DataViewTypeAttribute) |
Map types with the same key type and the same value type should be equal. |
GetHashCode() |
Produce the same hash code for map types with the same key type and the same value type. |
Register() |
An implementation of Register(). |