Class Assert

Inheritance Relationships

Base Type

Class Documentation

class Assert : public mindspore::ops::PrimitiveC

Assert defined Assert operator prototype of lite.

Public Functions

inline Assert()

Constructor.

~Assert() = default

Destructor.

void Init(const int64_t summarize = 3)

Method to init the op’s attributes.

Parameters

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

void set_summarize(const int64_t summarize)

Method to set summarize attributes.

Parameters

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

int64_t get_summarize() const

Method to get summarize attributes.

Returns

summarize attributes.