Commit f2ed2b3b authored by Paul's avatar Paul
Browse files

Format

parent 692ce4b0
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
namespace migraphx { namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS { inline namespace MIGRAPHX_INLINE_NS {
template<class Output, class T, class Padding, class Stride> template <class Output, class T, class Padding, class Stride>
void convolution(Output output, T input, T weights, Padding padding, Stride stride, int group) void convolution(Output output, T input, T weights, Padding padding, Stride stride, int group)
{ {
auto output_shape = output.get_shape(); auto output_shape = output.get_shape();
...@@ -82,8 +82,7 @@ void convolution(Output output, T input, T weights, Padding padding, Stride stri ...@@ -82,8 +82,7 @@ void convolution(Output output, T input, T weights, Padding padding, Stride stri
in_lens.end(), in_lens.end(),
std::less<std::ptrdiff_t>{})) std::less<std::ptrdiff_t>{}))
{ {
acc += acc += input(idx.begin(), idx.end()) * weights(idx_wei.begin(), idx_wei.end());
input(idx.begin(), idx.end()) * weights(idx_wei.begin(), idx_wei.end());
} }
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment