Choose the correct output type for ResizeNearestNeighbour.
For ResizeNearestNeighbour the output type should be the same as the input type. So far, we always chose output type F32, which is correct for ResizeBilinear, but not for ResizeNearestNeighbour. Finally replace Adds which are just broadcasts by BroadcastInDim. PiperOrigin-RevId: 234116435
Loading
Please sign in to comment