23 references to KeyDataViewType
Microsoft.ML.Core.Tests (1)
UnitTests\ColumnTypes.cs (1)
80tmp = new KeyDataViewType(rawType, kind.ToMaxInt());
Microsoft.ML.Data (16)
Data\SchemaDefinition.cs (2)
443itemType = new KeyDataViewType(dataType, dataType.ToMaxInt()); 445itemType = new KeyDataViewType(dataType, keyAttr.KeyCount.Count.GetValueOrDefault());
DataLoadSave\Binary\Codecs.cs (2)
1259type = new KeyDataViewType(itemType.RawType, itemType.RawType.ToMaxInt()); 1349type = new KeyDataViewType(itemType.RawType, count);
DataLoadSave\Database\DatabaseLoader.cs (3)
580itemType = new KeyDataViewType(kind.ToType(), count); 692keyType = new KeyDataViewType(rawType, rawType.ToMaxInt()); 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 (2)
64keyType = new KeyDataViewType(rawType, rawType.ToMaxInt()); 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);