Skip to content

Commit e9b447c

Browse files
committed
Fix some formatting in the README
1 parent 0565dee commit e9b447c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,13 @@ corresponding wrapped namespace for each library, like
3535

3636
```py
3737
import array_api_compat.numpy as np
38+
```
3839

40+
```py
3941
import array_api_compat.cupy as cp
42+
```
4043

44+
```py
4145
import array_api_compat.torch as torch
4246
```
4347

@@ -167,8 +171,7 @@ specification:
167171
concern, use the functional form instead of the operator form, e.g., `add(x,
168172
y)` instead of `x + y`.
169173

170-
- [`unique_all()`](https://data-apis.org/array-api/late
171-
st/API_specification/generated/array_api.unique_all.html#array_api.unique_all)
174+
- [`unique_all()`](https://data-apis.org/array-api/latest/API_specification/generated/array_api.unique_all.html#array_api.unique_all)
172175
is not implemented, due to the fact that `torch.unique` does not support
173176
returning the `indices` array. The other
174177
[`unique_*`](https://data-apis.org/array-api/latest/API_specification/set_functions.html)
@@ -202,7 +205,7 @@ references the name "array_api_compat").
202205

203206
Alternatively, the library may be installed as dependency on PyPI.
204207

205-
## Implementation
208+
## Implementation Notes
206209

207210
As noted before, the goal of this library is to reuse the NumPy and CuPy array
208211
objects, rather than wrapping or extending them. This means that the functions

0 commit comments

Comments
 (0)