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
b74d2e27
"src/targets/vscode:/vscode.git/clone" did not exist on "0b7672d7dc246f708f46102ddbaa2d7afb2b54f9"
Commit
b74d2e27
authored
Jul 17, 2019
by
Shucai Xiao
Browse files
remove unnecessary format change
parent
35e7639d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
src/include/migraphx/generate.hpp
src/include/migraphx/generate.hpp
+0
-1
src/include/migraphx/op/dot.hpp
src/include/migraphx/op/dot.hpp
+0
-1
No files found.
src/include/migraphx/generate.hpp
View file @
b74d2e27
...
...
@@ -82,7 +82,6 @@ std::vector<T> generate_tensor_data(const migraphx::shape& s, unsigned long seed
{
std
::
vector
<
T
>
result
(
s
.
elements
());
std
::
generate
(
result
.
begin
(),
result
.
end
(),
xorshf96_generator
<
T
>
{
seed
});
// std::generate(result.begin(), result.end(), [&]{ return seed % 7; });
// std::generate(result.begin(), result.end(), []{ return 1; });
return
result
;
...
...
src/include/migraphx/op/dot.hpp
View file @
b74d2e27
...
...
@@ -48,7 +48,6 @@ struct dot
"} x {"
+
to_string_range
(
b
.
lens
())
+
"}"
);
}
// dims for batch should be standard
std
::
size_t
dim_0
=
a
.
lens
().
size
()
-
2
;
std
::
size_t
dim_1
=
a
.
lens
().
size
()
-
1
;
if
(
a
.
lens
()[
dim_1
]
!=
b
.
lens
()[
dim_0
])
...
...
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