This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
modify express log
tags/v1.1.0
changzherui
5 years ago
parent
3c4a585143
commit
53c34b6927
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/ccsrc/transform/express_ir/CMakeLists.txt
+1
-1
mindspore/core/utils/log_adapter.cc
+1
-1
mindspore/core/utils/log_adapter.h
+ 1
- 1
mindspore/ccsrc/transform/express_ir/CMakeLists.txt
View File
@@ -1,3 +1,3 @@
file(GLOB_RECURSE _EXPORTER_IR_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc")
set_property(SOURCE ${_
ONNX_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_ONNX
)
set_property(SOURCE ${_
EXPORTER_IR_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_EXPRESS
)
add_library(_mindspore_transform_express_ir_obj OBJECT ${_EXPORTER_IR_SRC_FILES})
+ 1
- 1
mindspore/core/utils/log_adapter.cc
View File
@@ -169,7 +169,7 @@ static const char *GetSubModuleName(SubModuleId module_id) {
"KERNEL", // SM_KERNEL
"MD", // SM_MD
"ME", // SM_ME
"
ONNX", // SM_ONNX
"
EXPRESS", // SM_EXPRESS
"OPTIMIZER", // SM_OPTIMIZER
"PARALLEL", // SM_PARALLEL
"PARSER", // SM_PARSER
+ 1
- 1
mindspore/core/utils/log_adapter.h
View File
@@ -112,7 +112,7 @@ enum SubModuleId : int {
SM_KERNEL, // kernel
SM_MD, // MindData
SM_ME, // MindExpression
SM_
ONNX, // ONNX
SM_
EXPRESS, // EXPRESS_IR
SM_OPTIMIZER, // optimzer
SM_PARALLEL, // parallel
SM_PARSER, // parser
Write
Preview
Loading…
Cancel
Save