Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/axlearn
/ readfile
Function
readfile
axlearn/common/file_system.py:165–167 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
163
164
@_wrap_tf_errors
165
def
readfile(path: str) -> str:
166
with
open(path, mode=
"r"
)
as
f:
167
return
str(f.read())
168
169
170
@_wrap_tf_errors
Callers
4
_job_history
Function · 0.90
get_resource_limits
Function · 0.90
_readfile
Function · 0.90
_load_runtime_options
Function · 0.90
Calls
1
open
Function · 0.85
Tested by
no test coverage detected