A single tensor dumped by TensorFlow Debugger (tfdbg).
Contains metadata about the dumped tensor, including
debug_op, and path to the dump file
This type does not hold the generally space-expensive tensor value (numpy
array). Instead, it points to the file from which the tensor value can be
loaded (with the
get_tensor method) if needed.
__init__( dump_root, debug_dump_rel_path )
str) Debug dump root directory. This path should not include the path component that represents the device name (see also below).
str) Path to a debug dump file, relative to the
dump_root. The first item of this relative path is assumed to be a path representing the name of the device that the Tensor belongs to. See
device_path_to_device_namefor more details on the device path. For example, suppose the debug dump root directory is
/tmp/tfdbg_1and the dump file is at
/tmp/tfdbg_1/<device_path>/>ns_1/node_a_0_DebugIdentity_123456789, then the value of the debug_dump_rel_path should be
ValueError: If the base file name of the dump file does not conform to the dump file naming pattern:
Name of the debug op.
str) debug op name (e.g.,
Name of the device that the tensor belongs to.
str) device name.
Size of the dump file.
If the dump file exists, size of the dump file, in bytes. If the dump file does not exist, None.
Extended timestamp, possibly with an index suffix.
The index suffix, e.g., "-1", is for disambiguating multiple dumps of the same tensor with the same timestamp, which can occur if the dumping events are spaced by shorter than the temporal resolution of the timestamps.
str) The extended timestamp.
Path to the file which stores the value of the dumped tensor.
Name of the node from which the tensor value was dumped.
str) name of the node watched by the debug op.
Output slot index from which the tensor value was dumped.
int) output slot index watched by the debug op.
Name of the tensor watched by the debug op.
Tensor name, in the form of
Timestamp of when this tensor value was dumped.
int) The timestamp in microseconds.
Watch key identities a debug watch on a tensor.
str) A watch key, in the form of
Get tensor from the dump (
The tensor loaded from the dump (