Adds a GPU kernel registration for PlaceholderWithDefault, so we can avoid the issue
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 15 Mar 2018 21:40:12 +0000 (14:40 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 15 Mar 2018 21:50:34 +0000 (14:50 -0700)
commita325b0ae208b3295dca574f93c214f7c924cea11
tree41cc840f019d3eaf6acca55659520f85dbe5d182
parentbb84d4deb1267f24e8105f4b1b40c264674bc134
Adds a GPU kernel registration for PlaceholderWithDefault, so we can avoid the issue
of using it with a registered GPU device without soft placement.

PiperOrigin-RevId: 189248024
tensorflow/core/kernels/identity_op.cc
tensorflow/python/kernel_tests/constant_op_test.py