MCPcopy 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
qsizeMethod · 0.95
test_funcFunction · 0.45
forwardMethod · 0.45
train_cifarFunction · 0.45
test_best_modelFunction · 0.45
test_funcFunction · 0.45
inception_scoreFunction · 0.45
train_funcFunction · 0.45
read_logFunction · 0.45

Calls 2

getMethod · 0.65
remoteMethod · 0.45

Tested by 5

test_funcFunction · 0.36
test_best_modelFunction · 0.36
test_funcFunction · 0.36
test_id_methodsFunction · 0.36
forwardMethod · 0.36