目录

AddChangedResourceKey

Function Description

Notifies the framework of the resource shape changes during the inference of write-type resource operators, such as stack push.

Based on the changed resource keys, the framework triggers re-inference for the corresponding read-type operators (such as stack pop).

Function Prototype

graphStatus AddChangedResourceKey(const ge::AscendString &key)

Parameters

Parameter Input/Output Description
key Input Unique resource key.

Return Value

graphStatus: GRAPH_SUCCESS for success; GRAPH_FAILED for failure.

Restrictions

None