1414 </ script >
1515
1616 < 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 >
1818 < link rel ="stylesheet " type ="text/css " href ="../../_static/pygments.css?v=03e43079 " />
1919 < link rel ="stylesheet " type ="text/css " href ="../../_static/css/theme.css?v=e59714d7 " />
2020
2121
2222 < script src ="../../_static/jquery.js?v=5d32c60e "> </ script >
2323 < 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 >
2525 < script src ="../../_static/doctools.js?v=9bcbadda "> </ script >
2626 < script src ="../../_static/sphinx_highlight.js?v=dc90522c "> </ script >
2727 < script src ="../../_static/js/theme.js "> </ script >
@@ -2321,8 +2321,9 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
23212321< span class ="sd "> Parameters</ span >
23222322< span class ="sd "> ----------</ span >
23232323< 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 >
23262327< span class ="sd "> device : {None, string, tuple, device}, optional</ span >
23272328< span class ="sd "> Device where the output array is to be placed. `device` keyword values</ span >
23282329< span class ="sd "> can be:</ span >
@@ -2338,10 +2339,10 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr
23382339< span class ="sd "> ``device.sycl_queue``. The `device` object is obtained via</ span >
23392340< span class ="sd "> :attr:`dpctl.tensor.usm_ndarray.device`.</ span >
23402341< 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 >
23452346
23462347< span class ="sd "> Default: ``None``.</ span >
23472348< span class ="sd "> copy : {bool, None}, optional</ span >
0 commit comments