Skip to content

Commit

Permalink
Update linalg fill syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda849 committed Nov 10, 2023
1 parent bddedc2 commit 41b18fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def test_dot():

def test_fill():
assert_roundtrip_equivalence("""module {
func.func @fill_view(%arg0: memref<?xf32, strided<[1], offset: ?>>, %arg1: f32) {
linalg.fill( %arg0 , %arg1 ) : memref<?xf32, strided<[1], offset: ?>> , f32
func.func @fill_view(%arg0: f32, %arg1: tensor<?x?xf32>) {
linalg.fill ins( %arg0 : f32 ) outs( %arg1 : tensor<?x?xf32> ) -> tensor<?x?xf32>
return
}
}""")
Expand Down

0 comments on commit 41b18fe

Please sign in to comment.