NeedCheckSupportFlag
Function
Determines whether to call the operator parameter verification function to verify the data type and shape during operator fusion.
- If this function is set to true, the framework calls the operator parameter verification function configured through SetCheckSupport to check whether the operator supports specified inputs. In this scenario, you need to implement the callback function for operator parameter verification.
- If it is set to false, the verification is not required.
Prototype
1 | OpAICoreConfig &NeedCheckSupportFlag(bool flag) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
flag |
Input |
Determines whether to call the operator parameter verification function to verify the data type and shape during operator fusion. |
Returns
OpAICoreConfig class. For details, see OpAICoreConfig.
Constraints
None
Examples
For details, see the calling examples in SetCheckSupport.
Parent topic: OpAICoreConfig