MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / CurrentResource

Function CurrentResource

python/oneflow/framework/c_api_util.py:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34
35def CurrentResource():
36 resource = oneflow._oneflow_internal.CurrentResource()
37 return text_format.Parse(resource, resource_util.Resource())
38
39
40def EnvResource():

Callers

nothing calls this directly

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected