[object Object]

[object Object][object Object]undefined
[object Object]
  • Description: Performs orthogonal decomposition on the input tensor.

  • Formula:

    A=QRA = QR

    [object Object] is the input tensor with at least two dimensions. [object Object] can be expressed as the product of the orthogonal matrix [object Object] and the upper triangular matrix [object Object].

  • Example:

    [object Object]
[object Object]

Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] is called to perform computation.

  • [object Object]
  • [object Object]
[object Object]
  • Parameters

    • [object Object] (aclTensor*, computation input): [object Object] in the formula. The data type can be FLOAT, FLOAT16, DOUBLE, COMPLEX64, or COMPLEX128. are supported. The supports ND. The shape supports 2 to 8 dimensions, and must meet the constraints with Q and R.

    • [object Object] (int64_t, computation input): computation attribute. When mode is [object Object], the reduced mode is used. For the input [object Object], the output is simplified [object Object] and [object Object], where [object Object] is the minimum value of [object Object] and [object Object]. When mode is [object Object], the complete mode is used. For the input [object Object], the output is complete [object Object] and [object Object]. When mode is [object Object], the [object Object] mode is used. Only [object Object] in the reduced scenario is calculated, where [object Object] is the minimum value of [object Object] and [object Object]. The returned [object Object] is an empty tensor.

    • [object Object] (aclTensor, computation output): [object Object] in the formula. The data type can be FLOAT, FLOAT16, DOUBLE, COMPLEX64, or COMPLEX128. are supported. The supports ND and must be the same as that of [object Object] and [object Object]. The shape is [object Object], [object Object], or empty, where [object Object] is the minimum value of [object Object] and [object Object].

    • [object Object] (aclTensor, computation output): [object Object] in the formula. The data type can be FLOAT, FLOAT16, DOUBLE, COMPLEX64, or COMPLEX128. are supported. The supports ND and must be the same as that of [object Object] and [object Object]. The shape is [object Object] or [object Object], where [object Object] is the minimum value of [object Object] and [object Object].

    • [object Object] (uint64_t*, output): size of the workspace to be allocated on the device.

    • [object Object] (aclOpExecutor **, output): operator executor, containing the operator computation process.

  • Returns

    [object Object]: status code. For details, see .

[object Object]
[object Object]
  • Parameters

    • [object Object] (void *, input): address of the workspace to be allocated on the device.

    • [object Object] (uint64_t, input): size of the workspace to be allocated on the device, which is obtained by the first-phase API [object Object].

    • [object Object] (aclOpExecutor *, input): operator executor, containing the operator computation process.

    • [object Object] (aclrtStream, input): stream for executing the task.

  • Returns

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic computation:
    • [object Object] defaults to deterministic implementation.
[object Object]

The following example is for reference only. For details, see .

[object Object]