KittenFrontRunner class final

Constructors

KittenFrontRunner.fromTensors({required ModelConfig config, required Map<String, MlxArray> tensors})
Creates a KittenFrontRunner from pre-loaded config and tensors.
factory
KittenFrontRunner.load(String snapshotPath)
factory

Properties

bert → KittenAlbert
final
bertEncoder → Linear
final
config → ModelConfig
final
hashCode → int
The hash code for this object.
no setterinherited
predictor → ProsodyPredictor
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tensors → Map<String, MlxArray>
final
textEncoder → TextEncoder
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(MlxArray inputIds, MlxArray refS, {double speed = 1.0}) → KittenFrontResult
toString() → String
A string representation of this object.
inherited

Operators

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