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

Public Member Functions | |
| ~NodePool () | |
| template<typename Derived , typename... Args> | |
| Derived * | create (Args &&...args) |
| void | destroy (Node *node) |
Public Member Functions inherited from loco::ObjectPool< Node > | |
| virtual | ~ObjectPool ()=default |
| uint32_t | size (void) const |
| Return the number of objects. | |
| Node * | at (uint32_t n) const |
| Access N-th object. | |
Friends | |
| class | Graph |
Additional Inherited Members | |
Protected Member Functions inherited from loco::ObjectPool< Node > | |
| U * | take (std::unique_ptr< U > &&o) |
| Take the ownership of a given object and returns its raw pointer. | |
| bool | erase (Node *ptr) |
| Erase an object from the pool. | |
Definition at line 28 of file NodePool.h.
| loco::NodePool::~NodePool | ( | ) |
Definition at line 22 of file NodePool.cpp.
References loco::ObjectPool< Node >::at(), loco::Node::drop(), loco::must_cast(), and loco::ObjectPool< Node >::size().
|
inline |
Definition at line 37 of file NodePool.h.
References loco::must_cast().
Referenced by luci::GraphBuilder::build(), luci::GraphBuilderMultiOutput::build(), luci::ConstantFoldingAddTestGraph::ConstantFoldingAddTestGraph(), luci::ConstantFoldingTestGraph::ConstantFoldingTestGraph(), exo::TensorConcatConverter::convert(), InputLayer::operator()(), OutputLayer::operator()(), ReLULayer::operator()(), ConstGenLayer::operator()(), FeatureEncodeLayer::operator()(), FeatureDecodeLayer::operator()(), FilterEncodeLayer::operator()(), DepthwiseFilterEncodeLayer::operator()(), DepthwiseConv2DLayer::operator()(), TransposedConv2DLayer::operator()(), FixedReshapeLayer::operator()(), TensorBroadcastLayer::operator()(), locoex::set_new_shape(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), luci::CloneNode::visit(), and luci::CloneNode::visit().
Definition at line 44 of file NodePool.h.
Definition at line 31 of file NodePool.h.