This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
graphengine
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
13
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix code check
tags/v1.2.0
dongduo
4 years ago
parent
30b15ad4ae
commit
966daf4a16
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ge/graph/passes/base_pass.h
+1
-1
ge/graph/passes/bitcast_pass.cc
+ 1
- 1
ge/graph/passes/base_pass.h
View File
@@ -47,7 +47,7 @@ class BaseNodePass {
/// @param node
/// @return
///
virtual Status Run(NodePtr &node) = 0
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
;
virtual Status Run(NodePtr &node) = 0;
virtual ~BaseNodePass() = default;
+ 1
- 1
ge/graph/passes/bitcast_pass.cc
View File
@@ -44,7 +44,7 @@ Status BitcastPass::Run(NodePtr &node) {
return PARAM_INVALID;
}
ge::DataType dst_data_type;
if (CheckDstData
CheckOutputShape
Type(op_desc, dst_data_type) != SUCCESS) {
if (CheckDstDataType(op_desc, dst_data_type) != SUCCESS) {
return PARAM_INVALID;
}
Write
Preview
Loading…
Cancel
Save