Skip to content

Commit 04fbb1b

Browse files
committed
Change file names
1 parent 1d071be commit 04fbb1b

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

arrayfire/array_api/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"int16", "int32", "int64", "uint8", "uint16", "uint32", "uint64", "float32", "float64",
66
"complex64", "complex128", "bool"]
77

8-
from ._array_object import Array
9-
from ._dtypes import bool, complex64, complex128, float32, float64, int16, int32, int64, uint8, uint16, uint32, uint64
8+
from .array_object import Array
9+
from .dtypes import bool, complex64, complex128, float32, float64, int16, int32, int64, uint8, uint16, uint32, uint64

arrayfire/array_api/_array_object.py renamed to arrayfire/array_api/array_object.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
from arrayfire.algorithm import count # TODO refactor
1111
from arrayfire.array import _get_indices, _in_display_dims_limit # TODO refactor
1212

13-
from ._dtypes import CShape, Dtype
14-
from ._dtypes import bool as af_bool
15-
from ._dtypes import c_dim_t
16-
from ._dtypes import complex64 as af_complex64
17-
from ._dtypes import complex128 as af_complex128
18-
from ._dtypes import float32 as af_float32
19-
from ._dtypes import float64 as af_float64
20-
from ._dtypes import int64 as af_int64
21-
from ._dtypes import supported_dtypes
22-
from ._dtypes import uint64 as af_uint64
23-
from ._utils import PointerSource, to_str
13+
from .dtypes import CShape, Dtype
14+
from .dtypes import bool as af_bool
15+
from .dtypes import c_dim_t
16+
from .dtypes import complex64 as af_complex64
17+
from .dtypes import complex128 as af_complex128
18+
from .dtypes import float32 as af_float32
19+
from .dtypes import float64 as af_float64
20+
from .dtypes import int64 as af_int64
21+
from .dtypes import supported_dtypes
22+
from .dtypes import uint64 as af_uint64
23+
from .utils import PointerSource, to_str
2424

2525
ShapeType = tuple[int, ...]
2626
_bcast_var = False # HACK, TODO replace for actual bcast_var after refactoring
File renamed without changes.

arrayfire/array_api/tests/test_array_object.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import pytest
55

6-
from arrayfire.array_api import Array, float32, int16
7-
from arrayfire.array_api._dtypes import supported_dtypes
6+
from arrayfire.array_api.array_object import Array
7+
from arrayfire.array_api.dtypes import float32, int16, supported_dtypes
88

99
# TODO change separated methods with setup and teardown to avoid code duplication
1010
# TODO add tests for array arguments: device, offset, strides
File renamed without changes.

0 commit comments

Comments
 (0)