rmlGetModelInputInfo
Returns input tensor information by a node name.
The name may be NULL
if there is a single input (placeholder) node.
rml_status rmlGetModelInputInfo( |
rml_model model, |
const char* name, |
|
rml_tensor_info* info); |
API
Main
Parameters
Parameter |
Input/Output |
Description |
---|---|---|
model |
input |
A valid model handle. |
name |
input |
An optional input node name, in ASCII encoding. |
info |
output |
A pointer to a resulting input info structure. |
Return and Status Codes
Returns input tensor information in case of success and status:
RML_OK
if the operation is successfulRML_ERROR_BAD_PARAMETER
if model name is invalid, or info isNULL
To get more details in case of failure, call rmlGetLastError().