Searched refs:device_grads (Results 1 – 2 of 2) sorted by relevance
596 device_grads, self.packing = cross_device_utils.pack_small_tensors(600 return device_grads608 def _pack_tensors(device_grads, argument615 device_grad_packs = tensor_packer.pack(device_grads)619 device_grad_packs = tensor_packer.pack(device_grads)622 device_grad_packs = device_grads888 device_grads = _group_value_by_device(per_replica_values)893 for device_grad in device_grads:898 remaining_grads = device_grads
196 def split_grads_by_size(threshold_size, device_grads): argument212 for dl in device_grads: