Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
219
template <typename TaskType>
220
int Batch<TaskType>::num_tasks() const {
221
{
222
mutex_lock l(mu_);
223
return tasks_.size();
224
}
225
}
226
227
template <typename TaskType>
228
bool Batch<TaskType>::empty() const {
Callers
15
InitializeTPU
Method · 0.45
ParseTopologyAttr
Function · 0.45
ValidateBatch
Method · 0.45
ConcatInputTensors
Method · 0.45
SplitOutputTensors
Method · 0.45
ProcessFuncBatch
Method · 0.45
ProcessBatch
Method · 0.45
EmitIndexTensor
Method · 0.45
TEST
Function · 0.45
ProcessBatch
Method · 0.45
ReleaseBatch
Method · 0.45
TEST
Function · 0.45
Calls
1
size
Method · 0.45
Tested by
6
TEST
Function · 0.36
ProcessBatch
Method · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36