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.

Parameters

value[in] The given float value.

float value() const

Get the float value of this FP32Imm.

Returns

The float value of this FP32Imm.