Skip to content

Commit

Permalink
[dace] Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Jan 31, 2024
1 parent c35d5dc commit 43346b3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1192,9 +1192,11 @@ def _visit_reduce(self, node: itir.FunCall):
)

input_mapping = {
param: dace.Memlet(data=arg.value.data, subset="0")
if arg.value.desc(self.context.body).shape == (1,)
else create_memlet_at(arg.value.data, nreduce_index)
param: (
dace.Memlet(data=arg.value.data, subset="0")
if arg.value.desc(self.context.body).shape == (1,)
else create_memlet_at(arg.value.data, nreduce_index)
)
for (param, _), arg in zip(inner_inputs, args)
}
output_mapping = {
Expand Down

0 comments on commit 43346b3

Please sign in to comment.