Skip to content

Split implementations and normalizations #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions torch_np/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from . import linalg, random
from ._binary_ufuncs import *
from ._detail._util import AxisError, UFuncTypeError
from ._dtypes import *
from ._funcs import *
from ._getlimits import errstate, finfo, iinfo
from ._ndarray import array, asarray, can_cast, ndarray, newaxis, result_type
from ._unary_ufuncs import *
from ._ufuncs import *

# from . import testing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Export torch work functions for binary ufuncs, rename/tweak to match numpy.
This listing is further exported to public symbols in the `torch_np/_binary_ufuncs.py` module.
This listing is further exported to public symbols in the `torch_np/_ufuncs.py` module.
"""

import torch
Expand Down Expand Up @@ -42,7 +42,7 @@
from torch import remainder as mod
from torch import subtract, true_divide

from . import _dtypes_impl, _util
from ._detail import _dtypes_impl, _util


# work around torch limitations w.r.t. numpy
Expand Down
Loading