Fea/nn graph/forward graph (#5516)
* add test on add input to graph * add var into graph * LazyInterpreter for FetchOutputOpExpr and set op parallel_distribution * refine input var build * split file * rename * mini refine * Add note * LazyInterpret::ApplyImpl for UserOpExpr * refine test scripts * add output to graph * format * Fix bug of LazyInterpret UserOpExpr for change output lbns * Add test user op expr test * fix note mistake * add userop and test * address review * address review * save i/o/s op_name and tensor for c_nn_graph * address review * adjust test * refine build_graph_state Co-authored-by:chengtbf <472491134@qq.com> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- oneflow/python/framework/graph_build_util.py 60 additions, 1 deletiononeflow/python/framework/graph_build_util.py
- oneflow/python/nn/graph.py 55 additions, 340 deletionsoneflow/python/nn/graph.py
- oneflow/python/nn/graph_block.py 331 additions, 0 deletionsoneflow/python/nn/graph_block.py
- oneflow/python/nn/graph_optimizer.py 37 additions, 0 deletionsoneflow/python/nn/graph_optimizer.py
- oneflow/python/nn/utils.py 28 additions, 0 deletionsoneflow/python/nn/utils.py
- oneflow/python/test/graph/test_forward_graph.py 85 additions, 0 deletionsoneflow/python/test/graph/test_forward_graph.py
- oneflow/python/test/graph/test_graph.py 2 additions, 12 deletionsoneflow/python/test/graph/test_graph.py
- oneflow/python/test/graph/test_input_op_expr.py 0 additions, 6 deletionsoneflow/python/test/graph/test_input_op_expr.py
- oneflow/python/test/graph/test_multi_client_session.py 0 additions, 6 deletionsoneflow/python/test/graph/test_multi_client_session.py
- oneflow/python/test/graph/test_output_op_expr.py 0 additions, 6 deletionsoneflow/python/test/graph/test_output_op_expr.py
- oneflow/python/test/graph/test_user_op_expr.py 0 additions, 6 deletionsoneflow/python/test/graph/test_user_op_expr.py
- oneflow/python/test/graph/test_variable_op_expr.py 0 additions, 6 deletionsoneflow/python/test/graph/test_variable_op_expr.py
oneflow/python/nn/graph_block.py
0 → 100644
oneflow/python/nn/graph_optimizer.py
0 → 100644
oneflow/python/nn/utils.py
0 → 100644
Please register or sign in to comment