forked from data-apis/array-api-extra
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
56 lines (53 loc) · 1.33 KB
/
Copy path__init__.py
File metadata and controls
56 lines (53 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"""Extra array functions built on top of the array API standard."""
from . import testing
from ._agnostic._elementwise import angle, apply_where
from ._agnostic._inspection import default_dtype
from ._at import at
from ._creation import create_diagonal, one_hot
from ._elementwise import deg2rad, isclose, nan_to_num, rad2deg, sinc
from ._indexing import diag_indices, tril_indices, triu_indices, unravel_index
from ._lazy import lazy_apply
from ._linalg import kron
from ._manipulation import atleast_nd, broadcast_shapes, expand_dims, pad
from ._searching import searchsorted
from ._set import isin, nunique, setdiff1d, union1d
from ._sorting import argpartition, partition
from ._statistical import cov, nanmax, nanmean, nanmin, nansum
__version__ = "0.11.2.dev0"
__all__ = [
"__version__",
"angle",
"apply_where",
"argpartition",
"at",
"atleast_nd",
"broadcast_shapes",
"cov",
"create_diagonal",
"default_dtype",
"deg2rad",
"diag_indices",
"expand_dims",
"isclose",
"isin",
"kron",
"lazy_apply",
"nan_to_num",
"nanmax",
"nanmean",
"nanmin",
"nansum",
"nunique",
"one_hot",
"pad",
"partition",
"rad2deg",
"searchsorted",
"setdiff1d",
"sinc",
"testing",
"tril_indices",
"triu_indices",
"union1d",
"unravel_index",
]