TextLoader.Range 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| TextLoader.Range() | |
| TextLoader.Range(Int32) |
一個代表單一值的範圍。 會產生一個純量柱。 |
| TextLoader.Range(Int32, Nullable<Int32>) |
一個代表一組數值的範圍。 會產生向量欄位。 |
TextLoader.Range()
TextLoader.Range(Int32)
一個代表單一值的範圍。 會產生一個純量柱。
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>)
一個代表一組數值的範圍。 會產生向量欄位。
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
欄位的最小包含索引。
欄位的最大包含索引。 如果 null 表示應該 TextLoader 自動偵測該行的每一段,並讀取到最後。