TransducerKeywordDecoder class final
Constructors
- TransducerKeywordDecoder({required KwsOnnxBackend backend, required ContextGraph graph, int maxActivePaths = 4, int trailingBlankFrames = 1})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxActivePaths → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailingBlankFrames → int
-
final
- trailingBlanks → int
-
no setter
Methods
-
decode(
KwsEncoderOutput encoder) → Future< List< KeywordDetection> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
{bool preserveTimeline = false}) → void - Clears hypotheses without losing the input clock on an internal silence reset. Public reset/setKeywords starts a new timeline.
-
setGraph(
ContextGraph graph) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- blankId → const int
- contextSize → const int
- joinerDimension → const int
- unknownId → const int
- vocabSize → const int