MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / size

Method size

tensorflow/python/debug/lib/debug_data.py:742–749  ·  view source on GitHub ↗

Total number of dumped tensors in the dump root directory. Returns: (`int`) The total number of dumped tensors in the dump root directory.

(self)

Source from the content-addressed store, hash-verified

740
741 @property
742 def size(self):
743 """Total number of dumped tensors in the dump root directory.
744
745 Returns:
746 (`int`) The total number of dumped tensors in the dump root directory.
747 """
748 return sum(len(self._dump_tensor_data[device_name])
749 for device_name in self._dump_tensor_data)
750
751 def _load_partition_graphs(self, client_partition_graphs, validate):
752 """Load and process partition graphs.

Callers 5

scan_fnMethod · 0.45
__init__Method · 0.45
mean_reduce_helperMethod · 0.45
packMethod · 0.45
world_sizeMethod · 0.45

Calls 1

sumFunction · 0.85

Tested by 1

scan_fnMethod · 0.36