InputType

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/compliant_node_builder.h>
  • Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a

Function Usage

Sets the type of the input definition, which determines whether the input is mandatory, optional, or dynamic.

Prototype

1
IrInputDefV2 &InputType(IrInputType ir_input_type)

Parameters

Parameter

Input/Output

Description

ir_input_type

Input

Enumerated value of the input definition. For details about the supported values, see IrInputType.

Returns

Parameter

Type

Description

-

IrInputDefV2 &

Reference to the IR input definition class, which supports chain calls.

Restrictions

None