Class FP32Imm

Inheritance Relationships

Base Type

Class Documentation

class FP32Imm : public mindspore::api::FloatImm

FP32Imm defines interface for float32 data.

Public Functions

explicit FP32Imm(float value)

Create FP32Imm with the given float value.

参数

value[in] The given float value.

float value() const

Get the float value of this FP32Imm.

返回

The float value of this FP32Imm.