diff --git a/ivy/data_classes/array/array.py b/ivy/data_classes/array/array.py index 4d8a3e27def1..e5a9c1f39329 100644 --- a/ivy/data_classes/array/array.py +++ b/ivy/data_classes/array/array.py @@ -260,7 +260,7 @@ def shape(self) -> ivy.Shape: @property def size(self) -> Optional[int]: """Number of elements in the array.""" - return ivy.size(self) + return ivy.size(self._data) @property def itemsize(self) -> Optional[int]: