shinh opened a new pull request, #14506:
URL: https://github.com/apache/tvm/pull/14506

   Just using the vanila `take` op should be fine. I referred to how `pad` op 
is handled.
   
   Note this implementation works only for constant indices. To handle non 
constant indices, I'm guessing we should modify 
`src/relay/transforms/fake_quantization_to_integer.cc` so that it allows 
integer inputs without dequantize. Specifically, I think it should capture the 
following pattern:
   ```
   x  i
   |  |
   dq |
   |  |
   \  /
   take
    |
    q
   ```
   but I'm not 100% sure.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to