Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
9d3d1d66
Commit
9d3d1d66
authored
Jun 06, 2019
by
Paul
Browse files
Rename file type variable
parent
0c6195ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/driver/main.cpp
src/driver/main.cpp
+2
-2
No files found.
src/driver/main.cpp
View file @
9d3d1d66
...
@@ -35,8 +35,8 @@ struct loader
...
@@ -35,8 +35,8 @@ struct loader
{
{
if
(
ends_with
(
file
,
".onnx"
))
if
(
ends_with
(
file
,
".onnx"
))
file_type
=
"onnx"
;
file_type
=
"onnx"
;
else
else
if
(
ends_with
(
file
,
".pb"
))
(
ends_with
(
file
,
".pb"
))
file_type
=
"tf"
;
file_type
=
"tf"
;
}
}
std
::
cout
<<
"Reading: "
<<
file
<<
std
::
endl
;
std
::
cout
<<
"Reading: "
<<
file
<<
std
::
endl
;
if
(
file_type
==
"onnx"
)
if
(
file_type
==
"onnx"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment