(b, c, h, w)
| 53 | out = np.zeros(out_shape) |
| 54 | |
| 55 | def _get_pixel(b, c, h, w): |
| 56 | if 0 <= h <= in_height - 1 and 0 <= w <= in_width - 1: |
| 57 | return data[b, c, h, w] |
| 58 | return 0 |
| 59 | |
| 60 | def _unnormalize(h, w): |
| 61 | if align_corners: |
no outgoing calls
no test coverage detected
searching dependent graphs…