Instance Property

dimension

The number of dimensions in the vocabulary’s vector space.

Declaration

let dimension: Int

See Also

Describing a Word Embedding

let vocabularySize: Int

The number of strings in the vocabulary.

var model: MLModel

The word embedding contained within a Core ML model file stored in memory.

var description: String

A text representation of the word embedding.

var debugDescription: String

A text representation of the word embedding that’s suitable for output during debugging.

var playgroundDescription: Any

A description of the word embedding shown in a playground.