- Description: Performs tensor computation using the Einstein summation convention, following the pattern term1, term2 -> output-term. The output tensor is generated according to the following equation, where reduce-sum is applied to all indices that appear in the input terms (term1, term2) but not in the output term.
- Formula:
Each operator has calls. First, aclnnEinsumGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, aclnnEinsum is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]- [object Object]Atlas inference series products[object Object]: The FLOAT data type is not supported for tensors and output.
Returns
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Deterministic description:
- [object Object]Atlas training series products[object Object] and [object Object]Atlas inference series products[object Object]: aclnnEinsum defaults to a deterministic implementation.
Currently, equation must match exactly for the corresponding function to be selected.
The following example is for reference only. For details, see .
[object Object]