This API is used to create a 1D tensor of size , whose values are evenly spaced on a logarithmic scale from to , including the endpoints, with as the base.
Formulas:
Each operator is divided into . You must call the aclnnLogSpaceGetWorkspaceSize interface to obtain the workspace size required for computation and the executor that contains the operator computation process, and then call the aclnnLogSpace interface to perform computation.
[object Object]
[object Object]
Parameter description:
[object Object]Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
Deterministic computing:
- The aclnnLogSpace is implemented in deterministic mode by default.
The following example is for reference only. For details, see .
[object Object]