vitis::ai::DpuTask - vitis::ai::DpuTask - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English
Base class for run a DPU task.

Quick Function Reference

The following table lists all the functions defined in the vitis::ai::DpuTask class:

Table 1. Quick Function Reference
Type Member Arguments
std::unique_ptr< DpuTask > create
  • kernel_name
void run
  • void
void setMeanScaleBGR
  • const std::vector< float > & mean
  • const std::vector< float > & scale
void setImageBGR
  • const cv::Mat & img
void setImageRGB
  • const cv::Mat & img
std::vector< float > getMean
  • void
std::vector< float > getScale
  • void
std::vector< vitis::ai::library::InputTensor > getInputTensor
  • void
std::vector< vitis::ai::library::OutputTensor > getOutputTensor
  • void
size_t get_num_of_kernels
  • void
const xir::Graph * get_graph
  • void
int get_input_fix_point
  • void