SetSubgraphBuilder

Applicable Products

All processors

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

Subgraph index in scenarios with a dynamic number of subgraphs (where the subgraph count is not fixed).

builder

Input

Function object for building a subgraph.

Returns

None

Exception Handling

None

Restrictions

None