[object Object]

[object Object][object Object]undefined
[object Object]
  • 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 (Hin,N,CinH_{\text{in}},N,C_{\text{in}}) and the output out has shape (Hout,N,CoutH_{\text{out}},N,C_{\text{out}}). The output is computed as:outNi,Coutj=bias(Coutj)+k=0Cin1weight(k,Coutj)self(Ni,k)out_{N_i,C_{out j}} = bias(C_{out j}) + \sum_{k = 0}^{C_{in} - 1} weight(k, C_{out j}) \cdot self(N_i, k) Where NN denotes the batch size, CC denotes the number of channels, and HH denotes the temporal or spatial dimension.
[object Object]

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]
[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]
[object Object]
  • Parameters

    [object Object]
  • Returns

    aclnnStatus: status code. For details, see .

[object Object]
  • Deterministic computation:

    • aclnnConvTbc defaults to a deterministic implementation.
    [object Object]
[object Object]

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

[object Object]