model_gear()
Function Usage
Obtains the dynamic input profiles supported by the model, supporting models with dynamic batches, dynamic resolutions, and dynamic dimension profiles.
Return Parameter Description
Returns the profile information (List[List[int]]) of the input tensor.
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, List[int] indicates the height and width of a specific profile.
Parent topic: Model