@@ -142,7 +142,7 @@ def asnumpy(a, order="C"):
142142
143143def as_usm_ndarray (a , dtype = None , device = None , usm_type = None , sycl_queue = None ):
144144 """
145- Return :class:`dpctl .tensor.usm_ndarray` from input object `a`.
145+ Return :class:`dpnp .tensor.usm_ndarray` from input object `a`.
146146
147147 Parameters
148148 ----------
@@ -159,7 +159,7 @@ def as_usm_ndarray(a, dtype=None, device=None, usm_type=None, sycl_queue=None):
159159 `device` can be ``None``, a oneAPI filter selector string, an instance
160160 of :class:`dpctl.SyclDevice` corresponding to a non-partitioned SYCL
161161 device, an instance of :class:`dpctl.SyclQueue`, or a
162- :class:`dpctl .tensor.Device` object returned by
162+ :class:`dpnp .tensor.Device` object returned by
163163 :attr:`dpnp.ndarray.device`.
164164 If the value is ``None``, returned array is created on the same device
165165 as `a`.
@@ -180,7 +180,7 @@ def as_usm_ndarray(a, dtype=None, device=None, usm_type=None, sycl_queue=None):
180180 out : usm_ndarray
181181 A dpctl USM ndarray from input array or scalar `a`.
182182 If `a` is instance of :class:`dpnp.ndarray`
183- or :class:`dpctl .tensor.usm_ndarray`, no array allocation will be done
183+ or :class:`dpnp .tensor.usm_ndarray`, no array allocation will be done
184184 and `dtype`, `device`, `usm_type`, `sycl_queue` keywords
185185 will be ignored.
186186
@@ -256,7 +256,7 @@ def check_limitations(
256256def check_supported_arrays_type (* arrays , scalar_type = False , all_scalars = False ):
257257 """
258258 Return ``True`` if each array has either type of scalar,
259- :class:`dpnp.ndarray` or :class:`dpctl .tensor.usm_ndarray`.
259+ :class:`dpnp.ndarray` or :class:`dpnp .tensor.usm_ndarray`.
260260 But if any array has unsupported type, ``TypeError`` will be raised.
261261
262262 Parameters
@@ -318,7 +318,7 @@ def default_float_type(device=None, sycl_queue=None):
318318 `device` can be ``None``, a oneAPI filter selector string, an instance
319319 of :class:`dpctl.SyclDevice` corresponding to a non-partitioned SYCL
320320 device, an instance of :class:`dpctl.SyclQueue`, or a
321- :class:`dpctl .tensor.Device` object returned by
321+ :class:`dpnp .tensor.Device` object returned by
322322 :attr:`dpnp.ndarray.device`.
323323 The value ``None`` is interpreted as to use a default device.
324324
@@ -434,7 +434,7 @@ def get_include():
434434def get_normalized_queue_device (obj = None , device = None , sycl_queue = None ):
435435 """
436436 Utility to process complementary keyword arguments 'device' and 'sycl_queue'
437- in subsequent calls of functions from `dpctl .tensor` module.
437+ in subsequent calls of functions from `dpnp .tensor` module.
438438
439439 If both arguments 'device' and 'sycl_queue' have default value ``None``
440440 and 'obj' has `sycl_queue` attribute, it assumes that Compute Follows Data
@@ -445,7 +445,7 @@ def get_normalized_queue_device(obj=None, device=None, sycl_queue=None):
445445 ----------
446446 obj : object, optional
447447 A python object. Can be an instance of `dpnp_array`,
448- `dpctl .tensor.usm_ndarray`, an object representing SYCL USM allocation
448+ `dpnp .tensor.usm_ndarray`, an object representing SYCL USM allocation
449449 and implementing `__sycl_usm_array_interface__` protocol, an instance
450450 of `numpy.ndarray`, an object supporting Python buffer protocol,
451451 a Python scalar, or a (possibly nested) sequence of Python scalars.
@@ -462,7 +462,7 @@ def get_normalized_queue_device(obj=None, device=None, sycl_queue=None):
462462 `device` can be ``None``, a oneAPI filter selector string, an instance
463463 of :class:`dpctl.SyclDevice` corresponding to a non-partitioned SYCL
464464 device, an instance of :class:`dpctl.SyclQueue`, or a
465- :class:`dpctl .tensor.Device` object returned by
465+ :class:`dpnp .tensor.Device` object returned by
466466 :attr:`dpnp.ndarray.device`.
467467 The value ``None`` is interpreted as to use the same device as `obj`.
468468
@@ -472,7 +472,7 @@ def get_normalized_queue_device(obj=None, device=None, sycl_queue=None):
472472 -------
473473 sycl_queue: dpctl.SyclQueue
474474 A :class:`dpctl.SyclQueue` object normalized by
475- `normalize_queue_device` call of `dpctl .tensor` module invoked with
475+ `normalize_queue_device` call of `dpnp .tensor` module invoked with
476476 `device` and `sycl_queue` values. If both incoming `device` and
477477 `sycl_queue` are ``None`` and `obj` has `sycl_queue` attribute,
478478 the normalization will be performed for `obj.sycl_queue` value.
@@ -540,13 +540,13 @@ def get_result_array(a, out=None, casting="safe"):
540540
541541def get_usm_ndarray (a ):
542542 """
543- Return :class:`dpctl .tensor.usm_ndarray` from input array `a`.
543+ Return :class:`dpnp .tensor.usm_ndarray` from input array `a`.
544544
545545 Parameters
546546 ----------
547547 a : {dpnp.ndarray, usm_ndarray}
548548 Input array of supported type :class:`dpnp.ndarray`
549- or :class:`dpctl .tensor.usm_ndarray`.
549+ or :class:`dpnp .tensor.usm_ndarray`.
550550
551551 Returns
552552 -------
@@ -571,13 +571,13 @@ def get_usm_ndarray(a):
571571
572572def get_usm_ndarray_or_scalar (a ):
573573 """
574- Return scalar or :class:`dpctl .tensor.usm_ndarray` from input object `a`.
574+ Return scalar or :class:`dpnp .tensor.usm_ndarray` from input object `a`.
575575
576576 Parameters
577577 ----------
578578 a : {scalar, dpnp_array, usm_ndarray}
579579 Input of any supported type: scalar, :class:`dpnp.ndarray`
580- or :class:`dpctl .tensor.usm_ndarray`.
580+ or :class:`dpnp .tensor.usm_ndarray`.
581581
582582 Returns
583583 -------
@@ -634,7 +634,7 @@ def is_cuda_backend(obj=None):
634634def is_supported_array_or_scalar (a ):
635635 """
636636 Return ``True`` if `a` is a scalar or an array of either
637- :class:`dpnp.ndarray` or :class:`dpctl .tensor.usm_ndarray` type,
637+ :class:`dpnp.ndarray` or :class:`dpnp .tensor.usm_ndarray` type,
638638 ``False`` otherwise.
639639
640640 Parameters
@@ -656,7 +656,7 @@ def is_supported_array_or_scalar(a):
656656def is_supported_array_type (a ):
657657 """
658658 Return ``True`` if an array of either type :class:`dpnp.ndarray`
659- or :class:`dpctl .tensor.usm_ndarray` type, ``False`` otherwise.
659+ or :class:`dpnp .tensor.usm_ndarray` type, ``False`` otherwise.
660660
661661 Parameters
662662 ----------
0 commit comments