Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ray-project/ray
/ size
Method
size
python/ray/util/queue.py:69–71 ·
view source on GitHub ↗
The size of the queue.
(self)
Source
from the content-addressed store, hash-verified
67
return
self.size()
68
69
def
size(self) -> int:
70
""
"The size of the queue."
""
71
return
ray.get(self.actor.qsize.remote())
72
73
def
qsize(self) -> int:
74
""
"The size of the queue."
""
Callers
15
__len__
Method · 0.95
qsize
Method · 0.95
test_func
Function · 0.45
forward
Method · 0.45
train_cifar
Function · 0.45
test_best_model
Function · 0.45
test_func
Function · 0.45
inception_score
Function · 0.45
train_func
Function · 0.45
read_log
Function · 0.45
compute_job_id_from_driver
Function · 0.45
compute_driver_id_from_job
Function · 0.45
Calls
2
get
Method · 0.65
remote
Method · 0.45
Tested by
5
test_func
Function · 0.36
test_best_model
Function · 0.36
test_func
Function · 0.36
test_id_methods
Function · 0.36
forward
Method · 0.36