- `GridSample`
- The inference speed was approximately 2.5 times faster.
- [1] use "broadcast" attribute and batched tf.gather_nd to generate bilinear interpolate items, to reduce intermediate tf ops.
- [2] use tf.clip_by_value to avoid conversion errors when H or W is 1
input size: N=32, C=16, H_in=32, W_in=64, H_out=48, W_out=54
4.0K grid_sample_reproduction.onnx
660K grid_sample_reproduction_float32.tflite
CPU inference elapsed runtime
pytorch: 0.0082 sec
onnx: 0.0255 sec
tflite: 0.0865 sec
- [Batched GridSample results in surprisingly large TFLite models 426](https://github.com/PINTO0309/onnx2tf/issues/426)
- `Reshape`
- Workaround to special patterns with wrong transposition when all axes except batch size have the same value.
- Examine which combination of axis configurations reduces the error in output values the most, and apply the transposition with the best performance.
- Input: [1, 20, 20, 20], Output: [1, 800, 10]
- [subgraph_model.onnx.zip](https://github.com/PINTO0309/onnx2tf/files/12520958/subgraph_model.onnx.zip)

- [Reshape Unmatched max abs error when doing ONNX and TF output value validation 478](https://github.com/PINTO0309/onnx2tf/issues/478)
- `ConvInteger`
- Miscellaneous implementation. Accuracy is likely to deteriorate.
What's Changed
* [experimental] `ConvInteger` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/477
* Reduction of transposition errors when all axis values except batch size are the same by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/479
* Feature/babiking/grid sampler by babiking in https://github.com/PINTO0309/onnx2tf/pull/480
New Contributors
* babiking made their first contribution in https://github.com/PINTO0309/onnx2tf/pull/480
**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.16.7...1.16.8