MCPcopy 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
21def GetResource(name, mode='rb'):
22 with open(name, mode=mode) as f:
23 return f.read()
24
25
26def GetResourceFilename(name, mode='rb'):

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…