MCPcopy 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_creationMethod · 0.45
test_model_apiMethod · 0.45
test_predict_apiMethod · 0.45
test_rename_inputMethod · 0.45
test_rename_input_badMethod · 0.45
test_saveMethod · 0.45
test_save_in_placeMethod · 0.45
test_mil_as_packageMethod · 0.45
teardown_classMethod · 0.45
arena_dofreeFunction · 0.45
arena_dofreeFunction · 0.45

Calls

no outgoing calls

Tested by 10

test_model_creationMethod · 0.36
test_model_apiMethod · 0.36
test_predict_apiMethod · 0.36
test_rename_inputMethod · 0.36
test_rename_input_badMethod · 0.36
test_saveMethod · 0.36
test_save_in_placeMethod · 0.36
test_mil_as_packageMethod · 0.36
teardown_classMethod · 0.36