[object Object][object Object][object Object]undefined
[object Object]
  • 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:output[outputterm]=reducesum(input1[term1]input2[term2])output[output-term] = reduce-sum(input1[term1] * input2[term2])
[object Object]

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

    [object Object]
    • [object Object]Atlas inference products[object Object]: The FLOAT data type is not supported for tensors and output.
  • Returns:

    [object Object]: status code. For details, see .

    The first-phase API implements input parameter verification. The following errors may be thrown.

    [object Object]
[object Object]
  • Parameter description:

    [object Object]
  • Returns:

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic description: The default deterministic implementation of aclnnEinsum is used.

  • Currently, equation must match exactly for the corresponding function to be selected.

[object Object]

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

[object Object]