ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Python Data API Specification(commit: cf5aa666017b8a8a2117aa1cb1770eb1cf841942)MXNet v2.0.0 ImplementationChanges neededImplementation StatusPR#
2
API Specification
3
Array Object
4
OperatorsNoNo changes needed.
5
__lt__(x1, x2)mxnet.numpy.__lt__(self, other)NoNew APINeed to add a new function or constant.
6
__le__(x1, x2)mxnet.numpy.__le__(self, other)NoEnhancementNeed enhancement to the existing function (add new argument, etc.).
7
__gt__(x1, x2)mxnet.numpy.__gt__(self, other)NoEnhancement with BCNeed to change signature of the existing function. (breaking change)
8
__ge__(x1, x2)mxnet.numpy.__ge__(self, other)NoBehaviorNeed to change behavior of the existing function. (breaking change)
9
__eq__(x1, x2)mxnet.numpy.__eq__(self, other)NoN/AThe detailed specification is not determined yet in the Data API.
10
__ne__(x1, x2)mxnet.numpy.__ne__(self, other)No
11
__pos__(x)(Not Implemented)New APIpositive(x)Done20667
12
__neg__(x)mxnet.numpy.__neg__(self)No
13
__add__(x1, x2)mxnet.numpy.__add__(self, other)No
14
__sub__(x1, x2)mxnet.numpy.__sub__(self, other)No
15
__mul__(x1, x2)mxnet.numpy.__mul__(self, other)No
16
__truediv__(x1, x2)mxnet.numpy.__truediv__(self, other)No
17
__floordiv__(x1, x2)(Not Implemented)New APIfloor_divide(x1, x2)Done20620
18
__mod__(x1, x2)mxnet.numpy.__mod__(self, other)No
19
__pow__(x1, x2)mxnet.numpy.__pow__(self, other)No
20
__matmul__(x1, x2)mxnet.numpy.__matmul__(self, other)No
21
__invert__(x)mxnet.numpy.__invert__(self)No
22
__and__(x1, x2)mxnet.numpy.__and__(self, other)No
23
__or__(x1, x2)mxnet.numpy.__or__(self, other)No
24
__xor__(x1, x2)mxnet.numpy.__xor__(self, other)No
25
__lshift__(x1, x2)(Not Implemented)New APIbitwise_left_shift(x1, x2)Done20587
26
__rshift__(x1, x2)(Not Implemented)New APIbitwise_right_shift(x1, x2)Done20587
27
In-place Operators
28
__iadd__mxnet.numpy.__iadd__(self, other)No
29
__isub__mxnet.numpy.__isub__(self, other)No
30
__imul__mxnet.numpy.__imul__(self, other)No
31
__itruediv__mxnet.numpy.__itruediv__(self, other)No
32
__ifloordiv__(Not Implemented)New APIDone20620
33
__ipow__(Not Implemented)New APIDone20592
34
__imatmul__mxnet.numpy.__imatmul__(self, other)No
35
__imod__mxnet.numpy.__imod__(self, other)No
36
__iand__mxnet.numpy.__iand__(self, other)No
37
__ior__mxnet.numpy.__ior__(self, other)No
38
__ixor__mxnet.numpy.__ixor__(self, other)No
39
__ilshift__(Not Implemented)New APIbitwise_left_shift(self, other, out=self)Done20587
40
__irshift__(Not Implemented)New APIbitwise_right_shift(self, other, out=self)Done20587
41
Reflected Operators
42
__radd__(Not Implemented)New APIadd(self, other)Done20592
43
__rsub__mxnet.numpy.__rsub__(self, other)No
44
__rmul__mxnet.numpy.__rmul__(self, other)No
45
__rtruediv__mxnet.numpy.__rtruediv__(self, other)No
46
__rfloordiv__(Not Implemented)New APIfloor_divide(other, self)Done20620
47
__rpow__mxnet.numpy.__rpow__(self, other)No
48
__rmatmul__mxnet.numpy.__rmatmul__(self, other)No
49
__rmod__mxnet.numpy.__rmod__(self, other)No
50
__rand__(Not Implemented)New APIbitwise_and(self, other)Done20592
51
__ror__(Not Implemented)New APIbitwise_or(self, other)Done20592
52
__rxor__(Not Implemented)New APIbitwise_xor(self, other)Done20592
53
__rlshift__(Not Implemented)New APIbitwise_left_shift(other, self)Done20587
54
__rrshift__(Not Implemented)New APIbitwise_right_shift(other, self)Done20587
55
Attributes
56
dtypemxnet.numpy.dtypeNo
57
devicemxnet.numpy.ctxNew APIctx → deviceDone20572
58
ndimmxnet.numpy.ndimNo
59
shapemxnet.numpy.shapeNo
60
sizemxnet.numpy.sizeNo
61
Tmxnet.numpy.TNo
62
mT(Not Implemented)New APIDone20688
63
Methods
64
__abs__(x, /)mxnet.numpy__abs__(self)No
65
__add__(x1, x2, /)mxnet.numpy.__add__(self, other)No
66
__and__(x1, x2, /)mxnet.numpy.__and__(self, other)No
67
__array_namespace__(self, /, *, api_version=None)(Not Implemented)New APIDone20689
68
__bool__(x, /)mxnet.numpy.__bool__(self)No
69
__dlpack__(/, *, stream=None)(Not Implemented)New APIIn Progress20546
70
__dlpack_device__()(Not Implemented)New APIIn Progress20546
71
__eq__(x1, x2, /)mxnet.numpy.__eq__(self, other)No
72
__float__(x, /)mxnet.numpy.__float__(self)No
73
__floordiv__(x1, x2, /)(Not Implemented)New APIDone20620
74
__ge__(x1, x2, /)mxnet.numpy.__ge__(self, other)No
75
__getitem__(x, key, /)mxnet.numpy.__getitem__(self, key)No
76
__gt__(x1, x2, /)mxnet.numpy.__gt__(self, other)No
77
__index__(self, /)(Not Implemented)New APIDone20689
78
__int__(x, /)mxnet.numpy.__int__(self)No
79
__invert__(x, /)mxnet.numpy.__invert__(self)No
80
__le__(x1, x2, /)mxnet.numpy.__le__(self, other)No
81
__len__(x, /)mxnet.numpy.__len__(self)No
82
__lshift__(x1, x2, /)(Not Implemented)New APIDone20587
83
__lt__(x1, x2, /)mxnet.numpy.__lt__(self, other)No
84
__matmul__(x1, x2, /)mxnet.numpy.__matmul__(self, other)No
85
__mod__(x1, x2, /)mxnet.numpy.__mod__(self, other)No
86
__mul__(x1, x2, /)mxnet.numpy.__mul__(self, other)No
87
__ne__(x1, x2, /)mxnet.numpy.__ne__(self, other)No
88
__neg__(x, /)mxnet.numpy.__neg__(self)No
89
__or__(x1, x2, /)mxnet.numpy.__or__(self, other)No
90
__pos__(x, /)(Not Implemented)New APIDone20667
91
__pow__(x1, x2, /)mxnet.numpy.__pow__(self, other)No
92
__rshift__(x1, x2, /)(Not Implemented)New APIDone20587
93
__setitem__(x, key, value, /)mxnet.numpy.__setitem__(self, key, value)No
94
__sub__(x1, x2, /)mxnet.numpy.__sub__(self, other)No
95
__truediv__(x1, x2, /)mxnet.numpy.__truediv__(self, other)No
96
__xor__(x1, x2, /)mxnet.numpy.__xor__(self, other)No
97
Data Types
98
boolmxnet.numpy.boolNo
99
int8mxnet.numpy.int8No
100
int16(Not Implemented)New APIDone20478