CheckSupport
Function Usage
Registers a function for determining whether an operator is supported.
Prototype
1 | OpImplRegisterV2 &CheckSupport(OP_CHECK_FUNC_V2 check_support_func) |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
check_support_func |
Input |
OP_CHECK_FUNC_V2 function to be registered. The OP_CHECK_FUNC_V2 type is defined as follows:
|
Returns
OpImplRegisterV2 object of the operator, where the OP_CHECK_FUNC_V2 function is registered.
Constraints
None
Parent topic: OpImplRegisterV2