IsGraphNeedRebuild

Description

Determines whether a graph needs to be rebuilt.

Prototype

bool IsGraphNeedRebuild(uint32_t graph_id);

Parameters

Parameter

Input/Output

Description

graph_id

Input

Subgraph ID.

Returns

Parameter

Type

Description

-

bool

  • False: The graph can be properly called by the RunGraphAsync API.
  • True: The graph will be removed by calling RemoveGraph, re-added by calling AddGraph, and then rebuilt by calling BuildGraph.

Restrictions

None