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 PointPillarsNuscenes .

Prototype

std::unique_ptr< 
               PointPillarsNuscenes
             > create(const std::string &model_name_0, const std::string &model_name_1, xir::Attrs *attrs, bool need_preprocess=true);

Parameters

The following table lists the create function arguments.

Table 1. create Arguments
Type Member Description
const std::string & model_name_0 The first model name
const std::string & model_name_1 The second model name
xir::Attrs * attrs XIR attributes, used to bind different models to the same dpu core
bool need_preprocess Normalize with mean/scale or not, default value is true.

Returns

An instance of PointPillarsNuscenes class.