rmlGetModelOutputInfo
Returns output tensor information.
All input dimensions must be specified before this call. The name my be NULL
if there is a single output node.
rml_status rmlGetModelOutputInfo( |
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 |
A optional output node name, in ASCII encoding. |
info |
output |
A pointer to a resulting output info structure. |
Return and Status Codes
Returns output tensor information in case of success and status:
RML_OK
if the operation is successfulRML_ERROR_BAD_PARAMETER
if model or name is invalid, or name isNULL
RML_ERROR_MODEL_NOT_READY
if some inputs have unspecified dimensions
To get more details in case of failure, call rmlGetLastError().