Uses the normal distributed elements of the [object Object] and [object Object] parameters to fill a tensor. Random numbers are extracted from the discrete normal distribution of the given [object Object] and [object Object] (standard deviation) to fill the [object Object] tensor. [object Object] is a basic FLOAT type, containing the mean of the normal distribution related to each output element. [object Object] is a basic FLOAT type, containing the standard deviation of the normal distribution related to each output element.
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]- For [object Object]Atlas training products[object Object], [object Object]Atlas A2 training products/Atlas A2 inference products[object Object], and [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], the data type cannot be INT32, INT64, INT16, INT8, UINT8, or BOOL.
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:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .