Home
last modified time | relevance | path

Searched refs:Batch (Results 1 – 25 of 49) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_scheduler.h78 class Batch {
80 Batch() = default;
81 virtual ~Batch(); // Blocks until the batch is closed.
128 TF_DISALLOW_COPY_AND_ASSIGN(Batch);
191 Batch<TaskType>::~Batch() { in ~Batch()
196 void Batch<TaskType>::AddTask(std::unique_ptr<TaskType> task) { in AddTask()
206 std::unique_ptr<TaskType> Batch<TaskType>::RemoveTask() { in RemoveTask()
220 int Batch<TaskType>::num_tasks() const { in num_tasks()
228 bool Batch<TaskType>::empty() const { in empty()
236 const TaskType& Batch<TaskType>::task(int i) const { in task()
[all …]
Dshared_batch_scheduler.h163 std::function<void(std::unique_ptr<Batch<TaskType>>)>
231 std::function<void(std::unique_ptr<Batch<TaskType>>)>;
259 std::unique_ptr<Batch<TaskType>> ScheduleBatch();
262 void ProcessBatch(std::unique_ptr<Batch<TaskType>> batch);
309 std::deque<std::unique_ptr<Batch<TaskType>>> batches_ GUARDED_BY(mu_);
394 std::function<void(std::unique_ptr<Batch<TaskType>>)> in AddQueue()
452 std::unique_ptr<Batch<TaskType>> batch_to_process; in ThreadLogic()
515 batches_.emplace_back(new Batch<TaskType>); in Queue()
591 std::unique_ptr<Batch<TaskType>> Queue<TaskType>::ScheduleBatch() { in ScheduleBatch()
594 std::unique_ptr<Batch<TaskType>> batch_to_schedule; in ScheduleBatch()
[all …]
Dshared_batch_scheduler_test.cc74 [&queue_0_callback_called](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
84 [&queue_1_callback_called](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
138 &callback_data](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
201 &third_batch_processed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
260 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
303 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
351 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
363 &queue_1_first_batch_proceed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
414 &proceed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
469 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
[all …]
Dbatch_scheduler_test.cc41 Batch<FakeTask> batch; in TEST()
84 Batch<FakeTask> batch; in TEST()
98 Batch<FakeTask>* batch = new Batch<FakeTask>; in TEST()
Dbasic_batch_scheduler_benchmark_test.cc126 void ProcessBatch(std::unique_ptr<Batch<BenchmarkBatchTask>> batch);
168 [this](std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ResetState()
176 std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ProcessBatch()
204 void ProcessBatch(std::unique_ptr<Batch<BenchmarkBatchTask>> batch);
297 [this](std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ResetState()
311 std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ProcessBatch()
Dadaptive_shared_batch_scheduler_test.cc105 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
143 auto queue_callback = [&env](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
210 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
274 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
314 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
350 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
Dserial_device_batch_scheduler_test.cc102 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
151 &scheduler](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
211 [&mu, &processed_batches](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
269 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
320 &finish_processing](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
357 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
Dbasic_batch_scheduler.h185 std::function<void(std::unique_ptr<Batch<TaskType>>)>
216 std::function<void(std::unique_ptr<Batch<TaskType>>)> in Create()
Dserial_device_batch_scheduler.h113 using BatchProcessor = std::function<void(std::unique_ptr<Batch<TaskType>>)>;
241 class SDBSBatch : public Batch<TaskType> {
409 callback(std::unique_ptr<Batch<TaskType>>( in ProcessBatches()
Dadaptive_shared_batch_scheduler.h134 using BatchProcessor = std::function<void(std::unique_ptr<Batch<TaskType>>)>;
272 class ASBSBatch : public Batch<TaskType> {
470 callback(std::unique_ptr<Batch<TaskType>>( in CallbackWrapper()
Dbasic_batch_scheduler_test.cc60 auto callback = [&callback_called](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
/external/skqp/src/gpu/ccpr/
DGrCCStroker.h85 struct Batch { struct
86 Batch(GrTAllocator<InstanceTallies>* alloc, const InstanceTallies& startNonScissorIndices, in Batch() argument
96 void appendStrokeMeshesToBuffers(int numSegmentsLog2, const Batch&, argument
104 const GrCCCoverageProcessor&, const Batch&,
110 SkSTArray<32, Batch> fBatches;
DGrCCFiller.h85 struct Batch { struct
104 SkSTArray<32, Batch, true> fBatches; argument
/external/skia/src/gpu/ccpr/
DGrCCStroker.h85 struct Batch { struct
86 Batch(GrTAllocator<InstanceTallies>* alloc, const InstanceTallies& startNonScissorIndices, in Batch() argument
96 void appendStrokeMeshesToBuffers(int numSegmentsLog2, const Batch&, argument
104 const GrCCCoverageProcessor&, const Batch&,
110 SkSTArray<32, Batch> fBatches;
DGrCCFiller.h85 struct Batch { struct
104 SkSTArray<32, Batch, true> fBatches; argument
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Unbatch.pbtxt3 summary: "Reverses the operation of Batch for a single output Tensor."
11 batched_tensor: The possibly transformed output of Batch. The size of the first
14 batch_index: The matching batch_index obtained from Batch.
15 id: The id scalar emitted by Batch.
Dapi_def_Batch.pbtxt2 graph_op_name: "Batch"
25 max_batch_size: Batch sizes will never be bigger than this.
36 id: always contains a scalar with a unique ID for this invocation of Batch.
Dapi_def_UnbatchGrad.pbtxt5 Acts like Batch but using the given batch_index index of batching things as they
13 id: The id scalar emitted by Batch.
Dapi_def_RecvTPUEmbeddingActivations.pbtxt27 the arguments to TPUEmbeddingEnqueue(Integer/Sparse/SparseTensor)Batch. The
Dapi_def_BatchNormWithGlobalNormalization.pbtxt53 summary: "Batch normalization."
Dapi_def_FusedBatchNorm.pbtxt94 summary: "Batch normalization."
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h320 typedef typename SizeClassMap::TransferBatch Batch; typedef
353 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch()
357 Batch *b = region->free_list.Pop(); in AllocateBatch()
364 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) { in DeallocateBatch()
513 LFStack<Batch> free_list;
538 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList()
541 Batch *b = region->free_list.Pop(); in PopulateFreeList()
581 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch))); in PopulateFreeList()
583 b = (Batch*)(region_beg + beg_idx); in PopulateFreeList()
713 typedef typename SizeClassMap::TransferBatch Batch; typedef
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc296 using Batch = serving::Batch<BatchTask>; typedef in tensorflow::BatchResource
300 static Status ValidateBatch(const Batch& batch) { in ValidateBatch()
330 Status ConcatInputTensors(const Batch& batch, OpKernelContext* context, in ConcatInputTensors()
408 Batch* batch) const { in SplitOutputTensors()
473 void ProcessFuncBatch(std::unique_ptr<Batch> batch) const { in ProcessFuncBatch()
556 void ProcessBatch(std::unique_ptr<Batch> batch) const { in ProcessBatch()
631 static Status EmitIndexTensor(OpKernelContext* context, const Batch& batch, in EmitIndexTensor()
662 auto process_batch_callback = [this](std::unique_ptr<Batch> batch) { in LookupOrCreateBatcherQueue()
1167 .emplace(batch_key, Batch{missing_tensors, context, done}) in Compute()
1215 struct Batch { struct in tensorflow::UnbatchGradResource
[all …]
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Batch.pbtxt2 graph_op_name: "Batch"
/external/libcxx/benchmarks/
Dalgorithms.bench.cpp120 const size_t Batch = CountElements ? Copies.size() * Quantity : Copies.size(); in runOpOnCopies() local
121 while (state.KeepRunningBatch(Batch)) { in runOpOnCopies()

12