Function range

  • Creates a tensor filled with numbers in the range provided.

    Parameters

    • min: number

      the lower bound (inclusive)

    • max: number

      the upper bound (exclusive)

    • Optional step: number

      (optional) the integer spacing between values

    Returns Tensor

    the filled tensor