mlx-bun library API
    Preparing search index...

    What the transcription engine needs of a speech-recognition graph: the faithful encoder/decoder, the optimized path, and the checkpoint facts window decoding and word timing read. The engine never names the class that implements it.

    interface WhisperGraph {
        alignmentHeads: [number, number][];
        dims: WhisperDims;
        dtype: Dtype;
        fast: WhisperFastPath;
        isMultilingual: boolean;
        decode(
            tokens: MlxArray,
            audioFeatures: MlxArray,
            cache: WhisperDecoderCache,
            opts?: { wantCrossQk?: boolean },
        ): { crossQk: (MlxArray | null)[]; logits: MlxArray };
        encode(mel: MlxArray): MlxArray;
        makeCache(): WhisperDecoderCache;
    }

    Implemented by

    Index
    alignmentHeads: [number, number][]

    Cross-attention heads (layer, head) used for word timestamps.

    dtype: Dtype

    The checkpoint's weight dtype (mel windows are cast to it).

    isMultilingual: boolean