TextLoader.Range 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TextLoader.Range() | |
TextLoader.Range(Int32) |
代表單一值的範圍。 將會產生純量資料行。 |
TextLoader.Range(Int32, Nullable<Int32>) |
代表一組值的範圍。 將會產生向量資料行。 |
TextLoader.Range()
public Range ();
Public Sub New ()
適用於
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 應該自動偵測行的尾端,並讀取到結尾為止。