Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ make_output_dir
Function
make_output_dir
examples/qualcomm/utils.py:91–94 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
89
90
91
def
make_output_dir(path: str):
92
if
os.path.exists(path):
93
shutil.rmtree(path, ignore_errors=True)
94
os.makedirs(path)
95
96
97
def
topk_accuracy(predictions, targets, k):
Callers
15
verify_output
Method · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected