MCPcopy
hub / github.com/ray-project/ray / items

Method items

rllib/policy/policy_map.py:189–196  ·  view source on GitHub ↗

Iterates over all policies, even the stashed ones.

(self)

Source from the content-addressed store, hash-verified

187
188 @override(dict)
189 def items(self):
190 """Iterates over all policies, even the stashed ones."""
191
192 def gen():
193 for key in self._valid_keys:
194 yield (key, self[key])
195
196 return gen()
197
198 @override(dict)
199 def keys(self):

Callers 15

test_policy_swap_gpuMethod · 0.95
test_policy_mapMethod · 0.95
setup.pyFile · 0.45
_get_proto_job_configMethod · 0.45
_process_option_dictFunction · 0.45
_remoteMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
_remoteMethod · 0.45
setup-dev.pyFile · 0.45

Calls 1

genFunction · 0.50