Skip to content
Snippets Groups Projects
Commit 9ce419ce authored by Aymeric Varasse's avatar Aymeric Varasse :innocent:
Browse files

[nir] Fix node shape computing

parent cc52e9d2
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ and compute_shape_descr = function ...@@ -183,7 +183,7 @@ and compute_shape_descr = function
d1 := !d1 * Shape.get shape i d1 := !d1 * Shape.get shape i
done; done;
for i = axis to Shape.rank shape - 1 do for i = axis to Shape.rank shape - 1 do
d2 := !d1 * Shape.get shape i d2 := !d2 * Shape.get shape i
done; done;
Shape.of_list [ !d1; !d2 ] Shape.of_list [ !d1; !d2 ]
| Input { shape } -> shape | Input { shape } -> shape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment