ImplyType

Function Usage

Sets the operator execution mode.

Prototype

1
OpRegistrationData &ImplyType(const domi::ImplyType &imply_type)

Parameters

Parameter

Input/Output

Description

imply_type

Input

Operator execution mode.

1
2
3
4
5
6
7
8
enum class ImplyType : unsigned int
{
BUILDIN = 0,// Built-in operator, which is normally executed by the OME.
TVM,        // Executed after being built into a TVM binary file.
CUSTOM,     // The compute logic is user-defined and executed by CPU.
AI_CPU,      // Custom AI CPU operator.
INVALID = 0xFFFFFFFF,
};