Function add

  • Adds two tensors element-wise.

    Returns

    the sum of the tensors

    Parameters

    • a: Tensor

      the first tensor to be added

    • b: number | Vector | Tensor

      the second tensor to be added

    Returns Tensor

Generated using TypeDoc