ONE - On-device Neural Engine
|
GraphOutput Pool. More...
#include <Graph.h>
Public Member Functions | |
GraphOutput * | create (void) |
Public Member Functions inherited from loco::ObjectPool< GraphOutput > | |
virtual | ~ObjectPool ()=default |
uint32_t | size (void) const |
Return the number of objects. | |
GraphOutput * | at (uint32_t n) const |
Access N-th object. | |
Additional Inherited Members | |
Protected Member Functions inherited from loco::ObjectPool< GraphOutput > | |
U * | take (std::unique_ptr< U > &&o) |
Take the ownership of a given object and returns its raw pointer. | |
bool | erase (GraphOutput *ptr) |
Erase an object from the pool. | |
GraphOutput * loco::Graph::OutputContext::create | ( | void | ) |
Definition at line 54 of file Graph.cpp.
References size.
Referenced by luci::ConstantFoldingTestGraph::ConstantFoldingTestGraph(), and OutputLayer::operator()().