MpEmbeddingResult class final
Defines embedding results of a model.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
embeddings
↔ Pointer<
MpEmbedding> -
The embedding results for each head of the model.
getter/setter pair
- embeddings_count ↔ int
-
Keep the count of embeddings.
getter/setter pair
- has_timestamp_ms ↔ bool
-
Specifies whether the timestamp contains a valid value.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp_ms ↔ int
-
The optional timestamp (in milliseconds) of the start of the chunk of data
corresponding to these results.
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
Static Methods
-
$allocate(
Allocator $allocator, {required Pointer< MpEmbedding> embeddings, required int embeddings_count, required int timestamp_ms, required bool has_timestamp_ms}) → Pointer<ImageEmbedderResult>