aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/utils/filesystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/utils/filesystem.py')
-rw-r--r--src/mlia/utils/filesystem.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mlia/utils/filesystem.py b/src/mlia/utils/filesystem.py
index e3ef7db..5348d06 100644
--- a/src/mlia/utils/filesystem.py
+++ b/src/mlia/utils/filesystem.py
@@ -34,6 +34,11 @@ def get_mlia_target_profiles_dir() -> Path:
return get_mlia_resources() / "target_profiles"
+def get_mlia_target_optimization_dir() -> Path:
+ """Get the profiles file."""
+ return get_mlia_resources() / "optimization_profiles"
+
+
@contextmanager
def temp_file(suffix: str | None = None) -> Generator[Path, None, None]:
"""Create temp file and remove it after."""