RandomNormal

Description

Generates a tensor with random values drawn from a normal distribution.

Attribute

  • dtype: int, indicating the data type of the output Tensor element. The default value is TensorProto::FLOAT.
  • mean: float, indicating the mean of a normal distribution. The default value is 0.0.
  • scale: float, indicating the standard deviation of a normal distribution. The default value is 1.0.
  • seed (optional): float, specifying a random seed. The default value is 0.
  • shape: int list, indicating the shape of the output tensor.

Output

y: tensor of type float16, double, or float32.

Constraints

None.

ONNX Opset Support

v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18.