Skip to content

Commit 974287b

Browse files
committed
update example
1 parent c2d8c9d commit 974287b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/dpnp_iface_window.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,19 @@ def blackman(M, device=None, usm_type=None, sycl_queue=None):
149149
Creating the output array on a different device or with a
150150
specified usm_type:
151151
152-
>>> x = np.blackman(4) # default case
152+
>>> x = np.blackman(3) # default case
153153
>>> x, x.device, x.usm_type
154154
(array([-1.38777878e-17, 1.00000000e+00, -1.38777878e-17]),
155155
Device(level_zero:gpu:0),
156156
'device')
157157
158-
>>> y = np.blackman(4, device="cpu")
158+
>>> y = np.blackman(3, device="cpu")
159159
>>> y, y.device, y.usm_type
160160
(array([-1.38777878e-17, 1.00000000e+00, -1.38777878e-17]),
161161
Device(opencl:cpu:0),
162162
'device')
163163
164-
>>> z = np.blackman(4, usm_type="host")
164+
>>> z = np.blackman(3, usm_type="host")
165165
>>> z, z.device, z.usm_type
166166
(array([-1.38777878e-17, 1.00000000e+00, -1.38777878e-17]),
167167
Device(level_zero:gpu:0),

0 commit comments

Comments
 (0)