Description: Obtains the input data in
[object Object]based on the subscript positions stored in[object Object], multiplies the input data by[object Object], and accumulates the results.Formula:
(1) If
[object Object]is not set to[object Object], the formula is as follows, where , , and :(2) If
[object Object]is set to[object Object], the formula is as follows, where and :
Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] is called to perform computation.
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Deterministic computation:
[object Object]defaults to deterministic implementation.
The value of
[object Object]is less than or equal to[object Object].[object Object]cannot be set to[object Object].When
[object Object]is left empty,[object Object]is ignored, and the execution logic is rolled back to .
The following example is for reference only. For details, see .