RandomUniformLike

Description

Generate a random number matrix based on a uniform distribution.

Input

x: input tensor of type float64, int8, int16, int32, int64, uint8, uint16, uint32, uint64, float16 or float.

Attribute

  • dtype: int, specifying the data type of the output tensor.
  • high: float, indicating the upper boundary of the uniform distribution. The default value is 1.0.
  • low: float, indicating the lower boundary of the uniform distribution. The default value is 0.0.
  • seed: float, indicating a random number seed.

Output

y: output tensor of the identical shape and data type as input x.

Constraints

None.

ONNX Opset Support

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