ResetFlowFuncState

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

In the fault recovery scenario, the FlowFunc is quickly reset to the initial state.

Prototype

1
int32_t ResetFlowFuncState()

Command-Line Options

None

Returns

Exception Handling

None

Constraints

This API is a virtual function. When FlowFunc of the user does not implement the ResetFlowFuncState function, the framework returns FLOW_FUNC_ERR_NOT_SUPPORT by default (the current FlowFunc does not support this operation). Delete the created FlowFunc, create another FlowFunc, and then call the Init API for initialization.