Skip to content

Commit 03ed196

Browse files
committed
MAINT: merge _funcs.py and _wrapper.py
1 parent ab4f655 commit 03ed196

File tree

4 files changed

+1025
-1079
lines changed

4 files changed

+1025
-1079
lines changed

torch_np/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ._getlimits import errstate, finfo, iinfo
88
from ._ndarray import array, asarray, can_cast, ndarray, newaxis, result_type
99
from ._unary_ufuncs import *
10-
from ._wrapper import *
1110

1211
# from . import testing
1312

torch_np/_detail/_util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ def typecast_tensors(tensors, target_dtype, casting):
170170
return tuple(cast_tensors)
171171

172172

173-
174-
175173
def _coerce_to_tensor(obj, dtype=None, copy=False, ndmin=0):
176174
"""The core logic of the array(...) function.
177175

0 commit comments

Comments
 (0)