3 #include <torch/csrc/jit/ir.h> 12 namespace SubgraphUtils {
20 Node* createSingletonSubgraph(Node* n, Symbol subgraphKind);
25 void mergeNodeIntoSubgraph(Node* toMerge, Node* subgraphNode);
29 void unmergeSubgraph(Node* subgraphNode);
32 std::shared_ptr<Graph> getSubgraph(Node* n);
34 std::vector<Value*> inlineGraph(
35 const std::shared_ptr<Graph>& subgraph,
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...