SubgraphCountRegister

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Header File/Library File

  • Header file: #include <graph/operator.h>
  • Library file: libgraph.so

Function Usage

Registers a subgraph.

Prototype

1
void SubgraphCountRegister(const char_t *ir_name, uint32_t count)

Parameters

Parameter

Input/Output

Description

ir_name

Input

Subgraph name.

count

Input

In the dynamic subgraph scenario (the number of subgraphs is not fixed), if there are count subgraphs registered, they are typically named in a sequential manner. The subgraph names follow a pattern where the first subgraph is named ir_name_0, the second ir_name_1, and so on, up to ir_name_n, where n is an integer less than count.

Returns

None

Exception Handling

None

Constraints

None