|
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.
References loco::must_cast().
Referenced by 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(), exo::circle_detail::get_tensor_index(), exo::tflite_detail::get_tensor_index(), luci::get_tensor_index(), moco::index(), moco::index(), moco::indexed(), loco::ShapeInference::known(), loco::TypeInference::known(), luci::set_tensor_index(), exo::circle_detail::set_tensor_index(), exo::tflite_detail::set_tensor_index(), loco::ShapeInferenceSession::to(), and loco::TypeInferenceSession::to().