Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dcount_ops.cc32 Status OutputSparse(const BatchedMap<T>& per_batch_counts, int num_values, in OutputSparse() argument
35 int num_batches = per_batch_counts.size(); in OutputSparse()
36 for (const auto& per_batch_count : per_batch_counts) { in OutputSparse()
53 const auto& per_batch_count = per_batch_counts[b]; in OutputSparse()
128 auto per_batch_counts = BatchedMap<W>(num_batch_elements); in Compute() local
140 per_batch_counts[b][value] = 1; in Compute()
142 per_batch_counts[b][value] += weight_values(i); in Compute()
144 per_batch_counts[b][value]++; in Compute()
155 OP_REQUIRES_OK(context, OutputSparse<W>(per_batch_counts, num_output_values, in Compute()
209 auto per_batch_counts = BatchedMap<W>(num_batches); in Compute() local
[all …]
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2020-016.md14 auto per_batch_counts = BatchedMap<W>(num_batches);
22 per_batch_counts[batch_idx - 1][value] = 1;
29 never be 1, hence there will be no hashmap at index 0 in `per_batch_counts`.
Dtfsa-2020-017.md14 auto per_batch_counts = BatchedMap<W>(num_batches);
Dtfsa-2020-020.md28 per_batch_counts[batch][value] += weight_values(idx);