1 write to TypeSrc
Microsoft.ML.Data (1)
Transforms\TransformBase.cs (1)
290TypeSrc = typeSrc;
19 references to TypeSrc
Microsoft.ML.Data (5)
Transforms\LabelIndicatorTransform.cs (5)
187ch.Assert(TestIsMulticlassLabel(info.TypeSrc) == null); 189if (info.TypeSrc.GetKeyCount() > 0) 202if (info.TypeSrc == NumberDataViewType.Single) 214if (info.TypeSrc == NumberDataViewType.Double) 226throw Host.ExceptNotSupp($"Label column type is not supported for binary remapping: {info.TypeSrc}. Supported types: key, float, double.");
Microsoft.ML.Transforms (14)
HashJoiningTransform.cs (11)
256Host.CheckDecode(Infos[i].TypeSrc is VectorDataViewType); 267slotMap[j].All(slot => 0 <= slot && slot < Infos[i].TypeSrc.GetValueCount())); 324Host.Assert(ex.SlotMap[i].All(slot => 0 <= slot && slot < Infos[iColumn].TypeSrc.GetValueCount())); 333if (colInfo.TypeSrc is VectorDataViewType vectorType) 419bool useDefaultSlotNames = !Source.Schema[Infos[iinfo].Source].HasSlotNames(Infos[iinfo].TypeSrc.GetVectorSize()); 426|| srcSlotNames.Length != Infos[iinfo].TypeSrc.GetValueCount(); 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 (3)
136var type = Infos[iinfo].TypeSrc; 185var type = Infos[iinfo].TypeSrc; 245if (Infos[iinfo].TypeSrc is VectorDataViewType)