Skip to content

Commit 000d168

Browse files
authored
Feature/array object refactoring (#2)
* Array object refactoring * Structure refactoring * Index.py and broadcast.py refactoring * Fix imports and typings * Add comments for placed hacks
1 parent 898ced7 commit 000d168

28 files changed

+2274
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- master
1010

1111
env:
12-
DEFAULT_PYTHON_VERSION: "3.10"
12+
DEFAULT_PYTHON_VERSION: "3.8"
1313

1414
jobs:
1515
build:

arrayfire/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
__all__ = [
2+
# array objects
3+
"Array",
4+
# dtypes
5+
"int16", "int32", "int64", "uint8", "uint16", "uint32", "uint64", "float32", "float64",
6+
"complex64", "complex128", "bool"]
7+
8+
from .array.array_object import Array
9+
from .dtypes import bool, complex64, complex128, float32, float64, int16, int32, int64, uint8, uint16, uint32, uint64

arrayfire/array/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__all__ = ["Array"]
2+
3+
from .array_object import Array

0 commit comments

Comments
 (0)