We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[BUG] mars.tensor.int is not compatible with numpy since v1.24
<!--
Thank you for your contribution!

Please review https://github.com/mars-project/mars/blob/master/CONTRIBUTING.rst before opening an issue.
-->

**Describe the bug**
Since numpy v1.24, numpy.int, numpy.float, numpy.object, numpy.bool is no longer able to be imported, while cases are that mt.int is used. Deprecate warnings removed by PR #2788 finally come into reality.

**To Reproduce**
To help us reproducing this bug, please provide information below:
1. Your Python version: v3.8.13
2. The version of Mars you use: master
3. Versions of crucial packages, numpy v1.24.1
4. Full stack of the error.
AttributeError: module 'mars.tensor' has no attribute 'int'
5. Minimized code to reproduce the error.
> import mars.tensor as mt
> mt.int

**Expected behavior**
AttributeError: module 'mars.tensor' has no attribute 'int'

**Additional context**
- [Using the aliases of builtin types like np.int is deprecated](https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations)
- [NumPy 1.24 Release Notes](https://numpy.org/devdocs/release/1.24.0-notes.html)
- [DEP: Next step in scalar type alias deprecations/futurewarnings by seberg · Pull Request #22607 · numpy/numpy](https://github.com/numpy/numpy/pull/22607)
- [NumPy 1.22 dropped Python 3.7](https://numpy.org/devdocs/release/1.22.0-notes.html)

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `mars/tensor/__init__.py`
Content:
```
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 # Copyright 1999-2021 Alibaba Group Holding Ltd.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 
17 
18 from .datasource import (
19     tensor,
20     array,
21     asarray,
22     ascontiguousarray,
23     asfortranarray,
24     scalar,
25     empty,
26     empty_like,
27     ones,
28     ones_like,
29     zeros,
30     zeros_like,
31     full,
32     full_like,
33     arange,
34     diag,
35     diagflat,
36     eye,
37     identity,
38     linspace,
39     meshgrid,
40     indices,
41     tril,
42     triu,
43     fromtiledb,
44     fromtiledb as from_tiledb,
45     from_dataframe,
46     fromhdf5,
47     fromhdf5 as from_hdf5,
48     fromzarr,
49     fromzarr as from_zarr,
50     fromvineyard,
51     fromvineyard as from_vineyard,
52 )
53 from .datastore import (
54     totiledb,
55     totiledb as to_tiledb,
56     tohdf5,
57     tohdf5 as to_hdf5,
58     tozarr,
59     tozarr as to_zarr,
60     tovineyard,
61     tovineyard as to_vineyard,
62 )  # pylint: disable=reimported
63 from .base import (
64     result_type,
65     ndim,
66     copyto,
67     transpose,
68     where,
69     broadcast_to,
70     broadcast_arrays,
71     expand_dims,
72     rollaxis,
73     swapaxes,
74     moveaxis,
75     ravel,
76     atleast_1d,
77     atleast_2d,
78     atleast_3d,
79     argwhere,
80     array_split,
81     split,
82     hsplit,
83     vsplit,
84     dsplit,
85     roll,
86     squeeze,
87     diff,
88     ediff1d,
89     flip,
90     flipud,
91     fliplr,
92     repeat,
93     tile,
94     isin,
95     searchsorted,
96     unique,
97     sort,
98     argsort,
99     partition,
100     argpartition,
101     topk,
102     argtopk,
103     copy,
104     trapz,
105     shape,
106     insert,
107     delete,
108     in1d,
109     setdiff1d,
110 )
111 from .arithmetic import (
112     add,
113     subtract,
114     multiply,
115     divide,
116     truediv as true_divide,
117     floordiv as floor_divide,
118     mod,
119     power,
120     float_power,
121     fmod,
122     sqrt,
123     around,
124     round_,
125     round_ as round,
126     logaddexp,
127     logaddexp2,
128     negative,
129     positive,
130     absolute,
131     fabs,
132     absolute as abs,
133     rint,
134     sign,
135     degrees,
136     radians,
137     conj,
138     conjugate,
139     exp,
140     exp2,
141     log,
142     log2,
143     log10,
144     expm1,
145     log1p,
146     square,
147     cbrt,
148     reciprocal,
149     equal,
150     not_equal,
151     less,
152     less_equal,
153     greater,
154     greater_equal,
155     sin,
156     cos,
157     tan,
158     arcsin,
159     arccos,
160     arctan,
161     arctan2,
162     hypot,
163     sinh,
164     cosh,
165     tanh,
166     arcsinh,
167     arccosh,
168     arctanh,
169     deg2rad,
170     rad2deg,
171     bitand as bitwise_and,
172     bitor as bitwise_or,
173     bitxor as bitwise_xor,
174     invert,
175     invert as bitwise_not,
176     lshift as left_shift,
177     rshift as right_shift,
178     logical_and,
179     logical_or,
180     logical_xor,
181     logical_not,
182     maximum,
183     minimum,
184     floor,
185     ceil,
186     trunc,
187     remainder,
188     fmax,
189     fmin,
190     isfinite,
191     isinf,
192     isnan,
193     signbit,
194     copysign,
195     nextafter,
196     spacing,
197     clip,
198     isclose,
199     ldexp,
200     frexp,
201     modf,
202     angle,
203     isreal,
204     iscomplex,
205     real,
206     imag,
207     fix,
208     i0,
209     sinc,
210     nan_to_num,
211     tree_add,
212     tree_multiply,
213 )
214 from .statistics import (
215     average,
216     bincount,
217     cov,
218     corrcoef,
219     digitize,
220     ptp,
221     histogram_bin_edges,
222     histogram,
223     median,
224     quantile,
225     percentile,
226 )
227 from .linalg.tensordot import tensordot
228 from .linalg.dot import dot
229 from .linalg.inner import inner, innerproduct
230 from .linalg.vdot import vdot
231 from .linalg.matmul import matmul
232 from .reduction import (
233     sum,
234     nansum,
235     prod,
236     prod as product,
237     nanprod,
238     max,
239     max as amax,
240     nanmax,
241     min,
242     min as amin,
243     nanmin,
244     all,
245     any,
246     mean,
247     nanmean,
248     argmax,
249     nanargmax,
250     argmin,
251     nanargmin,
252     cumsum,
253     cumprod,
254     var,
255     std,
256     nanvar,
257     nanstd,
258     nancumsum,
259     nancumprod,
260     count_nonzero,
261     allclose,
262     array_equal,
263 )
264 from .reshape import reshape
265 from .merge import (
266     concatenate,
267     stack,
268     hstack,
269     vstack,
270     dstack,
271     column_stack,
272     union1d,
273     block,
274     append,
275 )
276 from .indexing import (
277     take,
278     compress,
279     extract,
280     choose,
281     unravel_index,
282     nonzero,
283     flatnonzero,
284     fill_diagonal,
285 )
286 from .rechunk import rechunk
287 from .einsum import einsum
288 from .images import imread
289 
290 # noinspection PyUnresolvedReferences
291 from .lib.index_tricks import mgrid, ogrid, ndindex, r_, c_
292 
293 from . import random
294 from . import fft
295 from . import linalg
296 from . import lib
297 from . import special
298 from . import stats
299 
300 # types
301 from .core import Tensor
302 
303 # noinspection PyUnresolvedReferences
304 from ..core import ExecutableTuple
305 
306 # noinspection PyUnresolvedReferences
307 from numpy import (
308     newaxis,
309     AxisError,
310     inf,
311     Inf,
312     NINF,
313     nan,
314     NAN,
315     NaN,
316     pi,
317     e,
318     errstate,
319     geterr,
320     seterr,
321 )
322 
323 # import numpy types
324 # noinspection PyUnresolvedReferences
325 from numpy import (
326     dtype,
327     number,
328     inexact,
329     floating,
330     complexfloating,
331     integer,
332     signedinteger,
333     unsignedinteger,
334     character,
335     generic,
336     flexible,
337     int_,
338     bool_,
339     float_,
340     cfloat,
341     bytes_,
342     unicode_,
343     void,
344     object_,
345     intc,
346     intp,
347     int8,
348     int16,
349     int32,
350     int64,
351     uint8,
352     uint16,
353     uint32,
354     uint64,
355     uint,
356     float16,
357     float32,
358     float64,
359     double,
360     complex64,
361     complex128,
362     datetime64,
363     timedelta64,
364 )
365 
366 # noinspection PyUnresolvedReferences
367 from numpy import finfo
368 
369 # register fuse op and fetch op
370 from .fuse import TensorFuseChunk, TensorCpFuseChunk, TensorNeFuseChunk
371 from .fetch import TensorFetch, TensorFetchShuffle
372 from . import ufunc
373 
374 try:
375     import warnings
376 
377     # suppress numpy warnings on types
378     with warnings.catch_warnings():
379         warnings.simplefilter("ignore", DeprecationWarning)
380         warnings.simplefilter("ignore", FutureWarning)
381         # noinspection PyUnresolvedReferences
382         from numpy import object, int, bool, float
383 except ImportError:  # pragma: no cover
384     pass
385 finally:
386     del warnings
387 
388 del (
389     TensorFuseChunk,
390     TensorCpFuseChunk,
391     TensorNeFuseChunk,
392     TensorFetch,
393     TensorFetchShuffle,
394     ufunc,
395 )
396
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/mars/tensor/__init__.py b/mars/tensor/__init__.py
--- a/mars/tensor/__init__.py
+++ b/mars/tensor/__init__.py
@@ -334,14 +334,14 @@
     character,
     generic,
     flexible,
-    int_,
-    bool_,
-    float_,
+    int_ as int,
+    bool_ as bool,
+    float_ as float,
     cfloat,
     bytes_,
     unicode_,
     void,
-    object_,
+    object_ as object,
     intc,
     intp,
     int8,
@@ -371,20 +371,6 @@
 from .fetch import TensorFetch, TensorFetchShuffle
 from . import ufunc
 
-try:
-    import warnings
-
-    # suppress numpy warnings on types
-    with warnings.catch_warnings():
-        warnings.simplefilter("ignore", DeprecationWarning)
-        warnings.simplefilter("ignore", FutureWarning)
-        # noinspection PyUnresolvedReferences
-        from numpy import object, int, bool, float
-except ImportError:  # pragma: no cover
-    pass
-finally:
-    del warnings
-
 del (
     TensorFuseChunk,
     TensorCpFuseChunk,

{"golden_diff": "diff --git a/mars/tensor/__init__.py b/mars/tensor/__init__.py\n--- a/mars/tensor/__init__.py\n+++ b/mars/tensor/__init__.py\n@@ -334,14 +334,14 @@\n     character,\n     generic,\n     flexible,\n-    int_,\n-    bool_,\n-    float_,\n+    int_ as int,\n+    bool_ as bool,\n+    float_ as float,\n     cfloat,\n     bytes_,\n     unicode_,\n     void,\n-    object_,\n+    object_ as object,\n     intc,\n     intp,\n     int8,\n@@ -371,20 +371,6 @@\n from .fetch import TensorFetch, TensorFetchShuffle\n from . import ufunc\n \n-try:\n-    import warnings\n-\n-    # suppress numpy warnings on types\n-    with warnings.catch_warnings():\n-        warnings.simplefilter(\"ignore\", DeprecationWarning)\n-        warnings.simplefilter(\"ignore\", FutureWarning)\n-        # noinspection PyUnresolvedReferences\n-        from numpy import object, int, bool, float\n-except ImportError:  # pragma: no cover\n-    pass\n-finally:\n-    del warnings\n-\n del (\n     TensorFuseChunk,\n     TensorCpFuseChunk,\n", "issue": "[BUG] mars.tensor.int is not compatible with numpy since v1.24\n<!--\r\nThank you for your contribution!\r\n\r\nPlease review https://github.com/mars-project/mars/blob/master/CONTRIBUTING.rst before opening an issue.\r\n-->\r\n\r\n**Describe the bug**\r\nSince numpy v1.24, numpy.int, numpy.float, numpy.object, numpy.bool is no longer able to be imported, while cases are that mt.int is used. Deprecate warnings removed by PR #2788 finally come into reality.\r\n\r\n**To Reproduce**\r\nTo help us reproducing this bug, please provide information below:\r\n1. Your Python version: v3.8.13\r\n2. The version of Mars you use: master\r\n3. Versions of crucial packages, numpy v1.24.1\r\n4. Full stack of the error.\r\nAttributeError: module 'mars.tensor' has no attribute 'int'\r\n5. Minimized code to reproduce the error.\r\n> import mars.tensor as mt\r\n> mt.int\r\n\r\n**Expected behavior**\r\nAttributeError: module 'mars.tensor' has no attribute 'int'\r\n\r\n**Additional context**\r\n- [Using the aliases of builtin types like np.int is deprecated](https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations)\r\n- [NumPy 1.24 Release Notes](https://numpy.org/devdocs/release/1.24.0-notes.html)\r\n- [DEP: Next step in scalar type alias deprecations/futurewarnings by seberg \u00b7 Pull Request #22607 \u00b7 numpy/numpy](https://github.com/numpy/numpy/pull/22607)\r\n- [NumPy 1.22 dropped Python 3.7](https://numpy.org/devdocs/release/1.22.0-notes.html)\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# Copyright 1999-2021 Alibaba Group Holding Ltd.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\nfrom .datasource import (\n    tensor,\n    array,\n    asarray,\n    ascontiguousarray,\n    asfortranarray,\n    scalar,\n    empty,\n    empty_like,\n    ones,\n    ones_like,\n    zeros,\n    zeros_like,\n    full,\n    full_like,\n    arange,\n    diag,\n    diagflat,\n    eye,\n    identity,\n    linspace,\n    meshgrid,\n    indices,\n    tril,\n    triu,\n    fromtiledb,\n    fromtiledb as from_tiledb,\n    from_dataframe,\n    fromhdf5,\n    fromhdf5 as from_hdf5,\n    fromzarr,\n    fromzarr as from_zarr,\n    fromvineyard,\n    fromvineyard as from_vineyard,\n)\nfrom .datastore import (\n    totiledb,\n    totiledb as to_tiledb,\n    tohdf5,\n    tohdf5 as to_hdf5,\n    tozarr,\n    tozarr as to_zarr,\n    tovineyard,\n    tovineyard as to_vineyard,\n)  # pylint: disable=reimported\nfrom .base import (\n    result_type,\n    ndim,\n    copyto,\n    transpose,\n    where,\n    broadcast_to,\n    broadcast_arrays,\n    expand_dims,\n    rollaxis,\n    swapaxes,\n    moveaxis,\n    ravel,\n    atleast_1d,\n    atleast_2d,\n    atleast_3d,\n    argwhere,\n    array_split,\n    split,\n    hsplit,\n    vsplit,\n    dsplit,\n    roll,\n    squeeze,\n    diff,\n    ediff1d,\n    flip,\n    flipud,\n    fliplr,\n    repeat,\n    tile,\n    isin,\n    searchsorted,\n    unique,\n    sort,\n    argsort,\n    partition,\n    argpartition,\n    topk,\n    argtopk,\n    copy,\n    trapz,\n    shape,\n    insert,\n    delete,\n    in1d,\n    setdiff1d,\n)\nfrom .arithmetic import (\n    add,\n    subtract,\n    multiply,\n    divide,\n    truediv as true_divide,\n    floordiv as floor_divide,\n    mod,\n    power,\n    float_power,\n    fmod,\n    sqrt,\n    around,\n    round_,\n    round_ as round,\n    logaddexp,\n    logaddexp2,\n    negative,\n    positive,\n    absolute,\n    fabs,\n    absolute as abs,\n    rint,\n    sign,\n    degrees,\n    radians,\n    conj,\n    conjugate,\n    exp,\n    exp2,\n    log,\n    log2,\n    log10,\n    expm1,\n    log1p,\n    square,\n    cbrt,\n    reciprocal,\n    equal,\n    not_equal,\n    less,\n    less_equal,\n    greater,\n    greater_equal,\n    sin,\n    cos,\n    tan,\n    arcsin,\n    arccos,\n    arctan,\n    arctan2,\n    hypot,\n    sinh,\n    cosh,\n    tanh,\n    arcsinh,\n    arccosh,\n    arctanh,\n    deg2rad,\n    rad2deg,\n    bitand as bitwise_and,\n    bitor as bitwise_or,\n    bitxor as bitwise_xor,\n    invert,\n    invert as bitwise_not,\n    lshift as left_shift,\n    rshift as right_shift,\n    logical_and,\n    logical_or,\n    logical_xor,\n    logical_not,\n    maximum,\n    minimum,\n    floor,\n    ceil,\n    trunc,\n    remainder,\n    fmax,\n    fmin,\n    isfinite,\n    isinf,\n    isnan,\n    signbit,\n    copysign,\n    nextafter,\n    spacing,\n    clip,\n    isclose,\n    ldexp,\n    frexp,\n    modf,\n    angle,\n    isreal,\n    iscomplex,\n    real,\n    imag,\n    fix,\n    i0,\n    sinc,\n    nan_to_num,\n    tree_add,\n    tree_multiply,\n)\nfrom .statistics import (\n    average,\n    bincount,\n    cov,\n    corrcoef,\n    digitize,\n    ptp,\n    histogram_bin_edges,\n    histogram,\n    median,\n    quantile,\n    percentile,\n)\nfrom .linalg.tensordot import tensordot\nfrom .linalg.dot import dot\nfrom .linalg.inner import inner, innerproduct\nfrom .linalg.vdot import vdot\nfrom .linalg.matmul import matmul\nfrom .reduction import (\n    sum,\n    nansum,\n    prod,\n    prod as product,\n    nanprod,\n    max,\n    max as amax,\n    nanmax,\n    min,\n    min as amin,\n    nanmin,\n    all,\n    any,\n    mean,\n    nanmean,\n    argmax,\n    nanargmax,\n    argmin,\n    nanargmin,\n    cumsum,\n    cumprod,\n    var,\n    std,\n    nanvar,\n    nanstd,\n    nancumsum,\n    nancumprod,\n    count_nonzero,\n    allclose,\n    array_equal,\n)\nfrom .reshape import reshape\nfrom .merge import (\n    concatenate,\n    stack,\n    hstack,\n    vstack,\n    dstack,\n    column_stack,\n    union1d,\n    block,\n    append,\n)\nfrom .indexing import (\n    take,\n    compress,\n    extract,\n    choose,\n    unravel_index,\n    nonzero,\n    flatnonzero,\n    fill_diagonal,\n)\nfrom .rechunk import rechunk\nfrom .einsum import einsum\nfrom .images import imread\n\n# noinspection PyUnresolvedReferences\nfrom .lib.index_tricks import mgrid, ogrid, ndindex, r_, c_\n\nfrom . import random\nfrom . import fft\nfrom . import linalg\nfrom . import lib\nfrom . import special\nfrom . import stats\n\n# types\nfrom .core import Tensor\n\n# noinspection PyUnresolvedReferences\nfrom ..core import ExecutableTuple\n\n# noinspection PyUnresolvedReferences\nfrom numpy import (\n    newaxis,\n    AxisError,\n    inf,\n    Inf,\n    NINF,\n    nan,\n    NAN,\n    NaN,\n    pi,\n    e,\n    errstate,\n    geterr,\n    seterr,\n)\n\n# import numpy types\n# noinspection PyUnresolvedReferences\nfrom numpy import (\n    dtype,\n    number,\n    inexact,\n    floating,\n    complexfloating,\n    integer,\n    signedinteger,\n    unsignedinteger,\n    character,\n    generic,\n    flexible,\n    int_,\n    bool_,\n    float_,\n    cfloat,\n    bytes_,\n    unicode_,\n    void,\n    object_,\n    intc,\n    intp,\n    int8,\n    int16,\n    int32,\n    int64,\n    uint8,\n    uint16,\n    uint32,\n    uint64,\n    uint,\n    float16,\n    float32,\n    float64,\n    double,\n    complex64,\n    complex128,\n    datetime64,\n    timedelta64,\n)\n\n# noinspection PyUnresolvedReferences\nfrom numpy import finfo\n\n# register fuse op and fetch op\nfrom .fuse import TensorFuseChunk, TensorCpFuseChunk, TensorNeFuseChunk\nfrom .fetch import TensorFetch, TensorFetchShuffle\nfrom . import ufunc\n\ntry:\n    import warnings\n\n    # suppress numpy warnings on types\n    with warnings.catch_warnings():\n        warnings.simplefilter(\"ignore\", DeprecationWarning)\n        warnings.simplefilter(\"ignore\", FutureWarning)\n        # noinspection PyUnresolvedReferences\n        from numpy import object, int, bool, float\nexcept ImportError:  # pragma: no cover\n    pass\nfinally:\n    del warnings\n\ndel (\n    TensorFuseChunk,\n    TensorCpFuseChunk,\n    TensorNeFuseChunk,\n    TensorFetch,\n    TensorFetchShuffle,\n    ufunc,\n)\n", "path": "mars/tensor/__init__.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# Copyright 1999-2021 Alibaba Group Holding Ltd.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\nfrom .datasource import (\n    tensor,\n    array,\n    asarray,\n    ascontiguousarray,\n    asfortranarray,\n    scalar,\n    empty,\n    empty_like,\n    ones,\n    ones_like,\n    zeros,\n    zeros_like,\n    full,\n    full_like,\n    arange,\n    diag,\n    diagflat,\n    eye,\n    identity,\n    linspace,\n    meshgrid,\n    indices,\n    tril,\n    triu,\n    fromtiledb,\n    fromtiledb as from_tiledb,\n    from_dataframe,\n    fromhdf5,\n    fromhdf5 as from_hdf5,\n    fromzarr,\n    fromzarr as from_zarr,\n    fromvineyard,\n    fromvineyard as from_vineyard,\n)\nfrom .datastore import (\n    totiledb,\n    totiledb as to_tiledb,\n    tohdf5,\n    tohdf5 as to_hdf5,\n    tozarr,\n    tozarr as to_zarr,\n    tovineyard,\n    tovineyard as to_vineyard,\n)  # pylint: disable=reimported\nfrom .base import (\n    result_type,\n    ndim,\n    copyto,\n    transpose,\n    where,\n    broadcast_to,\n    broadcast_arrays,\n    expand_dims,\n    rollaxis,\n    swapaxes,\n    moveaxis,\n    ravel,\n    atleast_1d,\n    atleast_2d,\n    atleast_3d,\n    argwhere,\n    array_split,\n    split,\n    hsplit,\n    vsplit,\n    dsplit,\n    roll,\n    squeeze,\n    diff,\n    ediff1d,\n    flip,\n    flipud,\n    fliplr,\n    repeat,\n    tile,\n    isin,\n    searchsorted,\n    unique,\n    sort,\n    argsort,\n    partition,\n    argpartition,\n    topk,\n    argtopk,\n    copy,\n    trapz,\n    shape,\n    insert,\n    delete,\n    in1d,\n    setdiff1d,\n)\nfrom .arithmetic import (\n    add,\n    subtract,\n    multiply,\n    divide,\n    truediv as true_divide,\n    floordiv as floor_divide,\n    mod,\n    power,\n    float_power,\n    fmod,\n    sqrt,\n    around,\n    round_,\n    round_ as round,\n    logaddexp,\n    logaddexp2,\n    negative,\n    positive,\n    absolute,\n    fabs,\n    absolute as abs,\n    rint,\n    sign,\n    degrees,\n    radians,\n    conj,\n    conjugate,\n    exp,\n    exp2,\n    log,\n    log2,\n    log10,\n    expm1,\n    log1p,\n    square,\n    cbrt,\n    reciprocal,\n    equal,\n    not_equal,\n    less,\n    less_equal,\n    greater,\n    greater_equal,\n    sin,\n    cos,\n    tan,\n    arcsin,\n    arccos,\n    arctan,\n    arctan2,\n    hypot,\n    sinh,\n    cosh,\n    tanh,\n    arcsinh,\n    arccosh,\n    arctanh,\n    deg2rad,\n    rad2deg,\n    bitand as bitwise_and,\n    bitor as bitwise_or,\n    bitxor as bitwise_xor,\n    invert,\n    invert as bitwise_not,\n    lshift as left_shift,\n    rshift as right_shift,\n    logical_and,\n    logical_or,\n    logical_xor,\n    logical_not,\n    maximum,\n    minimum,\n    floor,\n    ceil,\n    trunc,\n    remainder,\n    fmax,\n    fmin,\n    isfinite,\n    isinf,\n    isnan,\n    signbit,\n    copysign,\n    nextafter,\n    spacing,\n    clip,\n    isclose,\n    ldexp,\n    frexp,\n    modf,\n    angle,\n    isreal,\n    iscomplex,\n    real,\n    imag,\n    fix,\n    i0,\n    sinc,\n    nan_to_num,\n    tree_add,\n    tree_multiply,\n)\nfrom .statistics import (\n    average,\n    bincount,\n    cov,\n    corrcoef,\n    digitize,\n    ptp,\n    histogram_bin_edges,\n    histogram,\n    median,\n    quantile,\n    percentile,\n)\nfrom .linalg.tensordot import tensordot\nfrom .linalg.dot import dot\nfrom .linalg.inner import inner, innerproduct\nfrom .linalg.vdot import vdot\nfrom .linalg.matmul import matmul\nfrom .reduction import (\n    sum,\n    nansum,\n    prod,\n    prod as product,\n    nanprod,\n    max,\n    max as amax,\n    nanmax,\n    min,\n    min as amin,\n    nanmin,\n    all,\n    any,\n    mean,\n    nanmean,\n    argmax,\n    nanargmax,\n    argmin,\n    nanargmin,\n    cumsum,\n    cumprod,\n    var,\n    std,\n    nanvar,\n    nanstd,\n    nancumsum,\n    nancumprod,\n    count_nonzero,\n    allclose,\n    array_equal,\n)\nfrom .reshape import reshape\nfrom .merge import (\n    concatenate,\n    stack,\n    hstack,\n    vstack,\n    dstack,\n    column_stack,\n    union1d,\n    block,\n    append,\n)\nfrom .indexing import (\n    take,\n    compress,\n    extract,\n    choose,\n    unravel_index,\n    nonzero,\n    flatnonzero,\n    fill_diagonal,\n)\nfrom .rechunk import rechunk\nfrom .einsum import einsum\nfrom .images import imread\n\n# noinspection PyUnresolvedReferences\nfrom .lib.index_tricks import mgrid, ogrid, ndindex, r_, c_\n\nfrom . import random\nfrom . import fft\nfrom . import linalg\nfrom . import lib\nfrom . import special\nfrom . import stats\n\n# types\nfrom .core import Tensor\n\n# noinspection PyUnresolvedReferences\nfrom ..core import ExecutableTuple\n\n# noinspection PyUnresolvedReferences\nfrom numpy import (\n    newaxis,\n    AxisError,\n    inf,\n    Inf,\n    NINF,\n    nan,\n    NAN,\n    NaN,\n    pi,\n    e,\n    errstate,\n    geterr,\n    seterr,\n)\n\n# import numpy types\n# noinspection PyUnresolvedReferences\nfrom numpy import (\n    dtype,\n    number,\n    inexact,\n    floating,\n    complexfloating,\n    integer,\n    signedinteger,\n    unsignedinteger,\n    character,\n    generic,\n    flexible,\n    int_ as int,\n    bool_ as bool,\n    float_ as float,\n    cfloat,\n    bytes_,\n    unicode_,\n    void,\n    object_ as object,\n    intc,\n    intp,\n    int8,\n    int16,\n    int32,\n    int64,\n    uint8,\n    uint16,\n    uint32,\n    uint64,\n    uint,\n    float16,\n    float32,\n    float64,\n    double,\n    complex64,\n    complex128,\n    datetime64,\n    timedelta64,\n)\n\n# noinspection PyUnresolvedReferences\nfrom numpy import finfo\n\n# register fuse op and fetch op\nfrom .fuse import TensorFuseChunk, TensorCpFuseChunk, TensorNeFuseChunk\nfrom .fetch import TensorFetch, TensorFetchShuffle\nfrom . import ufunc\n\ndel (\n    TensorFuseChunk,\n    TensorCpFuseChunk,\n    TensorNeFuseChunk,\n    TensorFetch,\n    TensorFetchShuffle,\n    ufunc,\n)\n", "path": "mars/tensor/__init__.py"}]}