Class BoolImm

Inheritance Relationships

Base Type

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.

参数

b[in] The given bool value.

bool value() const

Get the bool value of this BoolImm.

返回

The bool value of this BoolImm.