aclmdlGetInputDimsRange
Description
Obtains the dimension range of an input tensor based on the model description.
Prototype
aclError aclmdlGetInputDimsRange(const aclmdlDesc *modelDesc, size_t index, aclmdlIODimsRange *dimsRange)
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
modelDesc |
Input |
Pointer to data of the aclmdlDesc type. Call aclmdlCreateDesc to create data of the aclmdlDesc type in advance. |
index |
Input |
Index of the input dimension information to be obtained, starting from 0. |
dimsRange |
Output |
Pointer to the input dimension information.
|
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.