Abstract interface for metaconvert implementation used by MetaConvert.
More...
#include <vart_metaconvert_impl_base.hpp>
Abstract interface for metaconvert implementation used by MetaConvert.
- Note
- Applications should use vart::MetaConvert rather than this type directly, unless extending or integrating a new backend.
◆ MetaConvertImplBase()
| vart::MetaConvertImplBase::MetaConvertImplBase |
( |
| ) |
|
|
default |
Default construction is allowed for derived implementations.
◆ ~MetaConvertImplBase()
| virtual vart::MetaConvertImplBase::~MetaConvertImplBase |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor to ensure proper cleanup of derived implementations.
◆ prepare_overlay_meta()
| virtual std::shared_ptr<OverlayShapeInfo> vart::MetaConvertImplBase::prepare_overlay_meta |
( |
std::shared_ptr< InferResult > |
root_infer_res | ) |
|
|
pure virtual |
prepare_overlay_meta() - Converts inference results to data structures needed for overlay Overlay
- Parameters
-
| [in] | root_infer_res | Root node of the inference-result tree to be interpreted and converted. Implementations typically only emit overlay primitives for child nodes whose result type matches the converter's class. |
- Returns
- Shared pointer to an
OverlayShapeInfo. Implementations may attach a custom deleter when they hand out heap-allocated string fields (e.g. text params populated via strdup) so that destruction frees them.
The documentation for this class was generated from the following file: