- 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 calls. First, aclnnConvTbcGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, aclnnConvTbc is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Returns
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Deterministic computation:
- aclnnConvTbc defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]