Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OUCMachineLearning/OUCML
/ save
Function
save
AutoML/darts-master/cnn/utils.py:94–95 ·
view source on GitHub ↗
(model, model_path)
Source
from the content-addressed store, hash-verified
92
93
94
def
save(model, model_path):
95
torch.save(model.state_dict(), model_path)
96
97
98
def
load(model, model_path):
Callers
2
save_model
Method · 0.85
save_model
Method · 0.85
Calls
1
save
Method · 0.45
Tested by
no test coverage detected