Class UniformReal

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class UniformReal : public mindspore::ops::BaseOperator

Produces random floating-point values i, uniformly distributed to the interval [0, 1). Refer to Python API mindspore.ops.UniformReal for more details.

Public Functions

inline UniformReal()

Constructor.

void Init(int64_t seed, int64_t seed2)

Init. Refer to the parameters of Python API mindspore.ops.UniformReal for the inputs.

void set_seed(int64_t seed)

Set seed.

void set_seed2(int64_t seed2)

Set seed2.

int64_t get_seed() const

Get seed.

返回

seed.

int64_t get_seed2() const

Get seed2.

返回

seed2.