Class ov::op::v8::RandomUniform#

class RandomUniform : public ov::op::Op#

Tensor RandomUniform operation.

Public Functions

RandomUniform(const Output<Node> &out_shape, const Output<Node> &min_val, const Output<Node> &max_val, const ov::element::Type &out_type, uint64_t global_seed = 0, uint64_t op_seed = 0)#

Constructs a RandomUniform operation.

  • out_shapeNode producing the tensor with output shape.

  • min_valNode producing the tensor with minimum value.

  • max_valNode producing the tensor with maximum value.

  • out_typeOutput type of the tensor.

  • global_seed – Global seed value.

  • op_seed – Operational seed value.

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

inline virtual bool constant_fold(OutputVector &output_values, const OutputVector &inputs_values) override#

Turns off constant folding for RandomUniform operation.

inline const ov::element::Type &get_out_type() const#

The output tensor type.

inline uint64_t get_global_seed() const#

The global seed value.

inline uint64_t get_op_seed() const#

The operational seed value.

inline std::pair<uint64_t, uint64_t> get_state() const#

The state value.

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.