Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
c5a7bf90
Commit
c5a7bf90
authored
Jun 06, 2019
by
Paul
Browse files
Check for .pb extension for tensorflow
parent
80932f5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/driver/main.cpp
src/driver/main.cpp
+1
-1
No files found.
src/driver/main.cpp
View file @
c5a7bf90
...
@@ -35,7 +35,7 @@ struct loader
...
@@ -35,7 +35,7 @@ struct loader
{
{
if
(
ends_with
(
file
,
".onnx"
))
if
(
ends_with
(
file
,
".onnx"
))
type
=
"onnx"
;
type
=
"onnx"
;
else
else
(
ends_with
(
file
,
".pb"
))
type
=
"tf"
;
type
=
"tf"
;
}
}
std
::
cout
<<
"Reading: "
<<
file
<<
std
::
endl
;
std
::
cout
<<
"Reading: "
<<
file
<<
std
::
endl
;
...
...
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