Commit bac56b37 authored by Olivia Nordquist's avatar Olivia Nordquist Committed by TensorFlower Gardener
Browse files

Validate shapes when updating edges from Python.

Uses MergeInput from shape_inference to check if the new input is compatible with the preexisting shape.  Also this changes the MergeInput method.  Previously, MergeInput would only return true if the shapes differed *and* the merge was successful.  Now, MergeInput returns true only if the merge is successful.

PiperOrigin-RevId: 175576173
parent 90222dd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment