rmlResetModelStates
Resets internal model states to their initial values.
All model inputs must be set with rmlSetModelInput() and all model outputs must be set with rmlSetModelOutput() before this function is called.
rml_status rmlResetModelStates( |
rml_model model) |
API
Main
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
model |
input |
A valid model handle. |
Return and Status Codes
Returns one of the following status codes:
RML_OKif the operation is successfulRML_ERROR_BAD_PARAMETERif model is invalidRML_ERROR_MODEL_NOT_READYif any input or output tensor is not specifiedRML_ERROR_INTERNALin case of an internal error
To get more details in case of failure, call rmlGetLastError().