Skip to content

GridSample feature

Weijie Bao requested to merge Weijie/sadl-extension:GridSample into dev_v7

This merge request includes the following changes:

  1. Added the GridSample feature, which supports two interpolation modes: bilinear and nearest.
  2. Provided four test models: gridsample_bilinear.onnx, gridsample_nearest.onnx, gridsample_bilinear_conv.onnx, and gridsample_nearest_conv.onnx. The last two models demonstrate a common use case of GridSample, where the grid is generated by a convolutional network and transformed into the (N, H, W, 2) data format using Transpose.
  3. Added support for converting the GridSampel feature from float to int16.

Merge request reports