DynamicCompileStaticFlag
Function
This function is used to identify whether the operator implementation supports static shape build during graph input.
Prototype
1 | OpAICoreConfig &DynamicCompileStaticFlag(bool flag) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
flag |
Input |
For the custom operator developed by the user, if static shape build during graph input is required, set this parameter to true. Otherwise, set this parameter to false. |
Returns
OpAICoreConfig class. For details, see OpAICoreConfig.
Constraints
None
Parent topic: OpAICoreConfig