目录

OpExecuteFunc

Function Description

Sets the operator-level callback function for multi-kernel delivery in scenarios where an operator contains multi-kernel execution logic. This function is reserved and is not supported currently.

Function Prototype

OpImplRegisterV2 &OpExecuteFunc(OpExecFunc op_execute_func);

Parameters

Parameter Input/Output Description
op_execute_func Input

User-defined OpExecuteFunc function to be registered, which is of the OpExecFunc type.

The OpExecFunc type is defined as follows:

using OpExecFunc = UINT32 (*)(OpExecuteContext *);

Return Value

OpImplRegisterV2 object of the operator, where the operator-level callback function is registered.

Restrictions

None