Class BoolImm

Inheritance Relationships

Base Type

Class Documentation

class BoolImm : public mindspore::Scalar

BoolImm defines interface for bool data.

Public Functions

inline explicit BoolImm(bool b)

The constructor of BoolImm.

Parameters

b[in] The value of bool data.

~BoolImm() override = default

The destructor of BoolImm.

inline virtual std::string ToString() const override

Get the string representation of this object.

Returns

The string representation.

inline virtual std::string DumpText() const override

Get the text representation of this object.

Returns

The text representation.