- API function: Updates the local variables
[object Object]and[object Object](intermediate results output by PA operators in each SP domain) to global results. - Formula:
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.
[object Object]
[object Object]
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 computing:
[object Object]defaults to a deterministic implementation.
- The value range of the parallel degree
[object Object]for sequence parallelism is [1, 16]. - The value range of
[object Object]is [8, 512] and must be a multiple of 8. - Empty tensors are supported.
The following example is for reference only. For details, see .
[object Object]