DynamicCompileStaticFlag

Function

Indicates whether the operator implementation supports static shape compilation during graph building.

Prototype

1
OpAICoreConfig &DynamicCompileStaticFlag(bool flag)

Parameters

Parameter

Input/Output

Description

flag

Input

For a custom operator developed by the user, if compilation in the static shape scenario during graph building needs to be supported, set this option to true. Otherwise, set this option to false.

Returns

OpAICoreConfig class. For details, see OpAICoreConfig.

Constraints

None