Return i-th sub_graph in the main graph.
(self, i, for_test=False)
| 5664 | ] |
| 5665 | |
| 5666 | def get_sub_graph(self, i, for_test=False): |
| 5667 | """ |
| 5668 | Return i-th sub_graph in the main graph. |
| 5669 | """ |
| 5670 | return IrGraph(self.graph.get_sub_graph(i), for_test=for_test) |
| 5671 | |
| 5672 | def create_persistable_node(self, name, var_type, shape, var_dtype): |
| 5673 | """ |