4 writes to Infos
Microsoft.ML.Data (4)
Transforms\TransformBase.cs (4)
507Infos = _bindings.Infos; 521Infos = _bindings.Infos; 535Infos = _bindings.Infos; 559Infos = _bindings.Infos;
82 references to Infos
Microsoft.ML.Data (43)
Transforms\LabelConvertTransform.cs (14)
85Contracts.AssertNonEmpty(Infos); 86Contracts.Assert(Infos.Length == Utils.Size(args.Columns)); 132Host.AssertNonEmpty(Infos); 139Contracts.Assert(0 <= iinfo && iinfo < Infos.Length); 146for (int iinfo = 0; iinfo < Infos.Length; iinfo++) 148using (var bldr = md.BuildMetadata(iinfo, Source.Schema, Infos[iinfo].Source, PassThrough)) 162Contracts.Assert(0 <= iinfo && iinfo < Infos.Length); 174Contracts.Assert(0 <= iinfo && iinfo < Infos.Length); 177int col = Infos[iinfo].Source; 185Host.Assert(0 <= iinfo && iinfo < Infos.Length); 186var srcSlotType = Infos[iinfo].SlotTypeSrc; 198Host.Assert(0 <= iinfo && iinfo < Infos.Length); 199Host.AssertValue(Infos[iinfo].SlotTypeSrc); 201var cursor = InputTranspose.GetSlotCursor(Infos[iinfo].Source);
Transforms\LabelIndicatorTransform.cs (12)
137Host.AssertNonEmpty(Infos); 138Host.Assert(Infos.Length == Utils.Size(options.Columns)); 139_classIndex = new int[Infos.Length]; 141for (int iinfo = 0; iinfo < Infos.Length; ++iinfo) 151Host.AssertNonEmpty(Infos); 153_classIndex = new int[Infos.Length]; 155for (int iinfo = 0; iinfo < Infos.Length; ++iinfo) 163Host.Assert(0 <= iinfo && iinfo < Infos.Length); 172ch.Assert(0 <= iinfo && iinfo < Infos.Length); 175var info = Infos[iinfo]; 183ch.Assert(0 <= iinfo && iinfo < Infos.Length); 185var info = Infos[iinfo];
Transforms\TransformBase.cs (17)
508Metadata = new MetadataDispatcher(Infos.Length); 522Metadata = new MetadataDispatcher(Infos.Length); 536Metadata = new MetadataDispatcher(Infos.Length); 550OneToOneColumn[] map = transform.Infos 560Metadata = new MetadataDispatcher(Infos.Length); 581for (int iinfo = 0; iinfo < Infos.Length; ++iinfo) 583var info = Infos[iinfo]; 608for (int iinfo = 0; iinfo < Infos.Length; ++iinfo) 610ColInfo info = Infos[iinfo]; 643Host.Assert(Infos[iinfo] == info); 662Host.Assert(0 <= iinfo && iinfo < Infos.Length); 670Host.Assert(0 <= iinfo && iinfo < Infos.Length); 682Host.Assert(0 <= iinfo && iinfo < Infos.Length); 683active[Infos[iinfo].Source] = true; 697Host.Assert(0 <= iinfo && iinfo < Infos.Length); 698int src = Infos[iinfo].Source; 861_getters = new Delegate[parent.Infos.Length];
Microsoft.ML.Transforms (39)
HashJoiningTransform.cs (24)
201Host.AssertNonEmpty(Infos); 202Host.Assert(Infos.Length == Utils.Size(args.Columns)); 207_exes = new ColumnOptions[Infos.Length]; 208for (int i = 0; i < Infos.Length; i++) 218Infos[i]); 239Host.AssertNonEmpty(Infos); 241_exes = new ColumnOptions[Infos.Length]; 242for (int i = 0; i < Infos.Length; i++) 256Host.CheckDecode(Infos[i].TypeSrc is VectorDataViewType); 267slotMap[j].All(slot => 0 <= slot && slot < Infos[i].TypeSrc.GetValueCount())); 307for (int iColumn = 0; iColumn < Infos.Length; iColumn++) 324Host.Assert(ex.SlotMap[i].All(slot => 0 <= slot && slot < Infos[iColumn].TypeSrc.GetValueCount())); 411Host.Assert(0 <= iinfo && iinfo < Infos.Length); 418var srcColumnName = Source.Schema[Infos[iinfo].Source].Name; 419bool useDefaultSlotNames = !Source.Schema[Infos[iinfo].Source].HasSlotNames(Infos[iinfo].TypeSrc.GetVectorSize()); 423Source.Schema[Infos[iinfo].Source].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref srcSlotNames); 426|| srcSlotNames.Length != Infos[iinfo].TypeSrc.GetValueCount(); 470Host.Assert(0 <= iinfo && iinfo < Infos.Length); 479if (!(Infos[iinfo].TypeSrc is VectorDataViewType vectorType)) 481itemType = Infos[iinfo].TypeSrc; 505Host.Assert(!(Infos[iinfo].TypeSrc is VectorDataViewType)); 529VectorDataViewType srcType = Infos[iinfo].TypeSrc as VectorDataViewType; 577VectorDataViewType srcType = Infos[iinfo].TypeSrc as VectorDataViewType;
MissingValueIndicatorTransform.cs (15)
79Host.AssertNonEmpty(Infos); 80Host.Assert(Infos.Length == Utils.Size(args.Columns)); 93Host.AssertNonEmpty(Infos); 133var types = new VectorDataViewType[Infos.Length]; 134for (int iinfo = 0; iinfo < Infos.Length; iinfo++) 136var type = Infos[iinfo].TypeSrc; 150(typeNames = Source.Schema[Infos[iinfo].Source].Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.SlotNames)?.Type as VectorDataViewType) == null || 171Host.Assert(0 <= iinfo && iinfo < Infos.Length); 177Host.Assert(0 <= iinfo && iinfo < Infos.Length); 185var type = Infos[iinfo].TypeSrc; 189var columnName = Source.Schema[Infos[iinfo].Source].Name; 199var typeNames = Source.Schema[Infos[iinfo].Source].Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.SlotNames)?.Type as VectorDataViewType; 204Source.Schema[Infos[iinfo].Source].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names); 241Host.Assert(0 <= iinfo && iinfo < Infos.Length); 245if (Infos[iinfo].TypeSrc is VectorDataViewType)