Function mult

  • Multiplies two tensors element-wise.

    Parameters

    • a: Tensor

      the first tensor to multiply

    • b: number | Vector | Tensor

      the second tensor to multiply

    Returns Tensor

    the product of the tensors