jax-js
    Preparing search index...
    • Add padding (zeros) to an array.

      The width argument is either an integer or pair of integers, in which case all axes are padded with the same width. Or if it is an array of pairs, each pair specifies the padding for its corresponding axis.

      Parameters

      • x: ArrayLike
      • width: number | [number, number] | [number, number][]

      Returns Array