Deep Patel 336437998f
Suppress ONNX export trace warning (#5437)
Checking for `onnx_dynamic` first should suppress the warning:

```log
TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if self.grid[i].shape[2:4] != x[i].shape[2:4] or self.onnx_dynamic
```
2021-11-05 19:31:53 +01:00
..
2021-10-28 18:35:01 +02:00
2021-11-04 17:24:25 +01:00
2021-11-04 17:24:25 +01:00
2021-11-04 17:24:25 +01:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00