This API performs the linear_cross operation on the input tensor.
Formula:
Each operator is divided into two phases (../common/two_phase_interfaces.md). You must call aclnnLinalgCrossGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator computation process, and then call aclnnLinalgCross to perform the computation.
[object Object]
[object Object]
Parameters
[object Object]- The Atlas training products do not support BFLOAT16.
Returns
[object Object]: status code. For details, see .The first-phase API performs input parameter validation. The following errors may be returned:
[object Object]
- Deterministic computation:
[object Object]defaults to deterministic implementation.
The following example is for reference only. For details, see .
[object Object]