Function mod

  • Performs modular (remainder) division on two tensors element-wise.

    Parameters

    • a: Tensor

      the tensor dividend

    • b: number | Tensor

      the tensor divisor

    Returns Tensor

    the remainder(s)