Replies: 10 comments 27 replies
-
|
constraint_util.py 当您集成维度泛化到子图生成流程时,这个工具会:
_get_in_tensor_symbolic_shapes.py
dimension_generalizer.py
前面三个在OpNamesExtractor前集成 shape_propagator.py
subgraph_input_producer_indexes_generator.py
subgraph_input_shapes_naive_rewriter.py
第一阶段:维度预处理 |
Beta Was this translation helpful? Give feedback.
-
|
// 在维度泛化之后,opnames提取分析之前 // 在可融合子图生成之前 // 在可融合子图生成之后,重命名之前 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
这里还有些数量关系需要梳理清楚。
9这个数字的来源是维度泛化会将一份旧样本产生9份新的样本。 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
test/workspace_group_ranges_from_subgraph_sources 少了这个 |
Beta Was this translation helpful? Give feedback.
-
|
main() { } main 所以顺序应该是
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
测试完毕
|
Beta Was this translation helpful? Give feedback.










Uh oh!
There was an error while loading. Please reload this page.
-
目前维度泛化相关的功能砖块有:
grpah_net.json里的dim_gen_pass字段tools/init_input_tensor_constraints.shtools/statisticize_in_tensor_symbolic_shapes.shtools/apply_dim_gen_passes.shtest/shape_propagator_test.shtest/subgraph_input_producer_indexes_generator_test.shtest/subgraph_input_shapes_naive_rewriter_test.shBeta Was this translation helpful? Give feedback.
All reactions