[TF2XLA] Support ResizeNearestNeighborGrad
Thanks a lot! @changm could you take a look? Hi @Princejain1101, Can you please take a look on this PR? Thank you! Hi @Princejain1101, Can you please take a look on this PR? Thank you! Sorry for the long delay here, this mostly looks OK. Please fix the other reviewers comments and ensure the tests pass. Thanks! Hi @lgeiger Can you please check @changm's comments and keep us posted ? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. > Hi @lgeiger Can you please check @changm's comments and keep us posted ? Thank you!

I think all comments have been addressed from my side, just awaiting approval from @changm

 Sorry for the delay, I'm trying to run this internally to ensure tests pass however a lot of tests fail. I'm not exactly sure how external PRs work versus internal CI/CD runs, but can you get external tests to pass?

I'm also getting errors such as :

```
10135 xla_op_registry.cc:105] Registrations of ResizeNearestNeighborGrad have incompatible compile time constant inputs.
xla_op_registry.cc:606] XLA op registration ResizeNearestNeighborGrad is incompatible with existing registration of the same name.
*** Check failure stack trace: ***

absl::log_internal::LogMessageFatal::~LogMessageFatal()
tensorflow::XlaOpRegistrar::XlaOpRegistrar()
 _GLOBAL__sub_I_image_resize_ops.cc
 __libc_csu_init
__libc_start_main
 _start
``` 

Which sounds like you need to mark the op as having compile time constant inputs. Hi @lgeiger Can you please check @changm's [comments](https://github.com/tensorflow/tensorflow/pull/62301#issuecomment-1964439591) and keep us posted? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
This PR adds support for `ResizeNearestNeighborGrad` similar to how `ResizeBilinearGrad` is implemented.

Fixes #57575