Searched refs:total_num_packets (Results 1 – 2 of 2) sorted by relevance
326 size_t total_num_packets = packet_sizes_.size(); in CommitLocalBufferChunks() local328 for (size_t packet_idx = 0; packet_idx < total_num_packets; packet_idx++) { in CommitLocalBufferChunks()351 packet_idx == total_num_packets - 1 && remaining_packet_size == 0; in CommitLocalBufferChunks()
27 int total_num_packets = num_packets1 + num_packets2; in WeightedLoss() local28 return (weighted_sum + total_num_packets / 2) / total_num_packets; in WeightedLoss()