Skip to content

Commit 4dba507

Browse files
committed
.
1 parent 3dfb872 commit 4dba507

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

autogen/numpy_api_dump.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -875,10 +875,6 @@ def tensordot(a, b, axes=2):
875875
raise NotImplementedError
876876

877877

878-
def tile(A, reps):
879-
raise NotImplementedError
880-
881-
882878
def trace(a, offset=0, axis1=0, axis2=1, dtype=None, out=None):
883879
raise NotImplementedError
884880

torch_np/_detail/implementations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def split_helper_list(tensor, indices_or_sections, axis, strict=False):
6161
lst = [x for x in indices_or_sections if x <= tensor.shape[axis]]
6262
num_extra = len(indices_or_sections) - len(lst)
6363

64-
lst = lst + [tensor.shape[axis]]
64+
lst.append(tensor.shape[axis])
6565
lst = [
6666
lst[0],
6767
] + [a - b for a, b in zip(lst[1:], lst[:-1])]

0 commit comments

Comments
 (0)