Skip to content

Commit 1eac9d3

Browse files
committed
TST: add numpy/lib/tests/test_type_check.py
NumPy commit 2aa0bf6973b709724624db8e8a51d8efbdeb5d22 (Feb 2023)
1 parent c063e33 commit 1eac9d3

File tree

2 files changed

+513
-0
lines changed

2 files changed

+513
-0
lines changed

torch_np/_wrapper.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,22 @@ def array_equiv(a1, a2):
11901190
return _impl.tensor_equal(a1_t, a2_t)
11911191

11921192

1193+
def common_type():
1194+
raise NotImplementedError
1195+
1196+
1197+
def mintypecode():
1198+
raise NotImplementedError
1199+
1200+
1201+
def nan_to_num():
1202+
raise NotImplementedError
1203+
1204+
1205+
def asfarray():
1206+
raise NotImplementedError
1207+
1208+
11931209
###### mapping from numpy API objects to wrappers from this module ######
11941210

11951211
# All is in the mapping dict in _mapping.py

0 commit comments

Comments
 (0)