ResetFlowFuncState

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

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

Prototype

1
int32_t ResetFlowFuncState()

Parameters

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.