Class RandomStandardNormal

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class RandomStandardNormal : public mindspore::ops::BaseOperator

RandomStandardNormal defined RandomStandardNormal operator prototype of lite.

Public Functions

inline RandomStandardNormal()

Constructor.

void Init(int64_t seed, int64_t seed2)

Method to init the op’s attributes.

参数
  • seed[in] Define random seed.

  • seed2[in] Define random seed2.

void set_seed(int64_t seed)

Method to set seed attributes.

参数

seed[in] Define random seed.

void set_seed2(int64_t seed2)

Method to set seed2 attributes.

参数

seed2[in] Define random seed2.

int64_t get_seed() const

Method to get seed attributes.

返回

seed attributes.

int64_t get_seed2() const

Method to get seed2 attributes.

返回

seed2 attributes.