Do shape validation in ScatterNd kernel, not just the shape inference function.
authorAlexandre Passos <apassos@google.com>
Mon, 14 May 2018 21:58:17 +0000 (14:58 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 14 May 2018 22:01:28 +0000 (15:01 -0700)
commit0775f684c51b6b2f24d58c116cc2073d53659e3c
tree4b3be72ca16c4ea88b5d2e35121447050790cb73
parent5de9b8463ee214a02aa71815c837b49c6ea2f93c
Do shape validation in ScatterNd kernel, not just the shape inference function.

Fixes #18648

PiperOrigin-RevId: 196572262
tensorflow/core/kernels/scatter_nd_op.cc
tensorflow/python/kernel_tests/scatter_nd_ops_test.py