Sample change making a kernel unittest work for both TF 1.x and 2.x.
This change makes all the tests that don't check gradients in relu_op_test.py work for both TensorFlow 1.x and 2.x (where eager execution, resource variables etc. are enabled by default). PiperOrigin-RevId: 221474407
Loading
Please sign in to comment