rmlSetModelInput
Sets up an input tensor for a node with a specified name.
All input dimensions must be specified before this call. The name may be NULL
if there is a single input (placeholder) node.
rml_status rmlSetModelInput( |
rml_model model, |
const char* name, |
|
rml_tensor input); |
API
Main
Parameters
Parameter |
Input/Output |
Description |
---|---|---|
model |
input |
A valid model handle. |
name |
input |
A optional input node name, in ASCII encoding. |
input |
input |
A valid input tensor handle. |
Return and Status Codes
Returns one of the following status codes:
RML_OK
if the operation is successfulRML_ERROR_MODEL_NOT_READY
if some inputs have unspecified dimensions
To get more details in case of failure, call rmlGetLastError().