Description: Obtains values based on the
[object Object]interval from[object Object]to[object Object]and returns a 1-dimensional tensor with the size of[object Object].[object Object]is an interval between two adjacent values in the tensor.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.
Parameters:
[object Object]- [object Object]Atlas inference products[object Object], [object Object]Atlas training products[object Object], and [object Object]Atlas 200I/500 A2 inference products[object Object]: The data type cannot be BFLOAT16.
- Ascend 950PR/Ascend 950DT: out does not support the DOUBLE data type.
Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be returned:
[object Object]
- Deterministic computation:
[object Object]defaults to a deterministic implementation.
Warning: When the input data type is [object Object], use [object Object] to compute the output size of [object Object] due to the inherent precision limitations of the data type. If [object Object] is used for computation instead, the result may be less than the [object Object] result, leading to a verification warning on the tiling side.
The following example is for reference only. For details, see .