Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
magicwindyyd
mindspore
提交
a499d4e4
M
mindspore
项目概览
magicwindyyd
/
mindspore
与 Fork 源项目一致
Fork自
MindSpore / mindspore
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindspore
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a499d4e4
编写于
7月 28, 2020
作者:
L
liubuyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
decoupling core and debug
上级
dc765dd2
变更
70
隐藏空白更改
内联
并排
Showing
70 changed file
with
112 addition
and
124 deletion
+112
-124
mindspore/ccsrc/backend/optimizer/pass/fuse_basic.cc
mindspore/ccsrc/backend/optimizer/pass/fuse_basic.cc
+1
-1
mindspore/ccsrc/backend/optimizer/pass/fuse_graph_kernel.cc
mindspore/ccsrc/backend/optimizer/pass/fuse_graph_kernel.cc
+1
-1
mindspore/ccsrc/backend/session/session_basic.cc
mindspore/ccsrc/backend/session/session_basic.cc
+1
-1
mindspore/ccsrc/debug/CMakeLists.txt
mindspore/ccsrc/debug/CMakeLists.txt
+0
-4
mindspore/ccsrc/debug/anf_ir_utils.cc
mindspore/ccsrc/debug/anf_ir_utils.cc
+1
-1
mindspore/ccsrc/debug/draw.cc
mindspore/ccsrc/debug/draw.cc
+0
-3
mindspore/ccsrc/debug/trace.h
mindspore/ccsrc/debug/trace.h
+2
-2
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.cc
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.cc
+2
-2
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h
+1
-1
mindspore/ccsrc/frontend/optimizer/ad/grad.cc
mindspore/ccsrc/frontend/optimizer/ad/grad.cc
+1
-1
mindspore/ccsrc/frontend/optimizer/ad/kprim.cc
mindspore/ccsrc/frontend/optimizer/ad/kprim.cc
+2
-2
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.cc
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.cc
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/env_item_eliminate.h
...pore/ccsrc/frontend/optimizer/irpass/env_item_eliminate.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.cc
...spore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.cc
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.h
mindspore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_call.h
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_call.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_getitem.h
...ore/ccsrc/frontend/optimizer/irpass/incorporate_getitem.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/inline.h
mindspore/ccsrc/frontend/optimizer/irpass/inline.h
+1
-1
mindspore/ccsrc/frontend/optimizer/irpass/specialize_transform.h
...re/ccsrc/frontend/optimizer/irpass/specialize_transform.h
+1
-1
mindspore/ccsrc/frontend/parallel/context.h
mindspore/ccsrc/frontend/parallel/context.h
+1
-1
mindspore/ccsrc/pipeline/jit/action.cc
mindspore/ccsrc/pipeline/jit/action.cc
+1
-1
mindspore/ccsrc/pipeline/jit/parse/data_converter.cc
mindspore/ccsrc/pipeline/jit/parse/data_converter.cc
+1
-1
mindspore/ccsrc/pipeline/jit/parse/function_block.cc
mindspore/ccsrc/pipeline/jit/parse/function_block.cc
+1
-1
mindspore/ccsrc/pipeline/jit/pass.cc
mindspore/ccsrc/pipeline/jit/pass.cc
+1
-1
mindspore/ccsrc/pipeline/jit/static_analysis/evaluator.cc
mindspore/ccsrc/pipeline/jit/static_analysis/evaluator.cc
+1
-1
mindspore/ccsrc/pipeline/jit/static_analysis/program_specialize.h
...e/ccsrc/pipeline/jit/static_analysis/program_specialize.h
+1
-1
mindspore/ccsrc/pipeline/jit/static_analysis/static_analysis.cc
...ore/ccsrc/pipeline/jit/static_analysis/static_analysis.cc
+1
-1
mindspore/ccsrc/utils/primitive_py.h
mindspore/ccsrc/utils/primitive_py.h
+3
-3
mindspore/ccsrc/utils/tensor_py.h
mindspore/ccsrc/utils/tensor_py.h
+3
-3
mindspore/ccsrc/vm/segment_runner.cc
mindspore/ccsrc/vm/segment_runner.cc
+1
-1
mindspore/ccsrc/vm/vmimpl.cc
mindspore/ccsrc/vm/vmimpl.cc
+1
-1
mindspore/core/abstract/analysis_context.cc
mindspore/core/abstract/analysis_context.cc
+1
-1
mindspore/core/base/base_ref_utils.h
mindspore/core/base/base_ref_utils.h
+3
-4
mindspore/core/ir/anf.h
mindspore/core/ir/anf.h
+1
-1
mindspore/core/ir/anf_extends.cc
mindspore/core/ir/anf_extends.cc
+0
-1
mindspore/core/ir/func_graph.cc
mindspore/core/ir/func_graph.cc
+1
-1
mindspore/core/ir/func_graph.h
mindspore/core/ir/func_graph.h
+1
-2
mindspore/core/ir/func_graph_cloner.cc
mindspore/core/ir/func_graph_cloner.cc
+1
-2
mindspore/core/ir/func_graph_cloner.h
mindspore/core/ir/func_graph_cloner.h
+4
-3
mindspore/core/ir/func_graph_extends.cc
mindspore/core/ir/func_graph_extends.cc
+1
-2
mindspore/core/ir/graph_utils.cc
mindspore/core/ir/graph_utils.cc
+0
-1
mindspore/core/ir/graph_utils.h
mindspore/core/ir/graph_utils.h
+4
-4
mindspore/core/ir/graph_utils_extends.cc
mindspore/core/ir/graph_utils_extends.cc
+1
-1
mindspore/core/utils/any.h
mindspore/core/utils/any.h
+3
-3
mindspore/core/utils/convert_utils_base.h
mindspore/core/utils/convert_utils_base.h
+3
-3
mindspore/core/utils/hashing.h
mindspore/core/utils/hashing.h
+3
-3
mindspore/core/utils/info.cc
mindspore/core/utils/info.cc
+1
-1
mindspore/core/utils/info.h
mindspore/core/utils/info.h
+4
-4
mindspore/core/utils/label.cc
mindspore/core/utils/label.cc
+2
-2
mindspore/core/utils/label.h
mindspore/core/utils/label.h
+0
-0
mindspore/core/utils/log_adapter.h
mindspore/core/utils/log_adapter.h
+3
-3
mindspore/core/utils/misc.h
mindspore/core/utils/misc.h
+3
-3
mindspore/core/utils/ordered_map.h
mindspore/core/utils/ordered_map.h
+3
-3
mindspore/core/utils/ordered_set.h
mindspore/core/utils/ordered_set.h
+3
-3
mindspore/core/utils/overload.h
mindspore/core/utils/overload.h
+3
-3
mindspore/core/utils/signal.h
mindspore/core/utils/signal.h
+3
-3
mindspore/core/utils/symbolic.h
mindspore/core/utils/symbolic.h
+3
-3
mindspore/core/utils/trace_base.cc
mindspore/core/utils/trace_base.cc
+1
-1
mindspore/core/utils/trace_base.h
mindspore/core/utils/trace_base.h
+4
-4
mindspore/core/utils/trace_info.cc
mindspore/core/utils/trace_info.cc
+1
-1
mindspore/core/utils/trace_info.h
mindspore/core/utils/trace_info.h
+3
-3
mindspore/core/utils/visible.h
mindspore/core/utils/visible.h
+3
-3
tests/ut/cpp/ir/clone_test.cc
tests/ut/cpp/ir/clone_test.cc
+1
-1
tests/ut/cpp/ir/manager_test.cc
tests/ut/cpp/ir/manager_test.cc
+2
-2
tests/ut/cpp/optimizer/ad/ad_test.cc
tests/ut/cpp/optimizer/ad/ad_test.cc
+1
-1
tests/ut/cpp/optimizer/cconv_test.cc
tests/ut/cpp/optimizer/cconv_test.cc
+1
-1
tests/ut/cpp/optimizer/lib_test.cc
tests/ut/cpp/optimizer/lib_test.cc
+1
-1
tests/ut/cpp/optimizer/opt_test.cc
tests/ut/cpp/optimizer/opt_test.cc
+1
-1
tests/ut/cpp/vm/segment_runner_test.cc
tests/ut/cpp/vm/segment_runner_test.cc
+1
-1
未找到文件。
mindspore/ccsrc/backend/optimizer/pass/fuse_basic.cc
浏览文件 @
a499d4e4
...
...
@@ -32,7 +32,7 @@
#include "vm/segment_runner.h"
#include "debug/draw.h"
#include "debug/anf_ir_dump.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
namespace
mindspore
{
namespace
opt
{
...
...
mindspore/ccsrc/backend/optimizer/pass/fuse_graph_kernel.cc
浏览文件 @
a499d4e4
...
...
@@ -33,7 +33,7 @@
#include "vm/segment_runner.h"
#include "debug/draw.h"
#include "debug/anf_ir_dump.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
namespace
mindspore
{
namespace
opt
{
...
...
mindspore/ccsrc/backend/session/session_basic.cc
浏览文件 @
a499d4e4
...
...
@@ -33,7 +33,7 @@
#include "common/utils.h"
#include "ir/dtype.h"
#include "ir/anf.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#if (ENABLE_CPU && (ENABLE_D || ENABLE_GPU))
#include "frontend/parallel/ps/worker.h"
#include "frontend/parallel/ps/common.h"
...
...
mindspore/ccsrc/debug/CMakeLists.txt
浏览文件 @
a499d4e4
...
...
@@ -3,10 +3,6 @@ set(_DEBUG_SRC_LIST
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/anf_ir_utils.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/draw.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/dump_proto.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/info.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/label.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/trace_info.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/trace_base.cc"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/trace.cc"
)
...
...
mindspore/ccsrc/debug/anf_ir_utils.cc
浏览文件 @
a499d4e4
...
...
@@ -36,7 +36,7 @@
#include "utils/ordered_set.h"
#include "utils/utils.h"
#include "debug/trace.h"
#include "
debug
/label.h"
#include "
utils
/label.h"
#include "utils/context/ms_context.h"
#include "frontend/operator/ops.h"
...
...
mindspore/ccsrc/debug/draw.cc
浏览文件 @
a499d4e4
...
...
@@ -23,7 +23,6 @@
#include <vector>
#include <string>
#include "pybind11/pybind11.h"
#include "ir/meta_func_graph.h"
#include "ir/param_value.h"
#include "ir/primitive.h"
...
...
@@ -32,8 +31,6 @@
#include "frontend/operator/composite/composite.h"
#include "ir/tensor.h"
namespace
py
=
pybind11
;
namespace
mindspore
{
// namespace to support debug utils
...
...
mindspore/ccsrc/debug/trace.h
浏览文件 @
a499d4e4
...
...
@@ -23,8 +23,8 @@
#include <utility>
#include <stack>
#include "
debug
/trace_base.h"
#include "
debug
/info.h"
#include "
utils
/trace_base.h"
#include "
utils
/info.h"
#include "ir/anf.h"
#include "ir/func_graph.h"
#include "pipeline/jit/static_analysis/static_analysis.h"
...
...
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.cc
浏览文件 @
a499d4e4
...
...
@@ -22,8 +22,8 @@
#include "ir/anf.h"
#include "ir/meta_func_graph.h"
#include "
debug
/info.h"
#include "
utils
/func_graph_cloner.h"
#include "
utils
/info.h"
#include "
ir
/func_graph_cloner.h"
#include "ir/manager.h"
#include "pipeline/jit/resource.h"
#include "pipeline/jit/parse/parse.h"
...
...
mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h
浏览文件 @
a499d4e4
...
...
@@ -27,7 +27,7 @@
#include "ir/anf.h"
#include "ir/meta_func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "pipeline/jit/resource.h"
#include "frontend/optimizer/ad/adjoint.h"
#include "frontend/operator/ops.h"
...
...
mindspore/ccsrc/frontend/optimizer/ad/grad.cc
浏览文件 @
a499d4e4
...
...
@@ -16,7 +16,7 @@
#include "frontend/optimizer/ad/grad.h"
#include "frontend/optimizer/ad/dfunctor.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "utils/context/ms_context.h"
#include "utils/symbolic.h"
#include "ir/graph_utils.h"
...
...
mindspore/ccsrc/frontend/optimizer/ad/kprim.cc
浏览文件 @
a499d4e4
...
...
@@ -22,7 +22,7 @@
#include "ir/anf.h"
#include "utils/primitive_py.h"
#include "ir/meta_func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "ir/manager.h"
#include "pipeline/jit/resource.h"
#include "pipeline/jit/parse/parse.h"
...
...
@@ -33,7 +33,7 @@
#include "utils/symbolic.h"
#include "utils/primitive_utils.h"
#include "utils/context/ms_context.h"
#include "
debug
/info.h"
#include "
utils
/info.h"
#include "debug/trace.h"
#include "./common.h"
...
...
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.cc
浏览文件 @
a499d4e4
...
...
@@ -21,7 +21,7 @@
#include <unordered_map>
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/operator/ops.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h
浏览文件 @
a499d4e4
...
...
@@ -21,7 +21,7 @@
#include <algorithm>
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/optimizer/optimizer_caller.h"
#include "ir/pattern_matcher.h"
#include "frontend/operator/ops.h"
...
...
mindspore/ccsrc/frontend/optimizer/irpass/env_item_eliminate.h
浏览文件 @
a499d4e4
...
...
@@ -24,7 +24,7 @@
#include <vector>
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/optimizer/optimizer_caller.h"
#include "frontend/optimizer/anf_visitor.h"
#include "frontend/operator/ops.h"
...
...
mindspore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.cc
浏览文件 @
a499d4e4
...
...
@@ -26,7 +26,7 @@
#include "frontend/optimizer/optimizer.h"
#include "frontend/optimizer/anf_visitor.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
namespace
mindspore
{
namespace
opt
{
...
...
mindspore/ccsrc/frontend/optimizer/irpass/grad_var_prepare.h
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,7 @@
#include "frontend/optimizer/optimizer.h"
#include "frontend/optimizer/anf_visitor.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
namespace
mindspore
{
namespace
opt
{
...
...
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_call.h
浏览文件 @
a499d4e4
...
...
@@ -26,7 +26,7 @@
#include "frontend/optimizer/optimizer.h"
#include "frontend/optimizer/anf_visitor.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/operator/ops.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_getitem.h
浏览文件 @
a499d4e4
...
...
@@ -24,7 +24,7 @@
#include <vector>
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/optimizer/optimizer_caller.h"
#include "frontend/optimizer/anf_visitor.h"
#include "frontend/operator/ops.h"
...
...
mindspore/ccsrc/frontend/optimizer/irpass/inline.h
浏览文件 @
a499d4e4
...
...
@@ -25,7 +25,7 @@
#include "frontend/optimizer/optimizer.h"
#include "frontend/optimizer/anf_visitor.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/operator/ops.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/frontend/optimizer/irpass/specialize_transform.h
浏览文件 @
a499d4e4
...
...
@@ -29,7 +29,7 @@
#include "frontend/optimizer/anf_visitor.h"
#include "ir/manager.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/operator/ops.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/frontend/parallel/context.h
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,7 @@
#include "utils/convert_utils.h"
#include "ir/anf.h"
#include "ir/func_graph.h"
#include "
debug
/info.h"
#include "
utils
/info.h"
#include "abstract/abstract_value.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/pipeline/jit/action.cc
浏览文件 @
a499d4e4
...
...
@@ -23,7 +23,7 @@
#include <algorithm>
#include <functional>
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "ir/param_value.h"
#include "frontend/parallel/costmodel_context.h"
#include "frontend/parallel/context.h"
...
...
mindspore/ccsrc/pipeline/jit/parse/data_converter.cc
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,7 @@
#include "pipeline/jit/parse/python_adapter.h"
#include "frontend/operator/ops.h"
#include "frontend/operator/composite/composite.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "utils/symbolic.h"
#include "utils/context/ms_context.h"
#include "debug/trace.h"
...
...
mindspore/ccsrc/pipeline/jit/parse/function_block.cc
浏览文件 @
a499d4e4
...
...
@@ -23,7 +23,7 @@
#include "pipeline/jit/parse/resolve.h"
#include "pipeline/jit/parse/parse.h"
#include "frontend/operator/ops.h"
#include "
debug
/info.h"
#include "
utils
/info.h"
#include "debug/trace.h"
#include "pybind11/pybind11.h"
...
...
mindspore/ccsrc/pipeline/jit/pass.cc
浏览文件 @
a499d4e4
...
...
@@ -24,7 +24,7 @@
#include <algorithm>
#include <functional>
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "debug/anf_ir_utils.h"
#include "pipeline/jit/parse/parse_base.h"
#include "pipeline/jit/parse/data_converter.h"
...
...
mindspore/ccsrc/pipeline/jit/static_analysis/evaluator.cc
浏览文件 @
a499d4e4
...
...
@@ -19,7 +19,7 @@
#include <algorithm>
#include <unordered_set>
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "abstract/utils.h"
#include "debug/trace.h"
#include "utils/context/ms_context.h"
...
...
mindspore/ccsrc/pipeline/jit/static_analysis/program_specialize.h
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,7 @@
#include <vector>
#include "ir/anf.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "pipeline/jit/static_analysis/evaluator.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/pipeline/jit/static_analysis/static_analysis.cc
浏览文件 @
a499d4e4
...
...
@@ -26,7 +26,7 @@
#include "frontend/operator/ops.h"
#include "utils/symbolic.h"
#include "ir/tensor.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "./common.h"
#include "pipeline/jit/parse/data_converter.h"
#include "debug/draw.h"
...
...
mindspore/ccsrc/utils/primitive_py.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
ORE_IR
_PRIMITIVE_PY_H_
#define MINDSPORE_C
ORE_IR
_PRIMITIVE_PY_H_
#ifndef MINDSPORE_C
CSRC_UTILS
_PRIMITIVE_PY_H_
#define MINDSPORE_C
CSRC_UTILS
_PRIMITIVE_PY_H_
#include <unordered_map>
#include <vector>
...
...
@@ -77,4 +77,4 @@ class PrimitivePy : public Primitive {
using
PrimitivePyPtr
=
std
::
shared_ptr
<
PrimitivePy
>
;
}
// namespace mindspore
#endif // MINDSPORE_C
ORE_IR
_PRIMITIVE_PY_H_
#endif // MINDSPORE_C
CSRC_UTILS
_PRIMITIVE_PY_H_
mindspore/ccsrc/utils/tensor_py.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
ORE_IR
_TENSOR_PY_H_
#define MINDSPORE_C
ORE_IR
_TENSOR_PY_H_
#ifndef MINDSPORE_C
CSRC_UTILS
_TENSOR_PY_H_
#define MINDSPORE_C
CSRC_UTILS
_TENSOR_PY_H_
#include <memory>
#include <string>
...
...
@@ -108,4 +108,4 @@ class TensorPy {
}
// namespace tensor
}
// namespace mindspore
#endif // MINDSPORE_C
ORE_IR
_TENSOR_PY_H_
#endif // MINDSPORE_C
CSRC_UTILS
_TENSOR_PY_H_
mindspore/ccsrc/vm/segment_runner.cc
浏览文件 @
a499d4e4
...
...
@@ -30,7 +30,7 @@
#include "utils/log_adapter.h"
#include "utils/utils.h"
#include "ir/manager.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/operator/ops.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/vm/vmimpl.cc
浏览文件 @
a499d4e4
...
...
@@ -29,7 +29,7 @@
#include "ir/tensor.h"
#include "frontend/operator/ops.h"
#include "ir/manager.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "utils/primitive_py.h"
#include "utils/convert_utils.h"
#include "utils/primitive_utils.h"
...
...
mindspore/core/abstract/analysis_context.cc
浏览文件 @
a499d4e4
...
...
@@ -19,7 +19,7 @@
#include <algorithm>
#include "utils/symbolic.h"
#include "
debug/trac
e.h"
#include "
utils/trace_bas
e.h"
namespace
mindspore
{
namespace
abstract
{
...
...
mindspore/core/base/base_ref_utils.h
浏览文件 @
a499d4e4
...
...
@@ -13,7 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MINDSPORE_CORE_BASE_BASE_REF_UTILS_H
#define MINDSPORE_CORE_BASE_BASE_REF_UTILS_H
#include <vector>
#include <memory>
...
...
@@ -21,9 +22,7 @@
#include "ir/tensor.h"
#include "base/base_ref.h"
#ifndef MINDSPORE_CCSRC_UTILS_BASE_REF_UTILS_H
#define MINDSPORE_CCSRC_UTILS_BASE_REF_UTILS_H
namespace
mindspore
{
std
::
vector
<
tensor
::
TensorPtr
>
TransformVectorRefToMultiTensor
(
const
VectorRef
&
base_ref
);
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_UTILS
_BASE_REF_UTILS_H
#endif // MINDSPORE_C
ORE_BASE
_BASE_REF_UTILS_H
mindspore/core/ir/anf.h
浏览文件 @
a499d4e4
...
...
@@ -30,7 +30,7 @@
#include "base/user_data.h"
#include "ir/kernel_info_dev.h"
#include "ir/scope.h"
#include "
debug
/info.h"
#include "
utils
/info.h"
// A MindSpore ANF IR defined here.
// with BNF followed:
...
...
mindspore/core/ir/anf_extends.cc
浏览文件 @
a499d4e4
...
...
@@ -24,7 +24,6 @@
#include "ir/visitor.h"
#include "ir/func_graph.h"
#include "base/core_ops.h"
#include "debug/label.h"
namespace
mindspore
{
// namespace to support intermediate representation definition
...
...
mindspore/core/ir/func_graph.cc
浏览文件 @
a499d4e4
...
...
@@ -22,7 +22,7 @@
#include <sstream>
#include <utility>
#include "
debug
/trace_base.h"
#include "
utils
/trace_base.h"
#include "ir/manager.h"
#include "utils/flags.h"
#include "utils/ordered_set.h"
...
...
mindspore/core/ir/func_graph.h
浏览文件 @
a499d4e4
...
...
@@ -33,6 +33,7 @@
#include "utils/ordered_set.h"
#include "utils/ordered_map.h"
#include "base/base_ref.h"
#include "ir/func_graph_cloner.h"
namespace
mindspore
{
using
BaseRefCounterMap
=
OrderedMap
<
BaseRef
,
int
,
BaseRefHash
>
;
...
...
@@ -420,8 +421,6 @@ size_t NewFgSeenGeneration();
std
::
shared_ptr
<
OrderedSet
<
CNodePtr
>>
FindRoots
(
const
std
::
vector
<
CNodePtr
>
&
segment
);
// Find the leaf cnodes of a segment of cnodes.
std
::
shared_ptr
<
OrderedSet
<
CNodePtr
>>
FindLeaves
(
const
std
::
vector
<
CNodePtr
>
&
segment
);
FuncGraphPtr
BasicClone
(
const
FuncGraphPtr
&
func_graph
);
}
// namespace mindspore
#endif // MINDSPORE_CORE_IR_FUNC_GRAPH_H_
mindspore/c
csrc/utils
/func_graph_cloner.cc
→
mindspore/c
ore/ir
/func_graph_cloner.cc
浏览文件 @
a499d4e4
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include <algorithm>
...
...
@@ -23,7 +23,6 @@
#include "base/core_ops.h"
#include "utils/convert_utils_base.h"
#include "utils/log_adapter.h"
#include "utils/profile.h"
#include "utils/context/ms_context.h"
#include "ir/graph_utils.h"
...
...
mindspore/c
csrc/utils
/func_graph_cloner.h
→
mindspore/c
ore/ir
/func_graph_cloner.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC_UTILS
_FUNC_GRAPH_CLONER_H_
#define MINDSPORE_C
CSRC_UTILS
_FUNC_GRAPH_CLONER_H_
#ifndef MINDSPORE_C
ORE_IR
_FUNC_GRAPH_CLONER_H_
#define MINDSPORE_C
ORE_IR
_FUNC_GRAPH_CLONER_H_
#include <functional>
#include <list>
...
...
@@ -128,6 +128,7 @@ ClonerPtr SpecializerClone(const FuncGraphPtr &func_graph, const TraceInfoPtr &r
FuncGraphPtr
TransformableClone
(
const
FuncGraphPtr
&
func_graph
,
const
TraceInfoPtr
&
relation
=
std
::
make_shared
<
TraceTransform
>
());
FuncGraphPtr
BasicClone
(
const
FuncGraphPtr
&
func_graph
);
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_UTILS
_FUNC_GRAPH_CLONER_H_
#endif // MINDSPORE_C
ORE_IR
_FUNC_GRAPH_CLONER_H_
mindspore/core/ir/func_graph_extends.cc
浏览文件 @
a499d4e4
...
...
@@ -23,9 +23,8 @@
#include "base/core_ops.h"
#include "utils/ordered_set.h"
#include "abstract/abstract_value.h"
#include "
debug/trace
.h"
#include "
abstract/abstract_function
.h"
#include "debug/draw.h"
#include "debug/label.h"
namespace
mindspore
{
using
mindspore
::
abstract
::
AbstractFunction
;
...
...
mindspore/core/ir/graph_utils.cc
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,6 @@
#include <deque>
#include <set>
#include "debug/label.h"
#include "ir/func_graph.h"
#include "utils/log_adapter.h"
#include "utils/context/ms_context.h"
...
...
mindspore/core/ir/graph_utils.h
浏览文件 @
a499d4e4
...
...
@@ -16,8 +16,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC_UTILS
_GRAPH_UTILS_H_
#define MINDSPORE_C
CSRC_UTILS
_GRAPH_UTILS_H_
#ifndef MINDSPORE_C
ORE_IR
_GRAPH_UTILS_H_
#define MINDSPORE_C
ORE_IR
_GRAPH_UTILS_H_
#include <unordered_map>
#include <unordered_set>
...
...
@@ -32,7 +32,7 @@
#include "ir/primitive.h"
#include "ir/scalar.h"
#include "ir/tensor.h"
#include "
debug
/label.h"
#include "
utils
/label.h"
namespace
mindspore
{
...
...
@@ -94,4 +94,4 @@ class FuncGraphIndex {
};
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_UTILS
_GRAPH_UTILS_H_
#endif // MINDSPORE_C
ORE_IR
_GRAPH_UTILS_H_
mindspore/core/ir/graph_utils_extends.cc
浏览文件 @
a499d4e4
...
...
@@ -28,7 +28,7 @@
#include "ir/visitor.h"
#include "ir/manager.h"
#include "ir/func_graph.h"
#include "
debug
/label.h"
#include "
utils
/label.h"
#include "utils/log_adapter.h"
#include "common/utils.h"
...
...
mindspore/core/utils/any.h
浏览文件 @
a499d4e4
...
...
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_ANY_H_
#define MINDSPORE_C
CSRC
_UTILS_ANY_H_
#ifndef MINDSPORE_C
ORE
_UTILS_ANY_H_
#define MINDSPORE_C
ORE
_UTILS_ANY_H_
#include <iostream>
#include <string>
...
...
@@ -211,4 +211,4 @@ bool AnyIsLiteral(const Any &any);
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_ANY_H_
#endif // MINDSPORE_C
ORE
_UTILS_ANY_H_
mindspore/core/utils/convert_utils_base.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_CONVERT_UTILS_BASE_H_
#define MINDSPORE_C
CSRC
_UTILS_CONVERT_UTILS_BASE_H_
#ifndef MINDSPORE_C
ORE
_UTILS_CONVERT_UTILS_BASE_H_
#define MINDSPORE_C
ORE
_UTILS_CONVERT_UTILS_BASE_H_
#include <limits>
#include <memory>
...
...
@@ -129,4 +129,4 @@ inline uint8_t *AddressOffset(void *address, size_t offset) {
}
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_CONVERT_UTILS_BASE_H_
#endif // MINDSPORE_C
ORE
_UTILS_CONVERT_UTILS_BASE_H_
mindspore/core/utils/hashing.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_HASHING_H_
#define MINDSPORE_C
CSRC
_UTILS_HASHING_H_
#ifndef MINDSPORE_C
ORE
_UTILS_HASHING_H_
#define MINDSPORE_C
ORE
_UTILS_HASHING_H_
#include <initializer_list>
...
...
@@ -33,4 +33,4 @@ inline std::size_t hash_combine(const std::initializer_list<std::size_t> &hash_v
return
hash_sum
;
}
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_HASHING_H_
#endif // MINDSPORE_C
ORE
_UTILS_HASHING_H_
mindspore/c
csrc/debug
/info.cc
→
mindspore/c
ore/utils
/info.cc
浏览文件 @
a499d4e4
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "
debug
/info.h"
#include "
utils
/info.h"
#include <utility>
#include <fstream>
#include <sstream>
...
...
mindspore/c
csrc/debug
/info.h
→
mindspore/c
ore/utils
/info.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC_IR
_INFO_H_
#define MINDSPORE_C
CSRC_IR
_INFO_H_
#ifndef MINDSPORE_C
ORE_UTILS
_INFO_H_
#define MINDSPORE_C
ORE_UTILS
_INFO_H_
#include <iostream>
#include <string>
...
...
@@ -25,7 +25,7 @@
#include <vector>
#include "base/base.h"
#include "
debug
/trace_info.h"
#include "
utils
/trace_info.h"
namespace
mindspore
{
// namespace to support intermediate representation definition
...
...
@@ -232,4 +232,4 @@ class GraphDebugInfo : public DebugInfo {
using
GraphDebugInfoPtr
=
std
::
shared_ptr
<
GraphDebugInfo
>
;
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_IR
_INFO_H_
#endif // MINDSPORE_C
ORE_UTILS
_INFO_H_
mindspore/c
csrc/debug
/label.cc
→
mindspore/c
ore/utils
/label.cc
浏览文件 @
a499d4e4
...
...
@@ -14,12 +14,12 @@
* limitations under the License.
*/
#include "
debug
/label.h"
#include "
utils
/label.h"
#include <algorithm>
#include <sstream>
#include <utility>
#include "
debug
/info.h"
#include "
utils
/info.h"
#include "ir/func_graph.h"
namespace
mindspore
{
...
...
mindspore/c
csrc/debug
/label.h
→
mindspore/c
ore/utils
/label.h
浏览文件 @
a499d4e4
文件已移动
mindspore/core/utils/log_adapter.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_LOG_ADAPTER_H_
#define MINDSPORE_C
CSRC
_UTILS_LOG_ADAPTER_H_
#ifndef MINDSPORE_C
ORE
_UTILS_LOG_ADAPTER_H_
#define MINDSPORE_C
ORE
_UTILS_LOG_ADAPTER_H_
#include <stdarg.h>
#include <stdint.h>
...
...
@@ -201,4 +201,4 @@ class LogWriter {
#define MS_ASSERT(f) ((void)0)
#endif
#endif // MINDSPORE_C
CSRC
_UTILS_LOG_ADAPTER_H_
#endif // MINDSPORE_C
ORE
_UTILS_LOG_ADAPTER_H_
mindspore/core/utils/misc.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_MISC_H_
#define MINDSPORE_C
CSRC
_UTILS_MISC_H_
#ifndef MINDSPORE_C
ORE
_UTILS_MISC_H_
#define MINDSPORE_C
ORE
_UTILS_MISC_H_
#include <cxxabi.h>
#include <list>
...
...
@@ -35,4 +35,4 @@ extern const int RET_BREAK;
extern
std
::
string
demangle
(
const
char
*
name
);
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_MISC_H_
#endif // MINDSPORE_C
ORE
_UTILS_MISC_H_
mindspore/core/utils/ordered_map.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_ORDERED_MAP_H_
#define MINDSPORE_C
CSRC
_UTILS_ORDERED_MAP_H_
#ifndef MINDSPORE_C
ORE
_UTILS_ORDERED_MAP_H_
#define MINDSPORE_C
ORE
_UTILS_ORDERED_MAP_H_
#include <algorithm>
#include <unordered_map>
...
...
@@ -198,4 +198,4 @@ class OrderedMap {
};
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_ORDERED_MAP_H_
#endif // MINDSPORE_C
ORE
_UTILS_ORDERED_MAP_H_
mindspore/core/utils/ordered_set.h
浏览文件 @
a499d4e4
...
...
@@ -16,8 +16,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_ORDERED_SET_H_
#define MINDSPORE_C
CSRC
_UTILS_ORDERED_SET_H_
#ifndef MINDSPORE_C
ORE
_UTILS_ORDERED_SET_H_
#define MINDSPORE_C
ORE
_UTILS_ORDERED_SET_H_
#include <algorithm>
#include <unordered_map>
...
...
@@ -280,4 +280,4 @@ class OrderedSet {
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_ORDERED_SET_H_
#endif // MINDSPORE_C
ORE
_UTILS_ORDERED_SET_H_
mindspore/core/utils/overload.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_OVERLOAD_H_
#define MINDSPORE_C
CSRC
_UTILS_OVERLOAD_H_
#ifndef MINDSPORE_C
ORE
_UTILS_OVERLOAD_H_
#define MINDSPORE_C
ORE
_UTILS_OVERLOAD_H_
#include <list>
#include <utility>
...
...
@@ -135,4 +135,4 @@ std::string ToString(const std::map<T1, T2> &map) {
}
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_OVERLOAD_H_
#endif // MINDSPORE_C
ORE
_UTILS_OVERLOAD_H_
mindspore/core/utils/signal.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_SIGNAL_H_
#define MINDSPORE_C
CSRC
_UTILS_SIGNAL_H_
#ifndef MINDSPORE_C
ORE
_UTILS_SIGNAL_H_
#define MINDSPORE_C
ORE
_UTILS_SIGNAL_H_
#include <functional>
#include <memory>
...
...
@@ -66,4 +66,4 @@ class Signal {
};
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_EVENT_H_
#endif // MINDSPORE_C
ORE
_UTILS_EVENT_H_
mindspore/core/utils/symbolic.h
浏览文件 @
a499d4e4
...
...
@@ -16,8 +16,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_SYMBOLIC_H_
#define MINDSPORE_C
CSRC
_UTILS_SYMBOLIC_H_
#ifndef MINDSPORE_C
ORE
_UTILS_SYMBOLIC_H_
#define MINDSPORE_C
ORE
_UTILS_SYMBOLIC_H_
#include <unordered_map>
#include <memory>
...
...
@@ -171,4 +171,4 @@ extern std::shared_ptr<EnvInstance> newenv;
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_SYMBOLIC_H_
#endif // MINDSPORE_C
ORE
_UTILS_SYMBOLIC_H_
mindspore/c
csrc/debug
/trace_base.cc
→
mindspore/c
ore/utils
/trace_base.cc
浏览文件 @
a499d4e4
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "
debug
/trace_base.h"
#include "
utils
/trace_base.h"
#include <iostream>
#include <fstream>
...
...
mindspore/c
csrc/debug
/trace_base.h
→
mindspore/c
ore/utils
/trace_base.h
浏览文件 @
a499d4e4
...
...
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC_DEBUG
_TRACE_BASE_H_
#define MINDSPORE_C
CSRC_DEBUG
_TRACE_BASE_H_
#ifndef MINDSPORE_C
ORE_UTILS
_TRACE_BASE_H_
#define MINDSPORE_C
ORE_UTILS
_TRACE_BASE_H_
#include <fstream>
#include <memory>
...
...
@@ -23,7 +23,7 @@
#include <utility>
#include <stack>
#include "
debug
/info.h"
#include "
utils
/info.h"
#include "ir/anf.h"
#include "ir/func_graph.h"
#include "utils/any.h"
...
...
@@ -36,4 +36,4 @@ std::string GetDebugInfo(const DebugInfoPtr &info, const std::string &prefix,
}
// namespace trace
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_DEBUG
_TRACE_BASE_H_
#endif // MINDSPORE_C
ORE_UTILS
_TRACE_BASE_H_
mindspore/c
csrc/debug
/trace_info.cc
→
mindspore/c
ore/utils
/trace_info.cc
浏览文件 @
a499d4e4
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "
debug
/trace_info.h"
#include "
utils
/trace_info.h"
#include <utility>
#include <fstream>
#include <sstream>
...
...
mindspore/c
csrc/debug
/trace_info.h
→
mindspore/c
ore/utils
/trace_info.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC_DEBUG
_TRACE_INFO_H_
#define MINDSPORE_C
CSRC_DEBUG
_TRACE_INFO_H_
#ifndef MINDSPORE_C
ORE_UTILS
_TRACE_INFO_H_
#define MINDSPORE_C
ORE_UTILS
_TRACE_INFO_H_
#include <iostream>
#include <string>
...
...
@@ -414,4 +414,4 @@ class TraceCombileLikeGraphs : public TraceInfo {
};
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC_DEBUG
_TRACE_INFO_H_
#endif // MINDSPORE_C
ORE_UTILS
_TRACE_INFO_H_
mindspore/core/utils/visible.h
浏览文件 @
a499d4e4
...
...
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef MINDSPORE_C
CSRC
_UTILS_VISIBLE_H_
#define MINDSPORE_C
CSRC
_UTILS_VISIBLE_H_
#ifndef MINDSPORE_C
ORE
_UTILS_VISIBLE_H_
#define MINDSPORE_C
ORE
_UTILS_VISIBLE_H_
namespace
mindspore
{
// refer to https://gcc.gnu.org/wiki/Visibility
...
...
@@ -41,4 +41,4 @@ namespace mindspore {
}
// namespace mindspore
#endif // MINDSPORE_C
CSRC
_UTILS_VISIBLE_H_
#endif // MINDSPORE_C
ORE
_UTILS_VISIBLE_H_
tests/ut/cpp/ir/clone_test.cc
浏览文件 @
a499d4e4
...
...
@@ -20,7 +20,7 @@
#include "ir/manager.h"
#include "utils/log_adapter.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "pipeline/jit/parse/parse.h"
#include "ir/graph_utils.h"
#include "debug/draw.h"
...
...
tests/ut/cpp/ir/manager_test.cc
浏览文件 @
a499d4e4
...
...
@@ -17,12 +17,12 @@
#include "common/py_func_graph_fetcher.h"
#include "ir/dtype.h"
#include "ir/manager.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "pipeline/jit/parse/parse.h"
#include "frontend/operator/ops.h"
#include "utils/log_adapter.h"
#include "debug/draw.h"
#include "
debug
/label.h"
#include "
utils
/label.h"
#include "./common.h"
namespace
mindspore
{
...
...
tests/ut/cpp/optimizer/ad/ad_test.cc
浏览文件 @
a499d4e4
...
...
@@ -21,7 +21,7 @@
#include "common/py_func_graph_fetcher.h"
#include "ir/manager.h"
#include "ir/value.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "utils/log_adapter.h"
#include "ir/graph_utils.h"
#include "pipeline/jit/resource.h"
...
...
tests/ut/cpp/optimizer/cconv_test.cc
浏览文件 @
a499d4e4
...
...
@@ -18,7 +18,7 @@
#include "common/common_test.h"
#include "common/py_func_graph_fetcher.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "utils/log_adapter.h"
#include "pipeline/jit/parse/parse.h"
#include "debug/draw.h"
...
...
tests/ut/cpp/optimizer/lib_test.cc
浏览文件 @
a499d4e4
...
...
@@ -21,7 +21,7 @@
#include "common/py_func_graph_fetcher.h"
#include "ir/anf.h"
#include "ir/func_graph.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "ir/manager.h"
#include "ir/value.h"
#include "frontend/operator/ops.h"
...
...
tests/ut/cpp/optimizer/opt_test.cc
浏览文件 @
a499d4e4
...
...
@@ -21,7 +21,7 @@
#include "ir/anf.h"
#include "ir/visitor.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "frontend/optimizer/opt.h"
#include "frontend/optimizer/anf_visitor.h"
#include "frontend/optimizer/irpass.h"
...
...
tests/ut/cpp/vm/segment_runner_test.cc
浏览文件 @
a499d4e4
...
...
@@ -19,7 +19,7 @@
#include "common/py_func_graph_fetcher.h"
#include "ir/manager.h"
#include "utils/log_adapter.h"
#include "
utils
/func_graph_cloner.h"
#include "
ir
/func_graph_cloner.h"
#include "pipeline/jit/parse/parse.h"
#include "ir/graph_utils.h"
#include "pipeline/jit/resource.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录