Help Center/ Atlas 500 Application/ Framework API Reference/ Macro Definitions/ Macro for Registering the Operator Type
Updated on 2022-03-13 GMT+08:00

Macro for Registering the Operator Type

Function

Register an operator type, mainly to declare a constant string, which is the name of the operator type, and then save the string to a set.

Syntax

REGISTER_OPTYPE_DECLARE(var_name, str_name)

REGISTER_OPTYPE_DEFINE(var_name, str_name)

Parameter Description

Parameter

Input/Output

Description

var_name

Input

Name of a constant string

str_name

Input

Name of an operator type