diff options
Diffstat (limited to 'src/mlia/target/cortex_a/advisor.py')
-rw-r--r-- | src/mlia/target/cortex_a/advisor.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mlia/target/cortex_a/advisor.py b/src/mlia/target/cortex_a/advisor.py index 1249d93..52af592 100644 --- a/src/mlia/target/cortex_a/advisor.py +++ b/src/mlia/target/cortex_a/advisor.py @@ -64,7 +64,7 @@ class CortexAInferenceAdvisor(DefaultInferenceAdvisor): def configure_and_get_cortexa_advisor( context: ExecutionContext, - target_profile: str, + target_profile: str | Path, model: str | Path, **_extra_args: Any, ) -> InferenceAdvisor: @@ -78,7 +78,9 @@ def configure_and_get_cortexa_advisor( return CortexAInferenceAdvisor() -def _get_config_parameters(model: str | Path, target_profile: str) -> dict[str, Any]: +def _get_config_parameters( + model: str | Path, target_profile: str | Path +) -> dict[str, Any]: """Get configuration parameters for the advisor.""" advisor_parameters: dict[str, Any] = { "cortex_a_inference_advisor": { |