MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / mutable_task

Method mutable_task

tensorflow/core/kernels/batching_util/batch_scheduler.h:246–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244
245template <typename TaskType>
246TaskType* Batch<TaskType>::mutable_task(int i) {
247 DCHECK_GE(i, 0);
248 {
249 mutex_lock l(mu_);
250 DCHECK_LT(i, tasks_.size());
251 return tasks_[i].get();
252 }
253}
254
255template <typename TaskType>
256size_t Batch<TaskType>::size() const {

Callers 5

SplitOutputTensorsMethod · 0.80
ProcessFuncBatchMethod · 0.80
ProcessBatchMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64