Function complex

  • Creates a complex tensor with the given real and imaginary components.

    Returns

    the complex tensor

    Parameters

    • real: number | number[] | Tensor

      the real component(s)

    • imag: number | number[] | Tensor

      the imaginary component(s)

    Returns Tensor

Generated using TypeDoc