We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c3c9d commit ed806a2Copy full SHA for ed806a2
tests/fusion/fuse-across-reshape5.fut
@@ -0,0 +1,9 @@
1
+-- ==
2
+-- input { [1,2,3] [4,5,6] }
3
+-- output { [2.8284271247461903, 3.1622776601683795, 3.4641016151377544, 3.4641016151377544, 3.872983346207417, 4.242640687119285, 4.0, 4.47213595499958, 4.898979485566356] }
4
+-- structure { Screma 1 }
5
+
6
+entry main A B =
7
+ map (\a -> map (\b -> (a + 1) * b) B) A
8
+ |> flatten
9
+ |> map (f64.sqrt <-< f64.i32)
0 commit comments