47 references to VariableVector
Microsoft.ML.Core (2)
Data\IEstimator.cs (2)
116
else if (Kind == VectorKind.
VariableVector
)
158
vecKind = Column.VectorKind.
VariableVector
;
Microsoft.ML.Data (9)
DataLoadSave\FakeSchema.cs (1)
52
if (column.Kind == SchemaShape.Column.VectorKind.
VariableVector
)
Transforms\ColumnConcatenatingEstimator.cs (2)
122
varVector |= col.Kind == SchemaShape.Column.VectorKind.
VariableVector
;
127
var vecKind = varVector ? SchemaShape.Column.VectorKind.
VariableVector
:
Transforms\KeyToVector.cs (3)
831
if (((colInfo.OutputCountVector && col.IsKey) || col.Kind != SchemaShape.Column.VectorKind.
VariableVector
) && keyMeta.ItemType is TextDataViewType)
839
col.Kind == SchemaShape.Column.VectorKind.
VariableVector
&& !colInfo.OutputCountVector ? SchemaShape.Column.VectorKind.
VariableVector
: SchemaShape.Column.VectorKind.Vector,
Transforms\Normalizer.cs (1)
353
if (col.Kind == SchemaShape.Column.VectorKind.
VariableVector
)
Transforms\ValueMapping.cs (2)
102
vectorKind = SchemaShape.Column.VectorKind.
VariableVector
;
117
if (originalColumn.Kind == SchemaShape.Column.VectorKind.
VariableVector
||
Microsoft.ML.ImageAnalytics (1)
ImageLoader.cs (1)
451
result[outputColumnName] = new SchemaShape.Column(outputColumnName, SchemaShape.Column.VectorKind.
VariableVector
, NumberDataViewType.Byte, false);
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
1087
: SchemaShape.Column.VectorKind.
VariableVector
, Transformer.OutputTypes[i].GetItemType(), false);
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
1048
: SchemaShape.Column.VectorKind.
VariableVector
, _outputTypes[i].GetItemType(), false);
Microsoft.ML.Tests (2)
Transformers\ValueMappingTests.cs (2)
111
Assert.Equal(SchemaShape.Column.VectorKind.
VariableVector
, originalColumn.Kind);
193
Assert.Equal(SchemaShape.Column.VectorKind.
VariableVector
, originalColumn.Kind);
Microsoft.ML.TorchSharp (13)
AutoFormerV2\ObjectDetectionTrainer.cs (8)
464
outColumns[Option.PredictedLabelColumnName] = new SchemaShape.Column(Option.PredictedLabelColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
467
outColumns[Option.PredictedBoundingBoxColumnName] = new SchemaShape.Column(Option.PredictedBoundingBoxColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
470
outColumns[Option.ScoreColumnName] = new SchemaShape.Column(Option.ScoreColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
482
if (labelCol.Kind != SchemaShape.Column.VectorKind.
VariableVector
|| labelCol.ItemType.RawType != typeof(UInt32))
488
if (boundingBoxCol.Kind != SchemaShape.Column.VectorKind.
VariableVector
|| boundingBoxCol.ItemType.RawType != typeof(Single))
562
outColumns[Options.PredictedLabelColumnName] = new SchemaShape.Column(Options.PredictedLabelColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
565
outColumns[Options.PredictedBoundingBoxColumnName] = new SchemaShape.Column(Options.PredictedBoundingBoxColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
568
outColumns[Options.ScoreColumnName] = new SchemaShape.Column(Options.ScoreColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
NasBert\NasBertTrainer.cs (1)
350
outColumns[Option.PredictionColumnName] = new SchemaShape.Column(Option.PredictionColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
Roberta\QATrainer.cs (4)
519
outColumns[Option.PredictedAnswerColumnName] = new SchemaShape.Column(Option.PredictedAnswerColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
522
outColumns[Option.ScoreColumnName] = new SchemaShape.Column(Option.ScoreColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
606
outColumns[Options.PredictedAnswerColumnName] = new SchemaShape.Column(Options.PredictedAnswerColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
609
outColumns[Options.ScoreColumnName] = new SchemaShape.Column(Options.ScoreColumnName, SchemaShape.Column.VectorKind.
VariableVector
,
Microsoft.ML.Transforms (16)
CountFeatureSelection.cs (1)
174
if (col.Kind == SchemaShape.Column.VectorKind.
VariableVector
)
CustomMappingTransformer.cs (1)
270
|| vecKind == SchemaShape.Column.VectorKind.
VariableVector
&& column.Kind == SchemaShape.Column.VectorKind.Scalar)
Dracula\CountTableTransformer.cs (1)
332
if (col.Kind == SchemaShape.Column.VectorKind.
VariableVector
)
KeyToVectorMapping.cs (3)
480
if (col.Kind != SchemaShape.Column.VectorKind.
VariableVector
&& keyMeta.ItemType is TextDataViewType)
485
col.Kind == SchemaShape.Column.VectorKind.
VariableVector
? SchemaShape.Column.VectorKind.
VariableVector
: SchemaShape.Column.VectorKind.Vector,
MissingValueDroppingTransformer.cs (1)
51
var col = new SchemaShape.Column(outputColumnName, SchemaShape.Column.VectorKind.
VariableVector
, originalColumn.ItemType, originalColumn.IsKey, originalColumn.Annotations);
MutualInformationFeatureSelection.cs (1)
241
if (col.Kind == SchemaShape.Column.VectorKind.
VariableVector
)
StatefulCustomMappingTransformer.cs (1)
403
|| vecKind == SchemaShape.Column.VectorKind.
VariableVector
&& column.Kind == SchemaShape.Column.VectorKind.Scalar)
Text\StopWordsRemovingTransformer.cs (2)
679
result[colInfo.Name] = new SchemaShape.Column(colInfo.Name, SchemaShape.Column.VectorKind.
VariableVector
, TextDataViewType.Instance, false);
1247
result[colInfo.outputColumnName] = new SchemaShape.Column(colInfo.outputColumnName, SchemaShape.Column.VectorKind.
VariableVector
, TextDataViewType.Instance, false);
Text\TextFeaturizingEstimator.cs (1)
654
result[name] = new SchemaShape.Column(name, SchemaShape.Column.VectorKind.
VariableVector
, TextDataViewType.Instance, false);
Text\TextNormalizing.cs (1)
588
result[colInfo.outputColumnName] = new SchemaShape.Column(colInfo.outputColumnName, col.Kind == SchemaShape.Column.VectorKind.Scalar ? SchemaShape.Column.VectorKind.Scalar : SchemaShape.Column.VectorKind.
VariableVector
, col.ItemType, false);
Text\TokenizingByCharacters.cs (1)
696
result[colInfo.outputColumnName] = new SchemaShape.Column(colInfo.outputColumnName, SchemaShape.Column.VectorKind.
VariableVector
, NumberDataViewType.UInt16, true, new SchemaShape(metadata.ToArray()));
Text\WordEmbeddingsExtractor.cs (1)
938
if (!(col.ItemType is TextDataViewType) || (col.Kind != SchemaShape.Column.VectorKind.
VariableVector
&& col.Kind != SchemaShape.Column.VectorKind.Vector))
Text\WordTokenizing.cs (1)
540
result[colInfo.Name] = new SchemaShape.Column(colInfo.Name, SchemaShape.Column.VectorKind.
VariableVector
, col.ItemType, false);
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (1)
1273
: SchemaShape.Column.VectorKind.
VariableVector
, _outputTypes[i].GetItemType(), false);
ImageClassificationTrainer.cs (1)
527
new SchemaShape.Column(options.FeatureColumnName, SchemaShape.Column.VectorKind.
VariableVector
,