Skip to content

Commit

Permalink
test: moved Einsum tests to finished
Browse files Browse the repository at this point in the history
  • Loading branch information
0xThemis committed Jan 11, 2024
1 parent 537e221 commit d9948fa
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 35 deletions.
1 change: 1 addition & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumInnerProd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"memref": {"data": [0.6612396240234375, 0.8197021484375, 0.279388427734375, 0.43798828125, 0.9425506591796875], "dims": [5], "type": "f32"}}, {"memref": {"data": [0.6065216064453125, 0.0611572265625, 0.1334381103515625, 0.62799072265625, 0.130889892578125], "dims": [5], "type": "f32"}}]
3 changes: 3 additions & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumInnerProd.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Result:
memref<f32>[0.8868908246513456]
12
1 change: 1 addition & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumSimple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"memref": {"data": [0.8265838623046875, 0.6218414306640625, 0.9638824462890625, 0.7792510986328125, 0.7453765869140625, 0.5666656494140625, 0.3115386962890625, 0.1643829345703125, 0.6309967041015625, 0.61712646484375, 0.2880096435546875, 0.8087158203125], "dims": [1, 3, 4], "type": "f32"}}, {"memref": {"data": [0.2086334228515625, 0.7121429443359375, 0.9512939453125, 0.50048828125, 0.7658538818359375, 0.426971435546875, 0.555084228515625, 0.8116912841796875, 0.5715789794921875, 0.2431793212890625, 0.067138671875, 0.2467498779296875, 0.1278839111328125, 0.1687164306640625, 0.506866455078125, 0.9836273193359375, 0.244659423828125, 0.8301849365234375, 0.2261505126953125, 0.7335205078125, 0.152557373046875, 0.5252227783203125, 0.154022216796875, 0.5016326904296875], "dims": [1, 4, 6], "type": "f32"}}]
3 changes: 3 additions & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumSimple.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Result:
memref<1x3x6xf32>[0.8171204328536987, 1.827608585357666, 1.74919593334198, 1.9222960472106934, 1.0306369066238403, 1.697465419769287, 0.5470737218856812, 1.1639121770858765, 1.215952754020691, 0.9036292433738708, 0.7104341983795166, 0.7991737723350525, 0.6939274668693542, 1.592077612876892, 1.2223577499389648, 1.17392897605896, 0.7197088003158569, 1.0664730072021484]
38
1 change: 1 addition & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumSum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"memref": {"data": [0.8116607666015625, 0.2871551513671875, 0.3785400390625, 0.23797607421875, 0.45184326171875, 0.5684051513671875, 0.4949798583984375, 0.433502197265625, 0.3442230224609375, 0.9390106201171875, 0.2042694091796875, 0.2279205322265625, 0.0595703125, 0.33203125, 0.2831878662109375], "dims": [3, 5], "type": "f32"}}]
3 changes: 3 additions & 0 deletions mlir-assigner/tests/Ops/Onnx/Einsum/EinsumSum.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Result:
memref<3xf32>[2.16717529296875, 2.780120849609375, 1.1069793701171875]
18

This file was deleted.

26 changes: 0 additions & 26 deletions mlir-assigner/tests/Ops/Problematic/Einsum/EinsumInnerProd.mlir

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions mlir-assigner/tests/Ops/Problematic/Einsum/EinsumSimple.res

This file was deleted.

1 change: 0 additions & 1 deletion mlir-assigner/tests/Ops/Problematic/Einsum/EinsumSum.json

This file was deleted.

3 changes: 0 additions & 3 deletions mlir-assigner/tests/Ops/Problematic/Einsum/EinsumSum.res

This file was deleted.

0 comments on commit d9948fa

Please sign in to comment.