AddInnerNode

Applicable Products

Product

Supported

Ascend 950PR&950DT products

√

Atlas A3 products

√

Atlas A2 products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Description

Adds an inner node.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

1
2
InnerNodeInfo *AddInnerNode(const std::string &name, const std::string &type);
InnerNodeInfo *AddInnerNode(const char_t *name, const char_t *type);

Parameters

Parameter

Input/Output

Description

name

Input

Inner node name

type

Input

Inner node type

Returns

A pointer to the created InnerNodeInfo* node. A null pointer indicates that node creation failed.

Restrictions

None