Is there planned support for GridSample Operation? Either in version 16 or 20.
If not, is there a way to bypass the lack of support? Can it be substituted using other operations?
Best regards,
Michał
Is there planned support for GridSample Operation? Either in version 16 or 20.
If not, is there a way to bypass the lack of support? Can it be substituted using other operations?
Best regards,
Michał
Hey @quczer,
Right now, GridSample isn’t supported (and there’s no plan to add general support) because the operation doesn’t really fit with how our SDK works. That said, there are some workarounds depending on your case:
If the grid changes every inference (dynamic/learned):
If the warp is always the same (static/simple):
So, bottom line:
Let me know your use case if you need more specific advice!
Hey @omria
As far as I understand it is an ONNX operation (see the link I provided).
I am trying to quantize a tracking neural network. It uses grid sample several times inside through deformable attention mechanism. TLDR; it predicts on which part of the image it should look and extracts corresponding feature maps to do next operations.
Because of that I am unable to extract this bit out of the compiled net, since I’d have to do up to 8 back-and-forth passes (many uses of deformable attention).
Do you see a way of tackling this problem other than substituting deformable attention w/ something else?
Thanks for your help!