Commit 0c9b8974 authored by Peter Hawkins's avatar Peter Hawkins Committed by TensorFlower Gardener
Browse files

Fix shape error when a Placeholder operator with a partial shape is executed...

Fix shape error when a Placeholder operator with a partial shape is executed and not fed. The PlaceholderOp constructor was attempting to convert its shape attribute to a TensorShape, which requires that the shape is fully defined. This failed with a misleading error message for a partial shape. Instead, use a PartialTensorShape.

PiperOrigin-RevId: 160526882
parent 56d54aa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment