diff --git a/mithril/cores/python/numpy/ops.py b/mithril/cores/python/numpy/ops.py index bf55f5a6..13bfd597 100644 --- a/mithril/cores/python/numpy/ops.py +++ b/mithril/cores/python/numpy/ops.py @@ -1482,7 +1482,7 @@ def reshape( return input.reshape(shape) -def item(input: np.ndarray[Any, Any]) -> int | float | bool: +def item(input: np.ndarray[Any, Any]) -> int | float | bool | str: return input.item()