SetSubgraphBuilder
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/operator.h>
- Library file: libgraph.so
Function Usage
Sets the function object for building a specified subgraph.
Prototype
1 | void SetSubgraphBuilder(const char_t *ir_name, uint32_t index, const SubgraphBuilder &builder) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ir_name |
Input |
Subgraph name. |
index |
Input |
Index of a subgraph in the dynamic subgraph scenario (the number of subgraphs is not fixed). |
builder |
Input |
Function object for building a subgraph. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: Operator