-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Open
Labels
Description
With https://www.mlplatform.org/tosa/tosa_spec_1_0_1.html, some inputs could be non-constant when EXT-DYNAMIC enabled due to CTC (Compile Time Constant) disabled.
As @lhutton1 suggested, this issue served as a checklist to track the relative issues in tosa-to-linalg pass. The pass should allow the lowering for non-constant inputs when EXT-DYNAMIC enabled.
Current tracking issues are:
- MUL shift: [mlir][tosa] Allow shift operand of tosa::MulOp as non-constant #155197
[mlir][tosa] Remove Tosa MulOp Commutative attribute #163312 - RESCALE multiplier, shift, input_zp and output_zp: [mlir][tosa] Support RescaleOp with dynamic extension in TosaToLinalg #155967
- AVG_POOL2D input_zp, output_zp
- CONV2D input_zp, weight_zp
- CONV3D input_zp, weight_zp
- DEPTHWISE_CONV2D input_zp, weight_zp
- MATMUL A_zp, B_zp
- NEGATE input1_zp, output_zp:
[mlir][tosa] support NegateOp with dynamic extension in TosaToLinalg #158782 - TABLE table
- TRANSPOSE_CONV2D input_zp, weight_zp
Excluded since shape_t is required to be constant in version 1.0.1 of the specification (see here):
- PAD padding, pad_const
- RESHAPE shape
- SLICE start, size
- RESIZE scale, offset, border
- TILE multiples