MCPcopy
hub / github.com/hkust-nlp/simpleRL-reason / add_one

Function add_one

tests/ray/test_worker_group_basics.py:83–87  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

81
82
83def add_one(data):
84 data = data.to("cuda")
85 data += 1
86 data = data.to("cpu")
87 return data
88
89
90def test_basics():

Callers

nothing calls this directly

Calls 1

toMethod · 0.80

Tested by

no test coverage detected