Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ num_replicas
Method
num_replicas
python/cpp/replica_pool.h:93–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
size_t num_replicas() const {
94
return _pool->num_replicas();
95
}
96
97
size_t num_queued_batches() const {
98
return _pool->num_queued_batches();
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected