GetParseSubgraphPostFn

Description

Obtains the function for mapping between the input/output nodes in an operator subgraph and those of the operators based on the operator types.

Prototype

GetParseSubgraphPostFn() will be deprecated in future releases. Use GetParseSubgraphPostFn(ParseSubgraphFuncV2 &func) instead.

  • ParseSubgraphFunc GetParseSubgraphPostFn() const

    This function returns a function object of type ParseSubgraphFunc, which is declared as follows:

    using ParseSubgraphFunc = std::function<Status(const std::string &subgraph_name, const ge::Graph &graph)>
  • Status GetParseSubgraphPostFn(ParseSubgraphFuncV2 &func) const

    This function returns a function object of type ParseSubgraphFuncV2, which is declared as follows:

    using ParseSubgraphFuncV2 = std::function<Status(const ge::AscendString &subgraph_name, const ge::Graph &graph)>

Parameters

  • GetParseSubgraphPostFn()

    None

  • GetParseSubgraphPostFn(ParseSubgraphFuncV2 &func)

    Parameter

    Input/Output

    Description

    func

    Output

    Function object that implements the mapping between the input/output nodes in the operator subgraph and those of the operators.

Restrictions

None