aclmdlGetInputDimsRange
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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)
Parameters
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
0 on success; else, failure. For details, see aclError.