ONE - On-device Neural Engine
|
#include <InputManager.h>
Public Member Functions | |
InputManager (Module *m=nullptr) | |
Input * | create (const nncc::core::ADT::tensor::Shape &) |
Public Member Functions inherited from coco::PtrManager< Input > | |
uint32_t | size (void) const |
Return the number of managed objects. | |
Input * | at (uint32_t n) const |
Public Member Functions inherited from coco::EntityBuilder | |
virtual | ~EntityBuilder ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from coco::PtrManager< Input > | |
U * | take (std::unique_ptr< U > &&o) |
std::unique_ptr< Input > | release (Input *ptr) |
Protected Member Functions inherited from coco::EntityBuilder | |
Module * | module (void) const |
void | module (Module *m) |
void | modulize (Entity *entity) const |
Definition at line 28 of file InputManager.h.
|
inline |
Input * coco::InputManager::create | ( | const nncc::core::ADT::tensor::Shape & | shape | ) |
Definition at line 24 of file InputManager.cpp.
References coco::EntityBuilder::modulize(), and coco::PtrManager< Input >::take().