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
Loading
Please sign in to comment