mlx-bun library API
    Preparing search index...

    Ordinary router slice, with no compiled-trace form selection.

    Hierarchy

    • Router
      • PlainRouter
    Index
    eps: number
    layerIdx: number

    Decoder layer index (parsed from the weight prefix) — for E0 tracing.

    normWeight: MlxArray

    scale · hidden_size^-0.5, precomputed (identical ops to the per-call product in the reference: bf16 array × weak scalar).

    numExperts: number
    perExpertScale: MlxArray
    topK: number