Function dot

  • Calculates the dot product of two matrices and/or vectors. Note: Only works when both operands are rank 1 or 2.

    Parameters

    • a: Tensor

      the first tensor in the dot operation

    • b: Vector | Tensor

      the second tensor in the dot operation

    Returns Tensor

    the dot product of the tensors