19 references to VectorDataViewType
Microsoft.ML.Core (1)
Data\AnnotationUtils.cs (1)
157return new VectorDataViewType(NumberDataViewType.Int32, rangeCount, 2);
Microsoft.ML.Core.Tests (3)
UnitTests\ColumnTypes.cs (3)
45tmp2 = new VectorDataViewType(tmp, size, size1); 72tmp2 = new VectorDataViewType(tmp, size, size1); 92tmp2 = new VectorDataViewType(tmp, size, size1);
Microsoft.ML.Data (2)
Data\SchemaDefinition.cs (1)
461columnType = new VectorDataViewType(itemType, dims);
Transforms\KeyToVector.cs (1)
262_types[i] = new VectorDataViewType(NumberDataViewType.Single, valueCount, keyCount);
Microsoft.ML.ImageAnalytics (3)
ImagePixelExtractor.cs (2)
470types[i] = new VectorDataViewType(column.OutputAsFloatArray ? NumberDataViewType.Single : NumberDataViewType.Byte, height, width, column.Planes); 472types[i] = new VectorDataViewType(column.OutputAsFloatArray ? NumberDataViewType.Single : NumberDataViewType.Byte, column.Planes, height, width);
VectorToImageTransform.cs (1)
307throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColName, new VectorDataViewType(vectorType.ItemType, _columns[col].ImageHeight, _columns[col].ImageWidth, _columns[col].Planes).ToString(), vectorType.ToString());
Microsoft.ML.OnnxTransformer (2)
OnnxTypeParser.cs (1)
239return new VectorDataViewType((PrimitiveDataViewType)GetScalarDataViewType(typeProto.TensorType.ElemType), shape.ToArray());
OnnxUtils.cs (1)
327dataViewType = new VectorDataViewType(vectorType.ItemType, shapeDictionary[name]);
Microsoft.ML.StandardTrainers (3)
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (3)
452var typeLabelByFea = new VectorDataViewType(NumberDataViewType.Single, _labelHistogram.Length, _featureHistogram[0].Length); 453var typeLabelByOne = new VectorDataViewType(NumberDataViewType.Single, _labelHistogram.Length, 1); 466var isFeaturePresent = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Single, 1, _featureHistogram[0].Length), "isFeaturePresent");
Microsoft.ML.TensorFlow (3)
TensorflowTransform.cs (1)
421outputTypes[i] = new VectorDataViewType(type, dims);
TensorflowUtils.cs (2)
99columnType = new VectorDataViewType(mlType, tensorShape[0] > 0 ? tensorShape : tensorShape.Skip(1).ToArray()); 109columnType = new VectorDataViewType(mlType, tensorShape);
Microsoft.ML.TensorFlow.Tests (1)
TensorFlowEstimatorTests.cs (1)
215Assert.Equal(new VectorDataViewType(NumberDataViewType.Single, 0, 10), schema["Output"].Type);
Microsoft.ML.Transforms (1)
KeyToVectorMapping.cs (1)
185_types[i] = new VectorDataViewType(NumberDataViewType.Single, srcValueCount, _bitsPerKey[i]);