SubgraphCountRegister
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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
Parent topic: Operator