Skip to content

Commit 8b00356

Browse files
zdevitosoumith
authored andcommitted
remove inaccessible median variant (pytorch#2015)
With the addition of medianall() this variant can no longer be accessed, because both it and medianall take no arguments.
1 parent 53ac2d4 commit 8b00356

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

torch/csrc/generic/methods/TensorCompare.cwrap

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -645,17 +645,6 @@
645645
- THTensor* self
646646
- CONSTANT __last_dim
647647
- bool keepdim
648-
- before_call: |
649-
long __last_dim = THTensor_(nDimension)(LIBRARY_STATE ((THPTensor*)$arg2)->cdata)-1;
650-
maybeThrowBackCompatKeepdimWarn("median");
651-
arguments:
652-
- arg: THTensor* values
653-
output: True
654-
- arg: THIndexTensor* indices
655-
output: True
656-
- THTensor* self
657-
- CONSTANT __last_dim
658-
- CONSTANT false
659648
- before_call: maybeThrowBackCompatKeepdimWarn("median");
660649
arguments:
661650
- arg: THTensor* values

0 commit comments

Comments
 (0)