Function quantile

  • Calculates the q-th quantile of a tensor.

    Parameters

    • t: Tensor

      the input tensor

    • q: number | number[]

      the quantile to compute

    Returns number | number[]

    the range