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
e5de78ae
Commit
e5de78ae
authored
Jun 14, 2023
by
Khalique Ahmed
Browse files
formatting
parent
bca45a1a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
src/include/migraphx/op/convolution.hpp
src/include/migraphx/op/convolution.hpp
+4
-3
src/targets/gpu/include/migraphx/gpu/miopen.hpp
src/targets/gpu/include/migraphx/gpu/miopen.hpp
+3
-3
src/tf/include/migraphx/tf/op_parser.hpp
src/tf/include/migraphx/tf/op_parser.hpp
+1
-1
src/tf/parse_pack.cpp
src/tf/parse_pack.cpp
+1
-2
No files found.
src/include/migraphx/op/convolution.hpp
View file @
e5de78ae
...
...
@@ -135,7 +135,8 @@ struct convolution
ret
.
push_back
(
std
::
size_t
(
std
::
max
<
std
::
ptrdiff_t
>
(
1
,
(
x_lens
[
i
+
1
]
-
(
1
+
dilation
[
i
]
*
(
*
(
w_lens
.
rbegin
()
+
i
)
-
1
))
+
padding_factor
)
/
(
x_lens
[
i
+
1
]
-
(
1
+
dilation
[
i
]
*
(
*
(
w_lens
.
rbegin
()
+
i
)
-
1
))
+
padding_factor
)
/
stride
[
i
]
+
1
)));
}
...
...
src/targets/gpu/include/migraphx/gpu/miopen.hpp
View file @
e5de78ae
...
...
@@ -138,9 +138,9 @@ inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = fals
MIGRAPHX_THROW
(
"MAKE_TENSOR: unsupported type"
);
}
// miopenSetTensorDescriptor(t.get(), d, s.lens().size(), lens.data(), strides.data());
miopenSetNdTensorDescriptorWithLayout
(
t
.
get
(),
d
,
miopenTensorLayout_t
::
miopenTensorNHWC
,
lens
.
data
(),
lens
.
size
());
miopenSetNdTensorDescriptorWithLayout
(
t
.
get
(),
d
,
miopenTensorLayout_t
::
miopenTensorNHWC
,
lens
.
data
(),
lens
.
size
());
return
t
;
}
...
...
src/tf/include/migraphx/tf/op_parser.hpp
View file @
e5de78ae
src/tf/parse_pack.cpp
View file @
e5de78ae
...
...
@@ -60,8 +60,7 @@ struct parse_pack : op_parser<parse_pack>
[
&
](
instruction_ref
arg
)
{
return
info
.
add_instruction
(
make_op
(
"unsqueeze"
,
{{
"axes"
,
{
axis
}}}),
arg
);
});
return
info
.
add_instruction
(
make_op
(
"concat"
,
{{
"axis"
,
axis
}}),
unsqueezed_args
);
return
info
.
add_instruction
(
make_op
(
"concat"
,
{{
"axis"
,
axis
}}),
unsqueezed_args
);
// return parser.to_nhwc(
// info.add_instruction(make_op("concat", {{"axis", axis}}), unsqueezed_args));
}
...
...
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