Skip to content

Commit 1e4902d

Browse files
Add from_dlpack to API dpctl_ext.tensor
1 parent f4da0de commit 1e4902d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dpctl_ext/tensor/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
dldevice_to_sycl_device,
7878
sycl_device_to_dldevice,
7979
)
80+
from ._dlpack import from_dlpack
8081
from ._elementwise_funcs import (
8182
abs,
8283
acos,
@@ -306,6 +307,7 @@
306307
"flip",
307308
"floor",
308309
"floor_divide",
310+
"from_dlpack",
309311
"from_numpy",
310312
"full",
311313
"full_like",

0 commit comments

Comments
 (0)