Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
83
def
add_one(data):
84
data = data.to(
"cuda"
)
85
data += 1
86
data = data.to(
"cpu"
)
87
return
data
88
89
90
def
test_basics():
Callers
nothing calls this directly
Calls
1
to
Method · 0.80
Tested by
no test coverage detected