C++ API
JAVA API
Python API
Defined in File value.h
public mindspore::api::Scalar (Class Scalar)
public mindspore::api::Scalar
BoolImm defines interface for bool data.
Public Functions
Create BoolImm with the given bool value.
b – [in] The given bool value.
Get the bool value of this BoolImm.
The bool value of this BoolImm.