Class BoolImm
Defined in File value.h
Inheritance Relationships
Base Type
public mindspore::api::Scalar
(Class Scalar)
Class Documentation
-
class BoolImm : public mindspore::api::Scalar
BoolImm defines interface for bool data.
Public Functions
-
explicit BoolImm(bool b)
Create BoolImm with the given bool value.
- Parameters
b – [in] The given bool value.
-
bool value() const
Get the bool value of this BoolImm.
- Returns
The bool value of this BoolImm.
-
explicit BoolImm(bool b)