DynamicInputRegister

Description

Registers the dynamic input of an operator.

Prototype

void DynamicInputRegister(const char_t *name, const uint32_t num, bool is_push_back = true)

void DynamicInputRegister(const char_t *name, const uint32_t num, const char_t *datatype_symbol, bool is_push_back = true)

Parameters

Parameter

Input/Output

Description

name

Input

Name of the dynamic input of an operator.

num

Input

Number of the dynamic inputs to be added.

datatype_symbol

Input

Data type of the dynamic inputs.

is_push_back

Input

  • true indicates that dynamic inputs are appended to the end.
  • false indicates that dynamic inputs are appended to the head.

Returns

None.

Exception Handling

None.

Restrictions

None.