Class BoolImm
Defined in File scalar.h
Inheritance Relationships
Base Type
public mindspore::Scalar
(Class Scalar)
Class Documentation
-
class BoolImm : public mindspore::Scalar
\beief 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.
-
inline explicit BoolImm(bool b)