Searched refs:weighted_losses (Results 1 – 5 of 5) sorted by relevance
256 def reduce_weighted_loss(weighted_losses, argument260 loss = weighted_losses262 loss = math_ops.reduce_sum(weighted_losses)264 loss = _safe_mean(loss, _num_elements(weighted_losses))317 weighted_losses = math_ops.multiply(losses, sample_weight)320 loss = reduce_weighted_loss(weighted_losses, reduction)
188 weighted_losses = math_ops.multiply(losses, weights)190 loss = weighted_losses192 loss = math_ops.reduce_sum(weighted_losses)590 weighted_losses = math_ops.multiply(term1 - term2, weights)591 loss = math_ops.reduce_sum(weighted_losses)
180 weighted_losses = losses_utils.compute_weighted_loss(193 weighted_losses, reduction=loss_reduction)
1611 weighted_losses = losses_utils.compute_weighted_loss(1624 weighted_losses, reduction=loss_reduction)
1519 weighted_losses = weights * self._raw_losses1520 weighted_sum = np.sum(weighted_losses)1522 self.assertAllClose(weighted_losses, self.evaluate(weighted_loss))