Commit f773c763 authored by Khalique's avatar Khalique
Browse files

formatting

parent 4f685101
...@@ -514,7 +514,7 @@ struct onnx_parser ...@@ -514,7 +514,7 @@ struct onnx_parser
{ {
literal s = parse_value(attributes.at("ends")); literal s = parse_value(attributes.at("ends"));
s.visit([&](auto v) { copy(v, std::back_inserter(op.ends)); }); s.visit([&](auto v) { copy(v, std::back_inserter(op.ends)); });
for (size_t i = 0; i < num_dims; i++) for(size_t i = 0; i < num_dims; i++)
{ {
if(static_cast<size_t>(op.ends[i]) > dims[i]) if(static_cast<size_t>(op.ends[i]) > dims[i])
{ {
......
...@@ -15,8 +15,7 @@ argument pad(hipStream_t stream, ...@@ -15,8 +15,7 @@ argument pad(hipStream_t stream,
argument result, argument result,
argument arg1, argument arg1,
float value, float value,
std::vector<std::int64_t> pads std::vector<std::int64_t> pads);
);
} // namespace device } // namespace device
} // namespace gpu } // namespace gpu
......
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