create - create - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

A static method to create a DPU task.

Prototype

std::unique_ptr< 
               DpuTask
             > create(const std::string &kernal_name);

Parameters

The following table lists the create function arguments.

Table 1. create Arguments
Type Member Description
Commented parameter kernel_name does not exist in function create. kernel_name The dpu kernel name. for example, if kernel_name is "resnet_50", the following dpu model files are searched. ./libdpumodelrestnet_50.so /usr/lib/libdpumodelrestnet_50.so

Returns

A DpuTask instance.