TextLoader.Range Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TextLoader.Range() | |
TextLoader.Range(Int32) |
A range representing a single value. Will result in a scalar column. |
TextLoader.Range(Int32, Nullable<Int32>) |
A range representing a set of values. Will result in a vector column. |
TextLoader.Range()
public Range ();
Public Sub New ()
Applies to
TextLoader.Range(Int32)
A range representing a single value. Will result in a scalar column.
public Range (int index);
new Microsoft.ML.Data.TextLoader.Range : int -> Microsoft.ML.Data.TextLoader.Range
Public Sub New (index As Integer)
Parameters
- index
- Int32
The index of the field of the text file to read.
Applies to
TextLoader.Range(Int32, Nullable<Int32>)
A range representing a set of values. Will result in a vector column.
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))
Parameters
- min
- Int32
The minimum inclusive index of the column.
The maximum-inclusive index of the column. If null
indicates that the TextLoader should auto-detect the legnth
of the lines, and read until the end.