run - run - 3.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2023-06-29
Version
3.5 English

Function to get running results of the Unet2D neural network in batch mode.

Prototype

std::vector< vitis::ai::Unet2DResult > run(const std::vector< std::vector< float > > &imgs)=0;

Parameters

The following table lists the run function arguments.

Table 1. run Arguments
Type Member Description
const std::vector< std::vector< float > > & imgs Input data of input images (vector<vector<float>>). The size of input images need equal to or less than batch size obtained by get_input_batch. If it is greater than batch, the extra part is ignored.

Returns

The vector of Unet2DResult.