ONE - On-device Neural Engine
|
#include <AnnotatedItem.h>
Public Member Functions | |
AnnotatedItem ()=default | |
virtual | ~AnnotatedItem ()=default |
template<typename T > | |
const T * | annot (void) const |
Retrieve a stored annotation of type T. | |
template<typename T > | |
void | annot (std::unique_ptr< T > &&p) |
Attach or remove a new annotation of type T. | |
Definition at line 27 of file AnnotatedItem.h.
|
default |
|
virtualdefault |
|
inline |
Attach or remove a new annotation of type T.
Definition at line 61 of file AnnotatedItem.h.
References p.
|
inline |
Retrieve a stored annotation of type T.
Definition at line 41 of file AnnotatedItem.h.
Referenced by luci::add_execution_plan(), locomotiv::annot_domain(), locomotiv::annot_domain(), luci::clear_tensor_index(), loco::ShapeInference::erase(), loco::TypeInference::erase(), locomotiv::erase_annot_domain(), loco::ShapeInference::get(), loco::TypeInference::get(), luci::get_execution_plan(), luci::get_node_id(), exo::circle_detail::get_tensor_index(), exo::tflite_detail::get_tensor_index(), luci::get_tensor_index(), luci::has_execution_plan(), luci::has_node_id(), moco::index(), moco::index(), moco::indexed(), loco::ShapeInference::known(), loco::TypeInference::known(), luci::set_node_id(), luci::set_tensor_index(), exo::circle_detail::set_tensor_index(), exo::tflite_detail::set_tensor_index(), loco::ShapeInferenceSession::to(), and loco::TypeInferenceSession::to().