OnnxMapTypeAttribute 類別

定義

若要將 中的資料行宣告 OnnxMapType 為 中的 class 欄位,相關聯的欄位應該標示為 OnnxMapTypeAttributeIDataView 其用法類似于 VectorTypeAttribute 衍生自 DataViewTypeAttributeclass 和其他 es。

public sealed class OnnxMapTypeAttribute : Microsoft.ML.Data.DataViewTypeAttribute
type OnnxMapTypeAttribute = class
    inherit DataViewTypeAttribute
Public NotInheritable Class OnnxMapTypeAttribute
Inherits DataViewTypeAttribute
繼承
OnnxMapTypeAttribute

建構函式

OnnxMapTypeAttribute()

建立地圖 (也稱為字典) 類型。

OnnxMapTypeAttribute(Type, Type)

建立地圖 (也稱為字典) 類型。 對應是索引鍵/值組的集合。 keyType 會指定索引鍵的類型,而 valueType 是值的型別。

方法

Equals(DataViewTypeAttribute)

對應具有相同索引鍵類型和相同實值型別的類型應該相等。

GetHashCode()

針對具有相同索引鍵類型和相同實數值型別的對應類型,產生相同的雜湊碼。

Register()

的實作 Register()

適用於