create - create - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

Factory function to get an instance of derived classes of class Clocs .

Prototype

std::unique_ptr< 
               Clocs
             > create(const std::string &yolo, const std::string &pointpillars_0, const std::string &pointpillars_1, const std::string &fusionnet, bool need_preprocess=true);

Parameters

The following table lists the create function arguments.

Table 1. create Arguments
Type Member Description
const std::string & yolo The yolo model name
const std::string & pointpillars_0 The pointpillars 0 model name
const std::string & pointpillars_1 The pointpillars 1 model name
const std::string & fusionnet The funsion model name
bool need_preprocess Normalize with mean/scale or not, default value is true.

Returns

An instance of ClocsPointPillars class.