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:

1
using OP_CHECK_FUNC_V2 = ge::graphStatus (*)(const OpCheckContext *context, ge::AscendString &result);

Returns

OpImplRegisterV2 object of the operator, where the OP_CHECK_FUNC_V2 function is registered.

Constraints

None