GetDynamicGearInfo
Function Usage
Obtains the dynamic input profiles supported by the model, supporting models with dynamic batches, dynamic resolutions, and dynamic dimension profiles.
Prototype
std::vector<std::vector<uint64_t>> GetDynamicGearInfo()
Return Parameter Description
Data Structure |
Description |
|---|---|
std::vector<std::vector<uint64_t>> |
Input tensor profiles supported by the model.
If the returned data structure is empty, the profile information fails to be obtained or the model is not one of the three models described above. For details about the cause, see the error information. For example, if the model is a dynamic resolution model, std::vector<uint64_t> indicates the height and width of a certain profile. |
Parent topic: Model