1 write to Dimension
Microsoft.ML.Transforms (1)
Text\WordEmbeddingsExtractor.cs (1)
105
Dimension
= dimension;
15 references to Dimension
Microsoft.ML.Transforms (15)
Text\WordEmbeddingsExtractor.cs (15)
112
ch.Assert(wordVector.Length ==
Dimension
);
125
WordVectors.CopyTo(str.Id *
Dimension
, wordVector,
Dimension
);
324
_outputType = new VectorDataViewType(NumberDataViewType.Single, 3 * _parent._currentVocab.
Dimension
);
422
var shapeD = new long[] { _parent._currentVocab.GetNumWords() + 3, _parent._currentVocab.
Dimension
};
427
tensorD.AddRange(Enumerable.Repeat(0.0f, _parent._currentVocab.
Dimension
));
429
tensorD.AddRange(Enumerable.Repeat(float.MaxValue, _parent._currentVocab.
Dimension
));
431
tensorD.AddRange(Enumerable.Repeat(float.MinValue, _parent._currentVocab.
Dimension
));
562
int dimension = _parent._currentVocab.
Dimension
;
563
float[] wordVector = new float[_parent._currentVocab.
Dimension
];
660
dimension = model.
Dimension
;
671
dimension = modelObject.
Dimension
;
699
if (model.
Dimension
!= dimension)
700
ch.Warning($"Dimension mismatch while reading model file: '{_modelFileNameWithPath}', line number {parsedLine.lineNumber}, expected dimension = {model.
Dimension
}, received dimension = {dimension}");
711
if (model.
Dimension
== dimension)