ONE - On-device Neural Engine
Loading...
Searching...
No Matches
locoex::COpAttrFloat Struct Referencefinal

Struct that holds attr data of float type. More...

#include <COpAttrTypes.h>

Collaboration diagram for locoex::COpAttrFloat:

Public Member Functions

 COpAttrFloat (float tf_val)
 
float val () const
 
void val (float val)
 
- Public Member Functions inherited from locoex::COpAttrData
virtual ~COpAttrData ()=default
 
COpAttrType type () const
 
void type (COpAttrType attr_type)
 

Additional Inherited Members

- Protected Member Functions inherited from locoex::COpAttrData
 COpAttrData (COpAttrType attr_type)
 

Detailed Description

Struct that holds attr data of float type.

Definition at line 73 of file COpAttrTypes.h.

Constructor & Destructor Documentation

◆ COpAttrFloat()

locoex::COpAttrFloat::COpAttrFloat ( float  tf_val)
inline

Definition at line 76 of file COpAttrTypes.h.

76: COpAttrData(COpAttrType::Float) { _val = tf_val; }
COpAttrData(COpAttrType attr_type)

Member Function Documentation

◆ val() [1/2]

float locoex::COpAttrFloat::val ( ) const
inline

Definition at line 78 of file COpAttrTypes.h.

78{ return _val; }

◆ val() [2/2]

void locoex::COpAttrFloat::val ( float  val)
inline

Definition at line 79 of file COpAttrTypes.h.

79{ _val = val; }
float val() const

References val().

Referenced by val().


The documentation for this struct was generated from the following file: