2 writes to Infos
Microsoft.ML.Data (2)
DataLoadSave\Text\TextLoader.cs (2)
754
Infos
= new ColInfo[cols.Length];
924
Infos
= new ColInfo[cinfo];
24 references to Infos
Microsoft.ML.Data (24)
DataLoadSave\Text\TextLoader.cs (19)
688
/// <see cref="
Infos
"/>[i] stores the i-th column's name and type. Columns are loaded from the input text file.
692
/// <see cref="
Infos
"/>[i] stores the i-th column's metadata, named <see cref="AnnotationUtils.Kinds.SlotNames"/>
757
var nameToInfoIndex = new Dictionary<string, int>(
Infos
.Length);
759
for (int iinfo = 0; iinfo <
Infos
.Length; iinfo++)
835
Infos
[iinfo] = ColInfo.Create(name, itemType, segs, true);
849
for (int iinfo = 0; iinfo <
Infos
.Length; iinfo++)
854
segsAll.AddRange(
Infos
[iinfo].Segments);
892
Infos
[iinfoOther] = ColInfo.Create(cols[iinfoOther].Name.Trim(), typeOther, segsNew.ToArray(), true);
895
_slotNames = new VBuffer<ReadOnlyMemory<char>>[
Infos
.Length];
900
Parser.ParseSlotNames(parent, _header,
Infos
, _slotNames);
927
var nameToInfoIndex = new Dictionary<string, int>(
Infos
.Length);
984
Infos
[iinfo] = ColInfo.Create(name, itemType, segs, false);
988
_slotNames = new VBuffer<ReadOnlyMemory<char>>[
Infos
.Length];
993
Parser.ParseSlotNames(parent, _header = result.AsMemory(),
Infos
, _slotNames);
1015
ctx.Writer.Write(
Infos
.Length);
1016
for (int iinfo = 0; iinfo <
Infos
.Length; iinfo++)
1018
var info =
Infos
[iinfo];
1046
for (int i = 0; i <
Infos
.Length; ++i)
1048
var info =
Infos
[i];
DataLoadSave\Text\TextLoaderCursor.cs (4)
57
for (int i = 0; i < bindings.
Infos
.Length; i++)
61
var info = bindings.
Infos
[i];
112
_getters = new Delegate[_bindings.
Infos
.Length];
306
Ch.Check(column.Index < _bindings.
Infos
.Length);
DataLoadSave\Text\TextLoaderParser.cs (1)
677
_infos = parent._bindings.
Infos
;