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.

Parameters

b[in] The given bool value.

bool value() const

Get the bool value of this BoolImm.

Returns

The bool value of this BoolImm.