Class UniformReal
Defined in File uniform_real.h
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.
- Returns
seed.
-
int64_t get_seed2() const
Get seed2.
- Returns
seed2.
-
inline UniformReal()