Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Turing-Project/WriteGPT
/ load_variable
Function
load_variable
LanguageNetwork/BERT/utils/dataio.py:55–61 ·
view source on GitHub ↗
:param path: :return:
(path)
Source
from the content-addressed store, hash-verified
53
54
55
def
load_variable(path):
56
""
"
57
:param path:
58
:
return
:
59
""
"
60
import
pickle
61
return
pickle.load(open(path,
'rb'
))
62
63
64
def
save_txt_file(data, path, end=
'\n'
):
Callers
1
load_predict_gen_vector
Function · 0.90
Calls
1
load
Method · 0.45
Tested by
no test coverage detected