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 a4c7ac9 commit 4140527Copy full SHA for 4140527
arrayfire/array_api/_array_object.py
@@ -131,7 +131,9 @@ def __str__(self) -> str: # FIXME
131
return _metadata_string(self.dtype) + _array_as_str(self)
132
133
def __repr__(self) -> str: # FIXME
134
- return _metadata_string(self.dtype, self.shape)
+ # return _metadata_string(self.dtype, self.shape)
135
+ # TODO change the look of array representation. E.g., like np.array
136
+ return _array_as_str(self)
137
138
def __len__(self) -> int:
139
return self.shape[0] if self.shape else 0 # type: ignore[return-value]
0 commit comments