InsertInputs

Description

Inserts the input information of the fused operator into FusionScopesResult.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

void InsertInputs(const std::string &inner_op_name, const std::vector<int32_t> &index_map);
void InsertInputs(const char_t *inner_op_name, const std::vector<int32_t> &index_map);

Parameters

Parameter

Input/Output

Description

inner_op_name

Input

Fused operator name

index_map

Input

Index information of the fused operator, which is of the vector type. The index of the vector indicates the input index of the small operator in the scope. Its value indicates the input index of the fused operator. If the fused operator does not use the index, the placeholder kFusionDisableIndex is used.

Returns

None

Restrictions

None