8000 Follow our own guidelines of 'everything thats works at a PyTorch lev… · pytorch/pytorch@bc9add5 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc9add5

Browse files
committed
Follow our own guidelines of 'everything thats works at a PyTorch level ends in _impl'
1 parent c4dc727 commit bc9add5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

torch/_numpy/_funcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import inspect
22
import itertools
33

4-
from . import _funcs_impl, _reductions
4+
from . import _funcs_impl, _reductions_impl
55
from ._normalizations import normalizer
66

77
# _funcs_impl.py contains functions which mimic NumPy's eponymous equivalents,
@@ -27,7 +27,7 @@ def is_public_function(f):
2727

2828
# decorate implementer functions with argument normalizers and export to the top namespace
2929
for name, func in itertools.chain(
30-
_public_functions(_funcs_impl), _public_functions(_reductions)
30+
_public_functions(_funcs_impl), _public_functions(_reductions_impl)
3131
):
3232
if name in ["percentile", "quantile", "median"]:
3333
decorated = normalizer(func, promote_scalar_result=True)

0 commit comments

Comments
 (0)
0