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

Method num_tasks

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

Source from the content-addressed store, hash-verified

218
219template <typename TaskType>
220int Batch<TaskType>::num_tasks() const {
221 {
222 mutex_lock l(mu_);
223 return tasks_.size();
224 }
225}
226
227template <typename TaskType>
228bool Batch<TaskType>::empty() const {

Callers 15

InitializeTPUMethod · 0.45
ParseTopologyAttrFunction · 0.45
ValidateBatchMethod · 0.45
ConcatInputTensorsMethod · 0.45
SplitOutputTensorsMethod · 0.45
ProcessFuncBatchMethod · 0.45
ProcessBatchMethod · 0.45
EmitIndexTensorMethod · 0.45
TESTFunction · 0.45
ProcessBatchMethod · 0.45
ReleaseBatchMethod · 0.45
TESTFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 6

TESTFunction · 0.36
ProcessBatchMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36