Skip to content

Commit

Permalink
Add MLIR test file (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Jun 2, 2024
1 parent fe2ec50 commit 69d82c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/mlir.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ mlir.Parser = class {
}
break;
default:
throw new mlir.Error(`Unexpected operation name '${JSON.stringify(this._current)}' ${this._tokenizer.location()}`);
throw new mlir.Error(`Unexpected operation '${this._current.value}' ${this._tokenizer.location()}`);
}
return value;
}
Expand Down
12 changes: 10 additions & 2 deletions test/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -3048,6 +3048,13 @@
"source": "https://raw.githubusercontent.com/dotnet/machinelearning-samples/61b428c746f39069a9d1d92f9e0f819e6beb30f3/samples/csharp/end-to-end-apps/DeepLearning_ObjectDetection_Onnx/OnnxObjectDetectionE2EAPP/ML/MLNETModel/TinyYoloModel.zip",
"format": "ML.NET v1.0.27701.1"
},
{
"type": "mlir",
"target": "1043.mlir",
"source": "https://github.com/lutzroeder/netron/files/14074683/1043.mlir.zip[1043.mlir]",
"format": "MLIR",
"link": "https://github.com/lutzroeder/netron/issues/1044"
},
{
"type": "mlir",
"target": "examples.mnist_xla.mlir",
Expand All @@ -3057,8 +3064,9 @@
},
{
"type": "mlir",
"target": "1043.mlir",
"source": "https://github.com/lutzroeder/netron/files/14074683/1043.mlir.zip[1043.mlir]",
"target": "embedding_bm1684x_f16_tpu.mlir",
"source": "https://github.com/user-attachments/files/15525787/embedding_bm1684x_f16_tpu.mlir.txt",
"error": "Unexpected operation '#' at 1:1.",
"format": "MLIR",
"link": "https://github.com/lutzroeder/netron/issues/1044"
},
Expand Down

0 comments on commit 69d82c1

Please sign in to comment.