18 references to KeyDataViewType
Microsoft.ML.Data (12)
Data\SchemaDefinition.cs (1)
445itemType = new KeyDataViewType(dataType, keyAttr.KeyCount.Count.GetValueOrDefault());
DataLoadSave\Binary\Codecs.cs (1)
1349type = new KeyDataViewType(itemType.RawType, count);
DataLoadSave\Database\DatabaseLoader.cs (2)
580itemType = new KeyDataViewType(kind.ToType(), count); 694keyType = new KeyDataViewType(rawType, keyCount.Count.GetValueOrDefault());
DataLoadSave\Text\TextLoader.cs (1)
962itemType = new KeyDataViewType(kind.ToType(), count);
DataView\ArrayDataViewBuilder.cs (1)
89_columns.Add(new AssignmentColumn<T1>(new KeyDataViewType(kind.ToType(), keyCount), values));
Evaluators\EvaluatorUtils.cs (1)
648var keyType = new KeyDataViewType(typeof(uint), keyCount);
Transforms\Hashing.cs (1)
165var itemType = new KeyDataViewType(typeof(uint), keyCount);
Transforms\TypeConverting.cs (1)
379itemType = new KeyDataViewType(kind.ToType(), count);
Transforms\ValueToKeyMappingTransformerImpl.cs (2)
1114var dstType = new KeyDataViewType(typeof(uint), srcType.Count); 1194var dstType = new KeyDataViewType(typeof(uint), srcType.Count);
Utilities\TypeParsingUtils.cs (1)
66keyType = new KeyDataViewType(rawType, keyCount.Count.GetValueOrDefault());
Microsoft.ML.DataView (2)
KeyDataViewType.cs (2)
60/// <see cref="KeyDataViewType.KeyDataViewType(Type, ulong)"/> constructor by taking an <see cref="int"/> for 74: this(type, (ulong)count)
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizer.cs (1)
744KeyDataViewType dstType = new KeyDataViewType(typeof(ulong), type.Count);
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
484new VectorDataViewType(new KeyDataViewType(typeof(uint), uint.MaxValue)).ToString(), labelCol.GetTypeString());
Microsoft.ML.Transforms (2)
HashJoiningTransform.cs (1)
150return new KeyDataViewType(typeof(uint), keyCount);
SvmLight\SvmLightLoader.cs (1)
644schemaDef[nameof(Indices.FeatureKeys)].ColumnType = new KeyDataViewType(typeof(uint), _featureCount);