ONE - On-device Neural Engine
|
Functions | |
bool | make_dir (const std::string &path) |
create folder | |
std::string | get_filename_ext (const std::string &base) |
get filename part of base | |
std::string | make_path (const std::string &base, const std::string &input, uint32_t idx, const std::string &backend) |
Make file path from base and backend. | |
bool | export_part_conn_json (const std::string &output_base, const std::string &input, const luci::Module *source, luci::PartedModules &pms) |
This will save partition connection to json format file. | |
bool | export_part_conn_ini (const std::string &output_base, const std::string &input, const luci::Module *source, luci::PartedModules &pms) |
This will save partition connection to ini format file. | |
luci::PartitionTable | read (const std::string &path) |
Reads and parse file and return PartitionTable. | |
bool partee::export_part_conn_ini | ( | const std::string & | output_base, |
const std::string & | input, | ||
const luci::Module * | source, | ||
luci::PartedModules & | pms | ||
) |
This will save partition connection to ini format file.
Definition at line 115 of file PartitionExport.cpp.
References luci::Module::graph(), crew::Part::model_file, and crew::PConfig::source.
Referenced by entry().
bool partee::export_part_conn_json | ( | const std::string & | output_base, |
const std::string & | input, | ||
const luci::Module * | source, | ||
luci::PartedModules & | pms | ||
) |
This will save partition connection to json format file.
Definition at line 85 of file PartitionExport.cpp.
References luci::Module::graph(), crew::Part::model_file, and crew::PConfig::source.
Referenced by entry().
std::string partee::get_filename_ext | ( | const std::string & | base | ) |
get filename part of base
Definition at line 34 of file HelperPath.cpp.
Referenced by entry(), and make_path().
bool partee::make_dir | ( | const std::string & | path | ) |
create folder
Definition at line 26 of file HelperPath.cpp.
std::string partee::make_path | ( | const std::string & | base, |
const std::string & | input, | ||
uint32_t | idx, | ||
const std::string & | backend | ||
) |
Make file path from base and backend.
Definition at line 44 of file HelperPath.cpp.
References get_filename_ext().
Referenced by entry().
luci::PartitionTable partee::read | ( | const std::string & | path | ) |
Reads and parse file and return PartitionTable.
Definition at line 132 of file PartitionRead.cpp.
References INFO, LOGGER, and crew::read_ini().
Referenced by entry().