Skip to content

Commit ada9102

Browse files
committed
Fix 2021.12 building
1 parent c74b390 commit ada9102

23 files changed

+76
-253
lines changed

spec/2021.12/API_specification/array_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Bitwise Operators
246246

247247
-------------------------------------------------
248248

249-
.. currentmodule:: signatures.array_object
249+
.. currentmodule:: array_api
250250

251251
Attributes
252252
----------

spec/2021.12/API_specification/constants.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A conforming implementation of the array API standard must provide and support t
1010
Objects in API
1111
--------------
1212

13-
.. currentmodule:: signatures.constants
13+
.. currentmodule:: array_api
1414

1515
..
1616
NOTE: please keep the functions in alphabetical order

spec/2021.12/API_specification/creation_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A conforming implementation of the array API standard must provide and support t
1111
Objects in API
1212
--------------
1313

14-
.. currentmodule:: signatures.creation_functions
14+
.. currentmodule:: array_api
1515

1616
..
1717
NOTE: please keep the functions in alphabetical order

spec/2021.12/API_specification/data_type_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A conforming implementation of the array API standard must provide and support t
99
Objects in API
1010
--------------
1111

12-
.. currentmodule:: signatures.data_type_functions
12+
.. currentmodule:: array_api
1313

1414
..
1515
NOTE: please keep the functions in alphabetical order

spec/2021.12/API_specification/data_types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Methods
100100
..
101101
NOTE: please keep the functions in alphabetical order
102102
103-
.. currentmodule:: signatures.data_types
103+
.. currentmodule:: array_api
104104

105105
.. autosummary::
106106
:toctree: generated

spec/2021.12/API_specification/elementwise_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A conforming implementation of the array API standard must provide and support t
1919
Objects in API
2020
--------------
2121

22-
.. currentmodule:: signatures.elementwise_functions
22+
.. currentmodule:: array_api
2323

2424
..
2525
NOTE: please keep the functions in alphabetical order

spec/2021.12/API_specification/indexing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Multi-dimensional arrays must extend the concept of single-axis indexing to mult
154154
- Each ``None`` in the selection tuple must expand the dimensions of the resulting selection by one dimension of size ``1``. The position of the added dimension must be the same as the position of ``None`` in the selection tuple.
155155

156156
.. note::
157-
Expanding dimensions can be equivalently achieved via repeated invocation of :func:`~signatures.manipulation_functions.expand_dims`.
157+
Expanding dimensions can be equivalently achieved via repeated invocation of :func:`~array_api.expand_dims`.
158158

159159
- Except in the case of providing a single ellipsis (e.g., ``A[2:10, ...]`` or ``A[1:, ..., 2:5]``), the number of provided single-axis indexing expressions (excluding ``None``) should equal ``N``. For example, if ``A`` has rank ``2``, a single-axis indexing expression should be explicitly provided for both axes (e.g., ``A[2:10, :]``). An ``IndexError`` exception should be raised if the number of provided single-axis indexing expressions (excluding ``None``) is less than ``N``.
160160

@@ -181,7 +181,7 @@ Boolean Array Indexing
181181
An array must support indexing where the **sole index** is an ``M``-dimensional boolean array ``B`` with shape ``S1 = (s1, ..., sM)`` according to the following rules. Let ``A`` be an ``N``-dimensional array with shape ``S2 = (s1, ..., sM, ..., sN)``.
182182

183183
.. note::
184-
The prohibition against combining boolean array indices with other single-axis indexing expressions includes the use of ``None``. To expand dimensions of the returned array, use repeated invocation of :func:`~signatures.manipulation_functions.expand_dims`.
184+
The prohibition against combining boolean array indices with other single-axis indexing expressions includes the use of ``None``. To expand dimensions of the returned array, use repeated invocation of :func:`~array_api.expand_dims`.
185185

186186
- If ``N >= M``, then ``A[B]`` must replace the first ``M`` dimensions of ``A`` with a single dimension having a size equal to the number of ``True`` elements in ``B``. The values in the resulting array must be in row-major (C-style order); this is equivalent to ``A[nonzero(B)]``.
187187

spec/2021.12/API_specification/linear_algebra_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A conforming implementation of the array API standard must provide and support t
1212
* Unless stated otherwise, functions must adhere to the type promotion rules defined in :ref:`type-promotion`.
1313
* Unless stated otherwise, floating-point operations must adhere to IEEE 754-2019.
1414

15-
.. currentmodule:: signatures.linear_algebra_functions
15+
.. currentmodule:: array_api
1616

1717
Objects in API
1818
--------------

spec/2021.12/API_specification/manipulation_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A conforming implementation of the array API standard must provide and support t
1212
Objects in API
1313
--------------
1414

15-
.. currentmodule:: signatures.manipulation_functions
15+
.. currentmodule:: array_api
1616

1717
..
1818
NOTE: please keep the functions in alphabetical order

spec/2021.12/API_specification/searching_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A conforming implementation of the array API standard must provide and support t
1616
Objects in API
1717
--------------
1818

19-
.. currentmodule:: signatures.searching_functions
19+
.. currentmodule:: array_api
2020

2121
..
2222
NOTE: please keep the functions in alphabetical order

0 commit comments

Comments
 (0)