[object Object]

[object Object][object Object]undefined
[object Object]

Description: Performs backpropagation of [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*, compute input): The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128, which is the same as that of self. are supported. The can be ND. The shape supports 2D to 3D and the dimensions must be the same as those of [object Object] and [object Object]. The shape must be the same as that of [object Object] in forward propagation [object Object].
    • [object Object] (aclTensor*, compute input): The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128. are supported. The can be ND. The shape supports 2D to 3D and the dimensions must be the same as those of [object Object] and [object Object]. The shape is the same as that of [object Object].
    • [object Object] (aclIntArray*, compute input): The data type is INT64, and the length is 2. The values represent the padding values on the left and right sides, respectively. The two values of [object Object] must be less than the value of the last dimension of [object Object].
    • [object Object] (aclTensor*, compute output): The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128, which is the same as that of [object Object]. The shape is the same as that of [object Object]. are supported. The can be ND.
    • [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 calling [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 compute:
    • [object Object] defaults to a deterministic implementation.

If the number of elements in [object Object] is greater than 300*1024*1024, the execution may time out.

[object Object]

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

[object Object]