mlx-bun library API
    Preparing search index...

    Ordinary layer-input slices; trace slices have their own named layer.

    Hierarchy (View Summary)

    Index
    modelProjection: QuantizedLinear
    projectionNorm: RMSNorm
    width: number

    Each layer's input width.

    • Layer i's input [B, L, width] (owned) from the [B, L, nLayers, width] tensor compute returned (borrowed). A compiled-decode trace slices at an array start, which replays at every step.

      Parameters

      • perLayer: MlxArray
      • i: number
      • B: number
      • L: number

      Returns MlxArray