Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ cleanup
Method
cleanup
coremltools/models/model.py:469–471 ·
view source on GitHub ↗
(package_path)
Source
from the content-addressed store, hash-verified
467
""
"
468
469
def
cleanup(package_path):
470
if
_os.path.exists(package_path):
471
_shutil.rmtree(package_path)
472
473
def
does_model_contain_mlprogram(model) -> bool:
474
""
"
Callers
13
test_model_creation
Method · 0.45
test_model_api
Method · 0.45
test_predict_api
Method · 0.45
test_rename_input
Method · 0.45
test_rename_input_bad
Method · 0.45
test_save
Method · 0.45
test_save_in_place
Method · 0.45
test_mil_as_package
Method · 0.45
test_model_save_no_extension
Method · 0.45
teardown_class
Method · 0.45
arena_dofree
Function · 0.45
arena_dofree
Function · 0.45
Calls
no outgoing calls
Tested by
10
test_model_creation
Method · 0.36
test_model_api
Method · 0.36
test_predict_api
Method · 0.36
test_rename_input
Method · 0.36
test_rename_input_bad
Method · 0.36
test_save
Method · 0.36
test_save_in_place
Method · 0.36
test_mil_as_package
Method · 0.36
test_model_save_no_extension
Method · 0.36
teardown_class
Method · 0.36