Abstract interface for post-processing implementation used by PostProcess.
Definition: vart_postprocess_impl_base.hpp:43
virtual ~PostProcessImplBase()
Virtual destructor to ensure proper cleanup of derived implementations.
Definition: vart_postprocess_impl_base.hpp:49
PostProcessImplBase()=default
Default construction is allowed for derived implementations.
virtual std::vector< std::vector< std::shared_ptr< InferResult > > > process(std::vector< int8_t * > data, uint32_t current_batch_size)=0
process() - Process/parse tensors data from ML network output to create infer results.
virtual void set_config(std::vector< TensorInfo > &info, uint32_t batch_size)=0
set_config() - Set PostProcessInfo config data before start doing the post-process.
virtual std::vector< std::vector< std::shared_ptr< InferResult > > > process(std::vector< std::vector< std::shared_ptr< vart::Memory >>> tensor_memory, uint32_t current_batch_size)=0
process() - Process/parse tensors data from ML network output to create infer results.