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.

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.