Searched refs:num_batch_elements (Results 1 – 4 of 4) sorted by relevance
123 int num_batch_elements = 1; in Compute() local125 num_batch_elements *= data.shape().dim_size(i); in Compute()127 int num_value_elements = data.shape().num_elements() / num_batch_elements; in Compute()128 auto per_batch_counts = BatchedMap<W>(num_batch_elements); in Compute()135 for (int b = 0; b < num_batch_elements; ++b) { in Compute()
241 const int64 num_batch_elements = batch_elements.size(); in GetNextInternal() local245 TensorShape batch_component_shape({num_batch_elements}); in GetNextInternal()257 for (int64 i = 0; i < num_batch_elements; ++i) { in GetNextInternal()319 BlockingCounter counter(num_batch_elements); in GetNextInternal()322 for (size_t i = 0; i < num_batch_elements; ++i) { in GetNextInternal()
852 const int64 num_batch_elements = batch_elements->size(); in CopyBatch() local856 TensorShape batch_component_shape({num_batch_elements}); in CopyBatch()883 counter = std::make_unique<BlockingCounter>(num_batch_elements); in CopyBatch()886 for (size_t i = 0; i < num_batch_elements; ++i) { in CopyBatch()
210 const int64 num_batch_elements = batch_elements.size(); in GetNextInternal() local214 TensorShape batch_component_shape({num_batch_elements}); in GetNextInternal()221 for (size_t i = 0; i < num_batch_elements; ++i) { in GetNextInternal()