[tosa] Slice the input of kernel based ops to the actual used size
Hi @Tessil Can you please resolve conflicts? Thank you! Hi @Tessil Can you please resolve conflicts? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further. @jpienaar Would it be possible to reopen the PR? Thanks! @Tessil could you update merge conflicts?  @jpienaar Thanks, I merged the latest changes from upstream.  Hi @jpienaar could you check if the PR looks good? We would ideally like it to be merged before the 2.14 branch cut if possible.

Thanks Hi @Tessil Can you please resolve conflicts? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. Thanks, I fixed the conflicts and added better support for dynamic shapes.

@rsuderman Could you have a look when you have some time? Thanks! Hi @rsuderman Can you please review this PR ? Thank you! Hi @jpienaar, could you help review this PR? Hi @jpienaar, Can you please review this PR ? Thank you! Hi @jpienaar, Can you please review this PR ? Thank you! Hi @jpienaar, Can you please review this PR ? Thank you! Hi @Tessil Can you please resolve conflicts? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
Hi,

This PR adds, if needed, a `tosa.slice` operator before kernel-based operators to ensure only the actual used size is passed as input to these operators so that the pre-condition on OH/OW is respected (example in [tosa.conv2d](https://www.mlplatform.org/tosa/tosa_spec.html#_conv2d)).