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