MpEmbedding class final

MpEmbedding: one head's vector, as floats or quantized bytes.

Inheritance
Implemented types
Available extensions

Constructors

MpEmbedding()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
floatEmbedding ↔ Pointer<Float>
The float vector, or null when the embedder quantizes.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headIndex ↔ int
The index of the embedder head (output tensor).
getter/setter pair
headName ↔ Pointer<Char>
The head's name from the model metadata, or null.
getter/setter pair
quantizedEmbedding ↔ Pointer<Uint8>
The scalar-quantized vector, or null when it does not.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valuesCount ↔ int
The number of values in the vector.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited