Skip to content

Commit 85b71de

Browse files
committed
Merge branch 'master' into pytorch
2 parents 866647d + e53385d commit 85b71de

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

array_api_compat/common/_aliases.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,8 @@ def vecdot(x1: ndarray, x2: ndarray, /, xp, *, axis: int = -1) -> ndarray:
443443
res = x1_[..., None, :] @ x2_[..., None]
444444
return res[..., 0, 0]
445445

446-
__all__ = ['UniqueAllResult', 'UniqueCountsResult', 'UniqueInverseResult',
446+
__all__ = ['arange', 'empty', 'empty_like', 'eye', 'full', 'full_like',
447+
'linspace', 'ones', 'ones_like', 'zeros', 'zeros_like', 'UniqueAllResult', 'UniqueCountsResult', 'UniqueInverseResult',
447448
'unique_all', 'unique_counts', 'unique_inverse', 'unique_values',
448449
'astype', 'std', 'var', 'permute_dims', 'reshape', 'argsort',
449450
'sort', 'sum', 'prod', 'ceil', 'floor', 'trunc', 'matmul',

array_api_compat/cupy/_aliases.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
floor = get_xp(cp)(_aliases.floor)
5959
trunc = get_xp(cp)(_aliases.trunc)
6060

61-
__all__ = _aliases.__all__ + ['asarray', 'asarray_cupy', 'bool', 'arange',
62-
'empty', 'empty_like', 'eye', 'full', 'full_like',
63-
'linspace', 'ones', 'ones_like', 'zeros', 'zeros_like']
61+
__all__ = _aliases.__all__ + ['asarray', 'asarray_cupy', 'bool', 'acos',
62+
'acosh', 'asin', 'asinh', 'atan', 'atan2',
63+
'atanh', 'bitwise_left_shift', 'bitwise_invert',
64+
'bitwise_right_shift', 'concat', 'pow']

array_api_compat/numpy/_aliases.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
floor = get_xp(np)(_aliases.floor)
5959
trunc = get_xp(np)(_aliases.trunc)
6060

61-
__all__ = _aliases.__all__ + ['asarray', 'asarray_numpy', 'bool', 'arange',
62-
'empty', 'empty_like', 'eye', 'full', 'full_like',
63-
'linspace', 'ones', 'ones_like', 'zeros', 'zeros_like']
61+
__all__ = _aliases.__all__ + ['asarray', 'asarray_numpy', 'bool', 'acos',
62+
'acosh', 'asin', 'asinh', 'atan', 'atan2',
63+
'atanh', 'bitwise_left_shift', 'bitwise_invert',
64+
'bitwise_right_shift', 'concat', 'pow']

0 commit comments

Comments
 (0)