Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/dm_control
/ GetResource
Function
GetResource
dm_control/utils/io.py:21–23 ·
view source on GitHub ↗
(name, mode='rb')
Source
from the content-addressed store, hash-verified
19
20
21
def
GetResource(name, mode=
'rb'
):
22
with
open(name, mode=mode)
as
f:
23
return
f.read()
24
25
26
def
GetResourceFilename(name, mode=
'rb'
):
Callers
nothing calls this directly
Calls
1
read
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…