Class Assert

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Assert : public mindspore::ops::BaseOperator

Assert defined Assert operator prototype of lite.

Public Functions

inline Assert()

Constructor.

void Init(const int64_t summarize = 3)

Method to init the op’s attributes.

参数

summarize[in] Define print the number of each tensor.

void set_summarize(const int64_t summarize)

Method to set summarize attributes.

参数

summarize[in] Define print the number of each tensor.

int64_t get_summarize() const

Method to get summarize attributes.

返回

summarize attributes.