|
ONE - On-device Neural Engine
|
#include <InputDataLoader.h>

Public Member Functions | |
| DirectoryLoader (const std::string &dir_path, const std::vector< loco::Node * > &input_nodes) | |
| uint32_t | size (void) const final |
| Data | get (uint32_t data_idx) const final |
Public Member Functions inherited from circle_eval_diff::InputDataLoader | |
| virtual | ~InputDataLoader ()=default |
Additional Inherited Members | |
Public Types inherited from circle_eval_diff::InputDataLoader | |
| using | Data = std::vector< Tensor > |
Definition at line 78 of file InputDataLoader.h.
| circle_eval_diff::DirectoryLoader::DirectoryLoader | ( | const std::string & | dir_path, |
| const std::vector< loco::Node * > & | input_nodes | ||
| ) |
Definition at line 158 of file InputDataLoader.cpp.
References circle_eval_diff::DIR, entry(), and circle_eval_diff::getTotalByteSizeOf().
|
finalvirtual |
Implements circle_eval_diff::InputDataLoader.
Definition at line 184 of file InputDataLoader.cpp.
References circle_eval_diff::createEmptyTensor(), circle_eval_diff::getEachByteSizeOf(), circle_eval_diff::getTotalByteSizeOf(), and loco::must_cast().
|
finalvirtual |
Implements circle_eval_diff::InputDataLoader.
Definition at line 182 of file InputDataLoader.cpp.