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