:nosearch: .. _op_ai_onnx_RandomNormal-1: RandomNormal - version 1 ======================== This page documents version **1** of operator **RandomNormal**. See :doc:`RandomNormal` for the latest version (since version 22). - **Domain**: ``ai.onnx`` - **Since version**: 1 Generate a tensor with random values drawn from a normal distribution. The shape of the tensor is specified by the ``shape`` argument and the parameter of the normal distribution specified by ``mean`` and ``scale``. The data type is specified by the 'dtype' argument. The 'dtype' argument must be one of the data types specified in the 'DataType' enum field in the TensorProto message. **Outputs** - **output** (*T*): Output tensor of random values drawn from normal distribution **Attributes** - **dtype** (*int*): The data type for the elements of the output tensor. Default is TensorProto::FLOAT. - **mean** (*float*): The mean of the normal distribution. - **scale** (*float*): The standard deviation of the normal distribution. - **seed** (*float*): (Optional) Seed to the random generator, if not specified we will auto generate one. - **shape** (*int[]*): The shape of the output tensor. **Type Constraints** - **T**: Constrain output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).