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
4c7f3cba
Commit
4c7f3cba
authored
Jul 18, 2019
by
Khalique
Browse files
debugging
parent
51e7bbd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tf/tf.cpp
src/tf/tf.cpp
+1
-1
No files found.
src/tf/tf.cpp
View file @
4c7f3cba
...
...
@@ -597,7 +597,7 @@ struct tf_parser
instruction_ref
parse_onehot
(
const
std
::
string
&
,
attribute_map
attributes
,
std
::
vector
<
instruction_ref
>
args
)
{
auto
indices
=
args
[
0
]
->
eval
().
get
<
int
64
_t
>
().
to_vector
();
auto
indices
=
args
[
0
]
->
eval
().
get
<
int
32
_t
>
().
to_vector
();
int
depth
=
args
[
1
]
->
eval
().
at
<
int32_t
>
();
int
axis
=
-
1
;
size_t
num_indices
=
indices
.
size
();
...
...
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