Skip to content

Commit 4aa60de

Browse files
authored
Merge pull request #105 from Quansight-Labs/hegel_spiral_split_impl
Split implementations and normalizations
2 parents 3ec9dda + 215498c commit 4aa60de

14 files changed

+2144
-2142
lines changed

torch_np/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
from . import linalg, random
2-
from ._binary_ufuncs import *
32
from ._detail._util import AxisError, UFuncTypeError
43
from ._dtypes import *
54
from ._funcs import *
65
from ._getlimits import errstate, finfo, iinfo
76
from ._ndarray import array, asarray, can_cast, ndarray, newaxis, result_type
8-
from ._unary_ufuncs import *
7+
from ._ufuncs import *
98

109
# from . import testing
1110

torch_np/_detail/_binary_ufuncs.py renamed to torch_np/_binary_ufuncs_impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Export torch work functions for binary ufuncs, rename/tweak to match numpy.
2-
This listing is further exported to public symbols in the `torch_np/_binary_ufuncs.py` module.
2+
This listing is further exported to public symbols in the `torch_np/_ufuncs.py` module.
33
"""
44

55
import torch
@@ -42,7 +42,7 @@
4242
from torch import remainder as mod
4343
from torch import subtract, true_divide
4444

45-
from . import _dtypes_impl, _util
45+
from ._detail import _dtypes_impl, _util
4646

4747

4848
# work around torch limitations w.r.t. numpy

0 commit comments

Comments
 (0)