We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649c594 commit 549b732Copy full SHA for 549b732
backends/arm/util/arm_model_evaluator.py
@@ -59,7 +59,7 @@ def __init__(
59
if tosa_output_path:
60
self.tosa_output_path = tosa_output_path
61
else:
62
- self.tosa_output_path = None # type: ignore[assignment]
+ self.tosa_output_path = ""
63
64
def get_model_error(self) -> defaultdict:
65
"""
@@ -104,7 +104,7 @@ def get_compression_ratio(self) -> float:
104
105
return compression_ratio
106
107
- def evaluate(self) -> dict[Any]: # type: ignore[type-arg]
+ def evaluate(self) -> dict[str, Any]:
108
model_error_dict = self.get_model_error()
109
110
output_metrics = {"name": self.model_name, "metrics": dict(model_error_dict)}
0 commit comments