@@ -41,12 +41,12 @@ def matmul(x1: array, x2: array, /) -> array:
41
41
42
42
Raises
43
43
------
44
-
45
- - if either ``x1`` or ``x2`` is a zero-dimensional array.
46
- - if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
47
- - if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
48
- - if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
49
- - if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
44
+ Error
45
+ - if either ``x1`` or ``x2`` is a zero-dimensional array.
46
+ - if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
47
+ - if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
48
+ - if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
49
+ - if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
50
50
51
51
Notes
52
52
-----
@@ -152,8 +152,8 @@ def vecdot(x1: array, x2: array, /, *, axis: int = -1) -> array:
152
152
153
153
Raises
154
154
------
155
-
156
- - if the size of the axis over which to compute the dot product is not the same (before broadcasting) for both ``x1`` and ``x2``.
155
+ Error
156
+ - if the size of the axis over which to compute the dot product is not the same (before broadcasting) for both ``x1`` and ``x2``.
157
157
158
158
Notes
159
159
-----
0 commit comments