ONE - On-device Neural Engine
|
#include <GeneralConfigSource.h>
Public Member Functions | |
GeneralConfigSource ()=default | |
std::string | get (const std::string &key) const override |
get the value for the matching key | |
void | set (const std::string &key, const std::string &val) |
Public Member Functions inherited from nnfw::misc::IConfigSource | |
virtual | ~IConfigSource ()=default |
Destroy the IConfigSource object. | |
Definition at line 29 of file GeneralConfigSource.h.
|
default |
|
overridevirtual |
get the value for the matching key
key | string key to search |
Implements nnfw::misc::IConfigSource.
Definition at line 24 of file GeneralConfigSource.cpp.
Referenced by nnfw::misc::EnvConfigSource::get().
void nnfw::misc::GeneralConfigSource::set | ( | const std::string & | key, |
const std::string & | val | ||
) |
Definition at line 37 of file GeneralConfigSource.cpp.