SubgraphCountRegister

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 <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

Number of subgraphs to be registered in scenarios with a dynamic number of subgraphs (where the subgraph count is not fixed). The subgraphs will be registered with names from ir_name_0 to ir_name_n, where n < count.

Returns

None

Exception Handling

None

Restrictions

None