llama_beam_view class final
Beam search
- 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 - eob ↔ bool
-
Callback should set this to true when a beam is at end-of-beam.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- n_tokens ↔ int
-
getter/setter pair
- p ↔ double
-
Cumulative beam probability (renormalized relative to all beams)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tokens
↔ Pointer<
llama_token> -
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