◐ Shell
reader mode source ↗
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
2 changes: 1 addition & 1 deletion arrayfire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
from .library import get_size_of # noqa : E401
from .library import safe_call # noqa : E401
from .library import set_backend # noqa : E401
# =============================================================================
# Machine Learning (ML) module
# =============================================================================
Expand Down Expand Up @@ -445,7 +446,6 @@
from .util import number_dtype # noqa : E401
from .util import to_c_type # noqa : E401
from .util import to_dtype # noqa : E401
from .util import to_str # noqa : E401
from .util import to_typecode # noqa : E401

try:
Expand Down
5 changes: 2 additions & 3 deletions arrayfire/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"""

from .array import Array
from .library import backend, safe_call, c_bool_t, c_char_t, c_dim_t, c_int_t, c_pointer, c_size_t, c_void_ptr_t
from .util import to_str


def init():
Expand Down Expand Up @@ -506,4 +506,3 @@ def free_pinned(ptr):
"""
cptr = c_void_ptr_t(ptr)
safe_call(backend.get().af_free_pinned(cptr))

Loading
Toggle all file notes Toggle all file annotations