Home
last modified time | relevance | path

Searched refs:BatchTask (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.h63 struct BatchTask : public tensorflow::serving::BatchTask { struct
98 std::unique_ptr<BatchTask> CreateSplitTask( argument
102 virtual std::unique_ptr<BatchTask> CreateDerivedTask() { in CreateDerivedTask() argument
103 return std::make_unique<BatchTask>(); in CreateDerivedTask()
110 using BatcherT = SharedBatchScheduler<BatchResourceBase::BatchTask>;
112 AdaptiveSharedBatchScheduler<BatchResourceBase::BatchTask>;
113 using BatcherQueueT = BatchScheduler<BatchResourceBase::BatchTask>;
114 using BatchT = Batch<BatchResourceBase::BatchTask>;
149 const BatchResourceBase::BatchTask& last_task,
156 std::unique_ptr<BatchResourceBase::BatchTask>* output) const;
[all …]
Dbatch_resource_base.cc130 std::unique_ptr<BatchResourceBase::BatchTask>
131 BatchResourceBase::BatchTask::CreateSplitTask( in CreateSplitTask()
133 std::unique_ptr<BatchTask> task = CreateDerivedTask(); in CreateSplitTask()
157 std::unique_ptr<BatchTask> batch_components; in RegisterInput()
239 [](std::unique_ptr<BatchTask>* input_task, in GetBatcherQueueOptions()
241 std::vector<std::unique_ptr<BatchTask>>* output_tasks) -> Status { in GetBatcherQueueOptions()
275 [](std::unique_ptr<BatchTask>* input_task, in GetAdaptiveBatcherQueueOptions()
277 std::vector<std::unique_ptr<BatchTask>>* output_tasks) -> Status { in GetAdaptiveBatcherQueueOptions()
288 const BatchResourceBase::BatchTask& task = batch.task(task_idx); in ValidateBatch()
380 std::unique_ptr<BatchTask>* input_task_ptr, int open_batch_remaining_slot, in SplitInputTask()
[all …]
Dbatch_scheduler.h60 class BatchTask {
62 virtual ~BatchTask() = default;
Dbasic_batch_scheduler_test.cc30 class FakeTask : public BatchTask {
Dbatch_scheduler_test.cc26 class FakeTask : public BatchTask {
Dbasic_batch_scheduler_benchmark_test.cc84 class BenchmarkBatchTask : public BatchTask {
Dserial_device_batch_scheduler_test.cc28 class FakeTask : public BatchTask {
Dadaptive_shared_batch_scheduler_test.cc29 class FakeTask : public BatchTask {
Dshared_batch_scheduler_test.cc29 class FakeTask : public BatchTask {
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc154 const BatchTask& last_task, absl::Span<const Tensor> inputs, in ProcessFuncBatchImpl()
263 serving::BatchResourceBase::BatchTask>::Options in ComputeAsync()