File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 3838# when dpnp fully migrates dpctl/tensor
3939import dpctl_ext .tensor as dpt
4040import dpctl_ext .tensor ._tensor_impl as ti
41- from dpctl_ext .tensor ._data_types import _get_dtype
42- from dpctl_ext .tensor ._device import normalize_queue_device
43- from dpctl_ext .tensor ._usmarray import _is_object_with_buffer_protocol
4441
4542from ._copy_utils import (
4643 _empty_like_orderK ,
4744 _from_numpy_empty_like_orderK ,
4845)
46+ from ._data_types import _get_dtype
47+ from ._device import normalize_queue_device
48+ from ._usmarray import _is_object_with_buffer_protocol
4949
5050__doc__ = "Implementation of creation functions in :module:`dpctl.tensor`"
5151
Original file line number Diff line number Diff line change 3434# TODO: revert to `import dpctl.tensor...`
3535# when dpnp fully migrates dpctl/tensor
3636import dpctl_ext .tensor as dpt
37- from dpctl_ext .tensor ._usmarray import (
38- _is_object_with_buffer_protocol as _is_buffer ,
39- )
4037
4138from ._type_utils import (
4239 WeakBooleanType ,
4542 WeakIntegralType ,
4643 _to_device_supported_dtype ,
4744)
45+ from ._usmarray import _is_object_with_buffer_protocol as _is_buffer
4846
4947
5048def _get_queue_usm_type (o ):
Original file line number Diff line number Diff line change 3333# TODO: revert to `import dpctl.tensor...`
3434# when dpnp fully migrates dpctl/tensor
3535import dpctl_ext .tensor as dpt
36- from dpctl_ext .tensor ._tensor_elementwise_impl import _not_equal , _subtract
3736
3837from ._copy_utils import _empty_like_orderK
3938from ._scalar_utils import (
4241 _get_shape ,
4342 _validate_dtype ,
4443)
44+ from ._tensor_elementwise_impl import _not_equal , _subtract
4545from ._tensor_impl import (
4646 _copy_usm_ndarray_into_usm_ndarray ,
4747 _extract ,
You can’t perform that action at this time.
0 commit comments