1 write to TypeSrc
Microsoft.ML.Data (1)
Transforms\ValueToKeyMappingTransformer.cs (1)
150
TypeSrc
= type;
16 references to TypeSrc
Microsoft.ML.Data (16)
Transforms\ValueToKeyMappingTransformer.cs (10)
541
var bldr = Builder.Create(infos[iinfo].
TypeSrc
, sortOrder);
553
var bldr = Builder.Create(infos[iinfo].
TypeSrc
, columns[iinfo].KeyOrdinality);
556
if (!termsFromFile.ItemType.Equals(infos[iinfo].
TypeSrc
.GetItemType()))
564
termsFromFile.ItemType, infos[iinfo].Name, infos[iinfo].
TypeSrc
.GetItemType());
599
var bldr = Builder.Create(infos[iinfo].
TypeSrc
, columns[iinfo].KeyOrdinality);
646
ch.Assert(termMap.Zip(infos, (tm, info) => tm.ItemType.Equals(info.
TypeSrc
.GetItemType())).All(x => x));
724
var type = _infos[i].
TypeSrc
;
824
var type = info.
TypeSrc
.GetItemType();
961
VectorDataViewType vectorType = info.
TypeSrc
as VectorDataViewType;
962
DataViewType itemType = vectorType?.ItemType ?? info.
TypeSrc
;
Transforms\ValueToKeyMappingTransformerImpl.cs (6)
457
var inType = info.
TypeSrc
.GetItemType();
829
_host.Assert(info.
TypeSrc
.GetItemType().Equals(map.ItemType));
833
_inputIsVector = info.
TypeSrc
is VectorDataViewType;
841
host.Assert(info.
TypeSrc
.GetItemType().Equals(map.ItemType));
910
Contracts.Assert(!(info.
TypeSrc
is VectorDataViewType));
939
int cv = info.
TypeSrc
.GetVectorSize();