Skip to content

Commit fcc66b0

Browse files
committed
Removed dpnp_container.linspace since unused
1 parent 12c7a39 commit fcc66b0

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

dpnp/dpnp_container.py

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"empty",
4848
"eye",
4949
"full",
50-
"linspace",
5150
"ones",
5251
"tril",
5352
"triu",
@@ -245,38 +244,6 @@ def full(
245244
return dpnp_array(array_obj.shape, buffer=array_obj, order=order)
246245

247246

248-
def linspace(
249-
start,
250-
stop,
251-
/,
252-
num,
253-
*,
254-
dtype=None,
255-
device=None,
256-
usm_type="device",
257-
sycl_queue=None,
258-
endpoint=True,
259-
):
260-
"""Validate input parameters before passing them into `dpctl.tensor` module"""
261-
dpu.validate_usm_type(usm_type, allow_none=False)
262-
sycl_queue_normalized = dpnp.get_normalized_queue_device(
263-
sycl_queue=sycl_queue, device=device
264-
)
265-
266-
"""Creates `dpnp_array` with evenly spaced numbers of specified interval."""
267-
array_obj = dpt.linspace(
268-
start,
269-
stop,
270-
num,
271-
dtype=dtype,
272-
usm_type=usm_type,
273-
sycl_queue=sycl_queue_normalized,
274-
endpoint=endpoint,
275-
)
276-
dpnp.synchronize_array_data(array_obj)
277-
return dpnp_array(array_obj.shape, buffer=array_obj)
278-
279-
280247
def ones(
281248
shape,
282249
*,

0 commit comments

Comments
 (0)