mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
update sparse _reshape docstring to match jax.Array.reshape
This commit is contained in:
parent
4c505f8bac
commit
8bcd3d1049
@ -889,7 +889,7 @@ def _sum(self, *args, **kwargs):
|
||||
return sparsify(lambda x: x.sum(*args, **kwargs))(self)
|
||||
|
||||
def _reshape(self, *args, **kwargs):
|
||||
"""Sum array along axis."""
|
||||
"""Returns an array containing the same data with a new shape."""
|
||||
return sparsify(lambda x: x.reshape(*args, **kwargs))(self)
|
||||
|
||||
def _astype(self, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user