API description: Applies the nearest neighbor interpolation algorithm to upsample the input signal composed of several input channels. If the input shape is (N, C, L), the output shape is (N, C, outputSize).
Formulas:
Each operator has calls. First, aclnnUpsampleNearest1dGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnUpsampleNearest1d is called to perform computation.
Parameters
[object Object][object Object]Atlas inference products[object Object] and [object Object]Atlas training products[object Object]:
The data types of the input parameter self and output parameter out do not support BFLOAT16.
Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
- Deterministic computation:
- aclnnUpsampleNearest1d defaults to a deterministic implementation.
The following example is for reference only. For details, see .