RandomUniformLike

Description

Generates a random number matrix based on uniform distribution. The shape of the output tensor is the same as that of the input tensor.

Input

One input:

x: tensor of type float16 or float.

Output

One output:

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

Property

dtype: int, data type of the output tensor.

high: float. Defaults to 1.0, indicating the upper bound of uniform distribution.

low: float. Defaults to 0.0, indicating the lower bound of uniform distribution.

seed: float, random number seed.

ONNX Opset Support

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