Description: Performs backpropagation of replication_pad2d. For details about the forward propagation, see .
Example:
[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]
Parameters:
[object Object](aclTensor*, compute input): aclTensor on the device. The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128, which is the same as that of self. The supports ND. The shape supports 3D and 4D, 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 replication_pad2d.[object Object](aclTensor*, compute input): aclTensor on the device. The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128. The supports ND. The shape supports 3D and 4D, 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): aclIntArray on the device. The data type is INT64 and the length is 4. The values of the first two dimensions of[object Object]must be less than the value of the last dimension of[object Object], and the values of the last two dimensions of[object Object]must be less than the value of the penultimate dimension of[object Object].[object Object](aclTensor*, compute output): aclTensor on the device. The data type can be BFLOAT16, FLOAT16, FLOAT32, DOUBLE, COMPLEX64, or COMPLEX128, which is the same as that of[object Object]. The supports ND. The shape supports 3D and 4D, 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](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]
Parameters:
[object Object](void*, input parameter): 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 aclnnReplicationPad2dBackwardGetWorkspaceSize.[object Object](aclOpExecutor*, input): operator executor, containing the operator computation process.[object Object](aclrtStream, input parameter): stream for executing the task.
Returns:
- 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.
The following example is for reference only. For details, see .
[object Object]