Commit 6c4cccfc authored by Vojtech Bardiovsky's avatar Vojtech Bardiovsky Committed by TensorFlower Gardener
Browse files

Fix a super confusing bug in tf_inspect.

If a default value was something that evaluates to False (like 0.0, or Tensor([0.0]), we would not get defaults.

Same as in cl/235632825: This does not solve all tf.function-and-partial bugs but makes debugging simpler.

PiperOrigin-RevId: 238621317
parent 3aa72b5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment