2 writes to Infos
Microsoft.ML.Data (2)
DataLoadSave\Text\TextLoader.cs (2)
754Infos = new ColInfo[cols.Length]; 924Infos = 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"/> 757var nameToInfoIndex = new Dictionary<string, int>(Infos.Length); 759for (int iinfo = 0; iinfo < Infos.Length; iinfo++) 835Infos[iinfo] = ColInfo.Create(name, itemType, segs, true); 849for (int iinfo = 0; iinfo < Infos.Length; iinfo++) 854segsAll.AddRange(Infos[iinfo].Segments); 892Infos[iinfoOther] = ColInfo.Create(cols[iinfoOther].Name.Trim(), typeOther, segsNew.ToArray(), true); 895_slotNames = new VBuffer<ReadOnlyMemory<char>>[Infos.Length]; 900Parser.ParseSlotNames(parent, _header, Infos, _slotNames); 927var nameToInfoIndex = new Dictionary<string, int>(Infos.Length); 984Infos[iinfo] = ColInfo.Create(name, itemType, segs, false); 988_slotNames = new VBuffer<ReadOnlyMemory<char>>[Infos.Length]; 993Parser.ParseSlotNames(parent, _header = result.AsMemory(), Infos, _slotNames); 1015ctx.Writer.Write(Infos.Length); 1016for (int iinfo = 0; iinfo < Infos.Length; iinfo++) 1018var info = Infos[iinfo]; 1046for (int i = 0; i < Infos.Length; ++i) 1048var info = Infos[i];
DataLoadSave\Text\TextLoaderCursor.cs (4)
57for (int i = 0; i < bindings.Infos.Length; i++) 61var info = bindings.Infos[i]; 112_getters = new Delegate[_bindings.Infos.Length]; 306Ch.Check(column.Index < _bindings.Infos.Length);
DataLoadSave\Text\TextLoaderParser.cs (1)
677_infos = parent._bindings.Infos;