Input

Function

Registers operator inputs. After this API is called, an OpParamDef structure is returned. You can use this structure to configure operator inputs.

Prototype

1
OpParamDef &Input(const char *name)

Parameters

Parameter

Input/Output

Description

name

Input

Operator input name.

Returns

Operator parameter definition. For details about OpParamDef, see OpParamDef.

Restrictions

The parameter registration sequence must be the same as that of the operator kernel entry function.