Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dcount_ops.cc123 int num_batch_elements = 1; in Compute() local
125 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()
/external/tensorflow/tensorflow/core/kernels/data/
Dpadded_batch_dataset_op.cc241 const int64 num_batch_elements = batch_elements.size(); in GetNextInternal() local
245 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()
Ddataset_utils.cc852 const int64 num_batch_elements = batch_elements->size(); in CopyBatch() local
856 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()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsliding_window_dataset_op.cc210 const int64 num_batch_elements = batch_elements.size(); in GetNextInternal() local
214 TensorShape batch_component_shape({num_batch_elements}); in GetNextInternal()
221 for (size_t i = 0; i < num_batch_elements; ++i) { in GetNextInternal()