Commit 0679ac24 authored by Shanqing Cai's avatar Shanqing Cai Committed by gunan
Browse files

tfdbg: stepper: use dumped intermediate tensors during cont() calls

Each cont() call will use TFDBG's own RunOptions.debug_options to generate intermediate tensor dumps and load the dumps and cached the relevant DebugTensorDatum objects. If future cont() calls require the intermediate tensor values, they will be obtained from the cached DebugTensorDatum objects, saving unnecessary recomputation.

The use of such cached intermediate tensor dumps can be disabled in individual cont() calls by using "use_dumped_intermediates=False".
Change: 146572672
parent d908d67d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment