Class RandomStandardNormal

Inheritance Relationships

Base Type

Class Documentation

class RandomStandardNormal : public mindspore::ops::PrimitiveC

RandomStandardNormal defined RandomStandardNormal operator prototype of lite.

Public Functions

inline RandomStandardNormal()

Constructor.

~RandomStandardNormal() = default

Destructor.

void Init(int64_t seed, int64_t seed2)

Method to init the op’s attributes.

Parameters
  • seed[in] Define random seed.

  • seed2[in] Define random seed2.

void set_seed(int64_t seed)

Method to set seed attributes.

Parameters

seed[in] Define random seed.

void set_seed2(int64_t seed2)

Method to set seed2 attributes.

Parameters

seed2[in] Define random seed2.

int64_t get_seed() const

Method to get seed attributes.

Returns

seed attributes.

int64_t get_seed2() const

Method to get seed2 attributes.

Returns

seed2 attributes.