Optimize subgraphset generation steps. #632
Merged
+104
−119
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Other
Description
本PR修改内容如下:
SubgraphGenerator,拷贝原始样本的graph_net.json作为子图样本的graph_net.json。MIN_SEQ_OPS默认值为4device_rewrite步骤前置后,generate_op_names和generate_split_point由于不支持配置device,会出现约30%的错误率。故这两个步骤改回从GRAPH_NET_ROOT样本来分析,不影响生成的subgraph_ranges结果。TODO:添加device支持。dimension_generalizer不支持配置device,会出大于10%的device相关的错误。TODO:添加device支持。subgraph_ranges,移除子图抽取和后续的重命名、去重步骤;(2)子图维度泛化后,添加重命名、去重步骤。