masahi commented on pull request #8307: URL: https://github.com/apache/tvm/pull/8307#issuecomment-866336933
Yes, `strided_slice` with static `begin`, `end` etc does support dynamic input shape. If some dims in input shape are dynamic, the corresponding output dims would also be dynamic, regard less of `begin`, `end`, and `stride`. https://github.com/apache/tvm/blob/cbe3dcad5e3f9358af8d2d79e2880f92718a5d0b/include/tvm/topi/detail/strided_slice.h#L132-L147 https://github.com/apache/tvm/blob/cbe3dcad5e3f9358af8d2d79e2880f92718a5d0b/include/tvm/topi/detail/strided_slice.h#L98-L113 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
