語言

TextLoader.Range 建構函式

定義

多載

名稱 Description
TextLoader.Range()
TextLoader.Range(Int32)

一個代表單一值的範圍。 會產生一個純量柱。

TextLoader.Range(Int32, Nullable<Int32>)

一個代表一組數值的範圍。 會產生向量欄位。

TextLoader.Range()

來源:
TextLoader.cs
來源:
TextLoader.cs
來源:
TextLoader.cs
public Range();
Public Sub New ()

適用於

TextLoader.Range(Int32)

來源:
TextLoader.cs
來源:
TextLoader.cs
來源:
TextLoader.cs

一個代表單一值的範圍。 會產生一個純量柱。

public Range(int index);
new Microsoft.ML.Data.TextLoader.Range : int -> Microsoft.ML.Data.TextLoader.Range
Public Sub New (index As Integer)

參數

index
Int32

文字檔案欄位的索引,以閱讀。

適用於

TextLoader.Range(Int32, Nullable<Int32>)

來源:
TextLoader.cs
來源:
TextLoader.cs
來源:
TextLoader.cs

一個代表一組數值的範圍。 會產生向量欄位。

public Range(int min, int? max);
new Microsoft.ML.Data.TextLoader.Range : int * Nullable<int> -> Microsoft.ML.Data.TextLoader.Range
Public Sub New (min As Integer, max As Nullable(Of Integer))

參數

min
Int32

欄位的最小包含索引。

max
Nullable<Int32>

欄位的最大包含索引。 如果 null 表示應該 TextLoader 自動偵測該行的每一段,並讀取到最後。

適用於