2 Commits

Author SHA1 Message Date
Jerry-Ge
8e9ff8ea51
[mlir][tosa] Align Variable ops to match with TOSA v1.0 spec (#130680)
- updated AnyType:$value to Tosa_Tensor:$input1 and Tosa_Tensor:$output1
for VariableWrite and VriableRead Operators
- updated description discrepancies
- note: in the TOSA spec, we had var_shape attr, but it's already
included
      in the TypeAttr:$type in MLIR

Signed-off-by: Jerry Ge <jerry.ge@arm.com>
2025-04-23 10:47:24 +01:00
Jerry-Ge
6e6352f4da
[TOSA] Add TosaToMLProgram conversion (#69787)
This patch adds a new pass to lower TOSA StatefulOps to corresponding ML
Program ops (https://mlir.llvm.org/docs/Dialects/MLProgramOps/).

Signed-off-by: Jerry Ge <jerry.ge@arm.com>
2023-11-10 10:54:51 -08:00