Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ _is_path
Function
_is_path
python/oneflow/framework/check_point_v2.py:109–110 ·
view source on GitHub ↗
(path_or_buffer)
Source
from the content-addressed store, hash-verified
107
108
109
def
_is_path(path_or_buffer):
110
return
isinstance(path_or_buffer, Path)
111
112
113
def
_check_seekable(f) -> bool:
Callers
7
_open_file_like
Function · 0.85
is_dir_and_no_pickle_file
Function · 0.85
is_oneflow_pickle_file
Function · 0.85
is_file_and_support_pytorch_format
Function · 0.85
is_dir_and_has_pickle_file
Function · 0.85
load
Function · 0.85
save
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected