AppendGraphInput

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Header File/Library File

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

Function Usage

Adds a graph input to the end of a graph.

Prototype

1
EsCTensorHolder *AppendGraphInput(const ge::char_t *name = nullptr, const ge::char_t *type = nullptr)

Parameters

Parameter

Input/Output

Description

name

Input

(Optional) Input name.

type

Input

(Optional) Input type.

Returns

Parameter

Type

Description

-

EsCTensorHolder *

Pointer to the tensor holder.

Restrictions

None