OnnxSequenceTypeAttribute Class

Definition

To declare OnnxSequenceType column in IDataView as a field in a class, the associated field should be marked with OnnxSequenceTypeAttribute. Its uses are similar to those of VectorTypeAttribute and other classes derived from DataViewTypeAttribute.

public sealed class OnnxSequenceTypeAttribute : Microsoft.ML.Data.DataViewTypeAttribute
type OnnxSequenceTypeAttribute = class
    inherit DataViewTypeAttribute
Public NotInheritable Class OnnxSequenceTypeAttribute
Inherits DataViewTypeAttribute
Inheritance
OnnxSequenceTypeAttribute

Constructors

OnnxSequenceTypeAttribute()
Obsolete.

Create a sequence type.

OnnxSequenceTypeAttribute(Type)

Create a elemType-sequence type.

Methods

Equals(DataViewTypeAttribute)

Sequence types with the same element type should be equal.

GetHashCode()

Produce the same hash code for sequence types with the same element type.

Register()

An implementation of Register().

Applies to