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
7359bd4d
Commit
7359bd4d
authored
Jun 20, 2018
by
Paul
Browse files
Formatting
parent
95e70f20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/onnx/read_onnx.cpp
src/onnx/read_onnx.cpp
+2
-2
No files found.
src/onnx/read_onnx.cpp
View file @
7359bd4d
...
@@ -364,9 +364,9 @@ int main(int argc, char const* argv[])
...
@@ -364,9 +364,9 @@ int main(int argc, char const* argv[])
{
{
parser
.
parse_from
(
input
);
parser
.
parse_from
(
input
);
parser
.
prog
.
compile
(
rtg
::
cpu
::
cpu_target
{});
parser
.
prog
.
compile
(
rtg
::
cpu
::
cpu_target
{});
auto
s
=
parser
.
prog
.
get_parameter_shape
(
"Input3"
);
auto
s
=
parser
.
prog
.
get_parameter_shape
(
"Input3"
);
auto
input3
=
get_tensor_argument
(
s
);
auto
input3
=
get_tensor_argument
(
s
);
auto
out
=
parser
.
prog
.
eval
({{
"Input3"
,
input3
}});
auto
out
=
parser
.
prog
.
eval
({{
"Input3"
,
input3
}});
(
void
)
out
;
(
void
)
out
;
}
}
catch
(...)
catch
(...)
...
...
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