14
14
</ script >
15
15
16
16
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
17
- < title > dpnp.dpnp_iface_arraycreation — Data Parallel Extension for NumPy 0.19.0dev1+20.g1ba925d8e1b documentation</ title >
17
+ < title > dpnp.dpnp_iface_arraycreation — Data Parallel Extension for NumPy 0.19.0dev3+22.g4399a2b0b9f documentation</ title >
18
18
< link rel ="stylesheet " type ="text/css " href ="../../_static/pygments.css?v=03e43079 " />
19
19
< link rel ="stylesheet " type ="text/css " href ="../../_static/css/theme.css?v=e59714d7 " />
20
20
21
21
22
22
< script src ="../../_static/jquery.js?v=5d32c60e "> </ script >
23
23
< script src ="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c "> </ script >
24
- < script src ="../../_static/documentation_options.js?v=469cb8e0 "> </ script >
24
+ < script src ="../../_static/documentation_options.js?v=a1ee1846 "> </ script >
25
25
< script src ="../../_static/doctools.js?v=9bcbadda "> </ script >
26
26
< script src ="../../_static/sphinx_highlight.js?v=dc90522c "> </ script >
27
27
< script src ="../../_static/js/theme.js "> </ script >
@@ -2321,8 +2321,9 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
2321
2321
< span class ="sd "> Parameters</ span >
2322
2322
< span class ="sd "> ----------</ span >
2323
2323
< span class ="sd "> x : object</ span >
2324
- < span class ="sd "> A Python object representing an array that implements the ``__dlpack__``</ span >
2325
- < span class ="sd "> and ``__dlpack_device__`` methods.</ span >
2324
+ < span class ="sd "> A Python object representing an array that implements the</ span >
2325
+ < span class ="sd "> :meth:`dpnp.ndarray.__dlpack__` and</ span >
2326
+ < span class ="sd "> :meth:`dpnp.ndarray.__dlpack_device__`.</ span >
2326
2327
< span class ="sd "> device : {None, string, tuple, device}, optional</ span >
2327
2328
< span class ="sd "> Device where the output array is to be placed. `device` keyword values</ span >
2328
2329
< span class ="sd "> can be:</ span >
@@ -2338,10 +2339,10 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
2338
2339
< span class ="sd "> ``device.sycl_queue``. The `device` object is obtained via</ span >
2339
2340
< span class ="sd "> :attr:`dpctl.tensor.usm_ndarray.device`.</ span >
2340
2341
< span class ="sd "> * ``(device_type, device_id)`` : 2-tuple matching the format of the</ span >
2341
- < span class ="sd "> output of the `` __dlpack_device__`` method : an integer enumerator </ span >
2342
- < span class ="sd "> representing the device type followed by an integer representing </ span >
2343
- < span class ="sd "> the index of the device. The only supported :class:`dpnp.DLDeviceType` </ span >
2344
- < span class ="sd "> device types are ``"kDLCPU"`` and ``"kDLOneAPI"``.</ span >
2342
+ < span class ="sd "> output of the :meth:`dpnp.ndarray. __dlpack_device__`: an integer</ span >
2343
+ < span class ="sd "> enumerator representing the device type followed by an integer</ span >
2344
+ < span class ="sd "> representing the index of the device. The only supported</ span >
2345
+ < span class ="sd "> :class:`dpnp.DLDeviceType` is ``"kDLCPU"`` or ``"kDLOneAPI"``.</ span >
2345
2346
2346
2347
< span class ="sd "> Default: ``None``.</ span >
2347
2348
< span class ="sd "> copy : {bool, None}, optional</ span >
0 commit comments