- Description: Implements 1D convolution where the input and output dimensions are T (temporal or spatial), B (batch), and C (channel).
- Formula: Assume the input self has shape () and the output out has shape (). The output is computed as: Where denotes the batch size, denotes the number of channels, and denotes the temporal or spatial dimension.
Each operator has [object Object]two-phase API calls[object Object]. You must call aclnnConvTbcGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator execution process, and then call aclnnConvTbc to perform the computation.
[object Object]
[object Object]
Parameters
[object Object]Return Value
aclnnStatus: status code. For details, see [object Object]aclnn Return Codes[object Object].
The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Parameters
[object Object]Return Value
aclnnStatus: status code. For details, see [object Object]aclnn Return Codes[object Object].
- Deterministic computation:
- aclnnConvTbc defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]