Commit 5c8bff0c authored by Shanqing Cai's avatar Shanqing Cai Committed by TensorFlower Gardener
Browse files

tfdbg: Allow debug ops to watch uninitialized tensors

This prevents the debugger from crashing when the debug ops receive uninitialized tensors, and hence allows it to debug session.run() calls such as tf.initialize_all_tensors(), which is quite common.

To make this possible, a related small change is made in the TF core (rendezvous_mgr.cc): Allow RecvOps to receive uninitialzied tensors, by checking IsInitialized() and treating uninitialized tensors specially in IntraProcessRendezvous::RecvAsync().

Add C++ and Python unit tests.
Change: 132357188
parent 264f2a77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment