diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b757cb58e..3b841700bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ A number of adjustments were also made to improve performance of `dpctl` reducti * Fixed a bug in `test_sycl_device_interface.cpp` which would cause compilation to fail with Clang version 20.0 [gh-1989](https://github.com/IntelPython/dpctl/pull/1989) * Fixed memory leaks in smart-pointer-managed USM temporaries in synchronizing kernel calls [gh-2002](https://github.com/IntelPython/dpctl/pull/2002) * `UsmNDArray_MakeSimpleFromPtr` and `UsmNDArray_MakeFromPtr` now raise an error when provided an invalid `typenum` before attempting to create the array [gh-2003](https://github.com/IntelPython/dpctl/pull/2003) +* Fixed typos in `tensor.from_numpy` and `tensor.astype` [gh-2006](https://github.com/IntelPython/dpctl/pull/2006) ### Maintenance diff --git a/dpctl/tensor/_copy_utils.py b/dpctl/tensor/_copy_utils.py index 9cf25d0dd8..a3e925bc1c 100644 --- a/dpctl/tensor/_copy_utils.py +++ b/dpctl/tensor/_copy_utils.py @@ -126,7 +126,7 @@ def from_numpy(np_ary, /, *, device=None, usm_type="device", sycl_queue=None): arg: Input convertible to :class:`numpy.ndarray` device (object): array API specification of device where the - output array is created. Device can be specified by a + output array is created. Device can be specified by a filter selector string, an instance of :class:`dpctl.SyclDevice`, an instance of :class:`dpctl.SyclQueue`, or an instance of @@ -620,7 +620,7 @@ def astype( If this keyword is set to `False`, a view of the input array may be returned when possible. device (object): array API specification of device where the - output array is created. Device can be specified by a + output array is created. Device can be specified by a filter selector string, an instance of :class:`dpctl.SyclDevice`, an instance of :class:`dpctl.SyclQueue`, or an instance of