Skip to content

Commit eb94dd4

Browse files
Exported dpctl.tensor.from_dlpack
1 parent a08bf0d commit eb94dd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpctl/tensor/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from dpctl.tensor._copy_utils import copy_from_numpy as from_numpy
3434
from dpctl.tensor._copy_utils import copy_to_numpy as asnumpy
3535
from dpctl.tensor._copy_utils import copy_to_numpy as to_numpy
36+
from dpctl.tensor._dlpack import from_dlpack
3637
from dpctl.tensor._reshape import reshape
3738
from dpctl.tensor._usmarray import usm_ndarray
3839

@@ -44,4 +45,5 @@
4445
"from_numpy",
4546
"to_numpy",
4647
"asnumpy",
48+
"from_dlpack",
4749
]

0 commit comments

Comments
 (0)