An operator API that is called in single-operator API execution mode is usually divided into two phases, for example:
[object Object]
First, aclxxXxxGetWorkspaceSize is called to compute the required workspace size in the process, based on which NPU memory is allocated. Then, aclxxXxx is called to perform computation.
aclxx indicates the operator API prefix, for example, aclnn, while Xxx indicates the operator type, for example, Add.
[object Object]