[TOSA] TOSA updates for LLVM hash 6d847b1 #4072
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Commit 1: [TOSA] Update tosa.transpose's perms as attributes
perms
to attributes according to TOSA 1.0Commit 2: [TOSA] Rename ReduceProd to ReduceProduct
Commit 3: [TOSA] Change PadOp's pad_const to rank 1
Commit 4: [TOSA] Generate correct parameters for conv ops
(https://www.mlplatform.org/tosa/tosa_spec.html#_conv2d), full height and width values must be divisible by stride values. This commit adds checks for that divisibility and modifies pad values and/or slices input to generate TOSA-compliant parameters for convolution ops.
Commit 5: [TOSA] Update LIT tests and e2e results