mlx-bun library API
    Preparing search index...

    A captured numerical view supports multiple queries without appending KV again. It owns its tensor handles independently of later cache membership or precision changes. Query/mask inputs are borrowed; outputs are owned.

    interface KvAttentionView {
        attend(
            q: MlxArray,
            scale: number,
            mask: Mask,
            independentPositions?: boolean,
        ): MlxArray;
        dispose(): void;
    }

    Hierarchy (View Summary)

    Index