Home
last modified time | relevance | path

Searched refs:tensor_packer (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dcross_device_ops.py796 tensor_packer = _ConcatAndSplitPacker(num_packs)
797 device_grad_packs = tensor_packer.pack(device_grads)
799 tensor_packer = None
801 return device_grad_packs, tensor_packer
804 def _unpack_tensors(reduced, tensor_packer=None): argument
806 if tensor_packer:
807 return tensor_packer.unpack(reduced)
887 device_grad_packs, tensor_packer = _pack_tensors(grouped, self._num_packs)
903 reduced = _unpack_tensors(reduced, tensor_packer)