torch-rb 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -4
- data/codegen/native_functions.yaml +74 -554
- data/ext/torch/extconf.rb +1 -1
- data/ext/torch/utils.h +1 -1
- data/lib/torch/version.rb +1 -1
- metadata +2 -2
|
@@ -144,24 +144,6 @@
|
|
|
144
144
|
dispatch:
|
|
145
145
|
CompositeExplicitAutograd: _has_same_storage_numel
|
|
146
146
|
|
|
147
|
-
- func: rename_(Tensor(a!) self, Dimname[]? names) -> Tensor(a!)
|
|
148
|
-
variants: method
|
|
149
|
-
tags: inplace_view
|
|
150
|
-
|
|
151
|
-
- func: rename(Tensor(a) self, Dimname[]? names) -> Tensor(a)
|
|
152
|
-
variants: method
|
|
153
|
-
|
|
154
|
-
- func: align_to(Tensor(a) self, Dimname[] names) -> Tensor(a)
|
|
155
|
-
variants: method
|
|
156
|
-
|
|
157
|
-
- func: align_to.ellipsis_idx(Tensor(a) self, Dimname[] order, int ellipsis_idx) -> Tensor(a)
|
|
158
|
-
variants: method
|
|
159
|
-
|
|
160
|
-
- func: align_as(Tensor self, Tensor other) -> Tensor
|
|
161
|
-
variants: method
|
|
162
|
-
|
|
163
|
-
- func: align_tensors(Tensor[] tensors) -> Tensor[]
|
|
164
|
-
|
|
165
147
|
# Not assert because it's a keyword; not Assert because FX already
|
|
166
148
|
# took that syntax
|
|
167
149
|
# TODO: need to specify this is side-effectful somehow
|
|
@@ -169,11 +151,13 @@
|
|
|
169
151
|
dispatch:
|
|
170
152
|
CPU: _assert_async_cpu
|
|
171
153
|
CUDA: _assert_async_cuda
|
|
154
|
+
MPS: _assert_async_mps
|
|
172
155
|
|
|
173
156
|
- func: _assert_async.msg(Tensor self, str assert_msg) -> ()
|
|
174
157
|
dispatch:
|
|
175
158
|
CPU: _assert_async_msg_cpu
|
|
176
159
|
CUDA: _assert_async_msg_cuda
|
|
160
|
+
MPS: _assert_async_msg_mps
|
|
177
161
|
|
|
178
162
|
- func: _assert_scalar(Scalar self, str assert_msg) -> ()
|
|
179
163
|
dispatch:
|
|
@@ -216,9 +200,6 @@
|
|
|
216
200
|
dispatch:
|
|
217
201
|
CPU: _make_dep_token_cpu
|
|
218
202
|
|
|
219
|
-
- func: refine_names(Tensor(a) self, Dimname[] names) -> Tensor(a)
|
|
220
|
-
variants: method
|
|
221
|
-
|
|
222
203
|
- func: _use_cudnn_ctc_loss(Tensor log_probs, Tensor targets, int[] input_lengths, int[] target_lengths, int blank) -> bool
|
|
223
204
|
device_check: NoCheck # Tensor arguments allowed to be on different devices, see also _cudnn_ctc_loss
|
|
224
205
|
dispatch:
|
|
@@ -709,7 +690,6 @@
|
|
|
709
690
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: NestedTensor_all
|
|
710
691
|
tags: reduction
|
|
711
692
|
|
|
712
|
-
|
|
713
693
|
- func: all.dims(Tensor self, int[]? dim=None, bool keepdim=False) -> Tensor
|
|
714
694
|
device_check: NoCheck # TensorIterator
|
|
715
695
|
structured_delegate: all.dims_out
|
|
@@ -723,8 +703,7 @@
|
|
|
723
703
|
device_check: NoCheck # TensorIterator
|
|
724
704
|
structured: True
|
|
725
705
|
dispatch:
|
|
726
|
-
CPU, CUDA: all_out
|
|
727
|
-
MPS: all_out_mps
|
|
706
|
+
CPU, CUDA, MPS: all_out
|
|
728
707
|
MTIA: all_out_mtia
|
|
729
708
|
tags: reduction
|
|
730
709
|
|
|
@@ -737,15 +716,6 @@
|
|
|
737
716
|
cpp_no_default_args: ['dim']
|
|
738
717
|
tags: reduction
|
|
739
718
|
|
|
740
|
-
- func: all.dimname(Tensor self, Dimname dim, bool keepdim=False) -> Tensor
|
|
741
|
-
device_check: NoCheck # TensorIterator
|
|
742
|
-
variants: function, method
|
|
743
|
-
tags: reduction
|
|
744
|
-
|
|
745
|
-
- func: all.dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
746
|
-
device_check: NoCheck # TensorIterator
|
|
747
|
-
tags: reduction
|
|
748
|
-
|
|
749
719
|
- func: allclose(Tensor self, Tensor other, float rtol=1e-05, float atol=1e-08, bool equal_nan=False) -> bool
|
|
750
720
|
variants: function, method
|
|
751
721
|
tags: data_dependent_output
|
|
@@ -771,8 +741,7 @@
|
|
|
771
741
|
device_check: NoCheck # TensorIterator
|
|
772
742
|
structured: True
|
|
773
743
|
dispatch:
|
|
774
|
-
CPU, CUDA: any_out
|
|
775
|
-
MPS: any_out_mps
|
|
744
|
+
CPU, CUDA, MPS: any_out
|
|
776
745
|
tags: reduction
|
|
777
746
|
|
|
778
747
|
- func: any.dims_out(Tensor self, int[]? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -784,15 +753,6 @@
|
|
|
784
753
|
cpp_no_default_args: ['dim']
|
|
785
754
|
tags: reduction
|
|
786
755
|
|
|
787
|
-
- func: any.dimname(Tensor self, Dimname dim, bool keepdim=False) -> Tensor
|
|
788
|
-
device_check: NoCheck # TensorIterator
|
|
789
|
-
variants: function, method
|
|
790
|
-
tags: reduction
|
|
791
|
-
|
|
792
|
-
- func: any.dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
793
|
-
device_check: NoCheck # TensorIterator
|
|
794
|
-
tags: reduction
|
|
795
|
-
|
|
796
756
|
- func: arange(Scalar end, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
797
757
|
dispatch:
|
|
798
758
|
CompositeExplicitAutograd: arange
|
|
@@ -1136,16 +1096,14 @@
|
|
|
1136
1096
|
variants: function
|
|
1137
1097
|
tags: nondeterministic_seeded
|
|
1138
1098
|
dispatch:
|
|
1139
|
-
CPU, CUDA: bernoulli_out
|
|
1140
|
-
MPS: bernoulli_out_mps
|
|
1099
|
+
CPU, CUDA, MPS: bernoulli_out
|
|
1141
1100
|
|
|
1142
1101
|
- func: bernoulli_.Tensor(Tensor(a!) self, Tensor p, *, Generator? generator=None) -> Tensor(a!)
|
|
1143
1102
|
device_check: NoCheck # TensorIterator
|
|
1144
1103
|
variants: method
|
|
1145
1104
|
tags: nondeterministic_seeded
|
|
1146
1105
|
dispatch:
|
|
1147
|
-
CPU, CUDA: bernoulli_
|
|
1148
|
-
MPS: bernoulli_mps_
|
|
1106
|
+
CPU, CUDA, MPS: bernoulli_
|
|
1149
1107
|
autogen: bernoulli.Tensor, bernoulli.Tensor_out
|
|
1150
1108
|
|
|
1151
1109
|
- func: bernoulli_.float(Tensor(a!) self, float p=0.5, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -1153,8 +1111,7 @@
|
|
|
1153
1111
|
variants: method
|
|
1154
1112
|
tags: nondeterministic_seeded
|
|
1155
1113
|
dispatch:
|
|
1156
|
-
CPU, CUDA: bernoulli_
|
|
1157
|
-
MPS: bernoulli_mps_
|
|
1114
|
+
CPU, CUDA, MPS: bernoulli_
|
|
1158
1115
|
autogen: bernoulli.float_out
|
|
1159
1116
|
|
|
1160
1117
|
# Note [bernoulli.p schema]
|
|
@@ -1448,28 +1405,14 @@
|
|
|
1448
1405
|
MPS: cat_out_mps
|
|
1449
1406
|
QuantizedCPU: cat_out_quantized_cpu
|
|
1450
1407
|
|
|
1451
|
-
- func: cat.names(Tensor[] tensors, Dimname dim) -> Tensor
|
|
1452
|
-
|
|
1453
|
-
- func: cat.names_out(Tensor[] tensors, Dimname dim, *, Tensor(a!) out) -> Tensor(a!)
|
|
1454
|
-
|
|
1455
|
-
# alias for torch.cat
|
|
1456
1408
|
- func: concat(Tensor[] tensors, int dim=0) -> Tensor
|
|
1457
1409
|
|
|
1458
1410
|
- func: concat.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!)
|
|
1459
1411
|
|
|
1460
|
-
- func: concat.names(Tensor[] tensors, Dimname dim) -> Tensor
|
|
1461
|
-
|
|
1462
|
-
- func: concat.names_out(Tensor[] tensors, Dimname dim, *, Tensor(a!) out) -> Tensor(a!)
|
|
1463
|
-
|
|
1464
|
-
# alias for torch.cat
|
|
1465
1412
|
- func: concatenate(Tensor[] tensors, int dim=0) -> Tensor
|
|
1466
1413
|
|
|
1467
1414
|
- func: concatenate.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!)
|
|
1468
1415
|
|
|
1469
|
-
- func: concatenate.names(Tensor[] tensors, Dimname dim) -> Tensor
|
|
1470
|
-
|
|
1471
|
-
- func: concatenate.names_out(Tensor[] tensors, Dimname dim, *, Tensor(a!) out) -> Tensor(a!)
|
|
1472
|
-
|
|
1473
1416
|
- func: block_diag(Tensor[] tensors) -> Tensor
|
|
1474
1417
|
variants: function
|
|
1475
1418
|
dispatch:
|
|
@@ -1975,13 +1918,6 @@
|
|
|
1975
1918
|
dispatch:
|
|
1976
1919
|
CompositeExplicitAutograd: cummax_out
|
|
1977
1920
|
|
|
1978
|
-
- func: cummax.dimname(Tensor self, Dimname dim) -> (Tensor values, Tensor indices)
|
|
1979
|
-
device_check: NoCheck # TensorIterator
|
|
1980
|
-
variants: function, method
|
|
1981
|
-
|
|
1982
|
-
- func: cummax.dimname_out(Tensor self, Dimname dim, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
1983
|
-
device_check: NoCheck # TensorIterator
|
|
1984
|
-
|
|
1985
1921
|
- func: _cummax_helper(Tensor self, Tensor(a!) values, Tensor(b!) indices, int dim) -> ()
|
|
1986
1922
|
variants: function
|
|
1987
1923
|
dispatch:
|
|
@@ -2000,13 +1936,6 @@
|
|
|
2000
1936
|
dispatch:
|
|
2001
1937
|
CompositeExplicitAutograd: cummin_out
|
|
2002
1938
|
|
|
2003
|
-
- func: cummin.dimname(Tensor self, Dimname dim) -> (Tensor values, Tensor indices)
|
|
2004
|
-
device_check: NoCheck # TensorIterator
|
|
2005
|
-
variants: function, method
|
|
2006
|
-
|
|
2007
|
-
- func: cummin.dimname_out(Tensor self, Dimname dim, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
2008
|
-
device_check: NoCheck # TensorIterator
|
|
2009
|
-
|
|
2010
1939
|
- func: _cummin_helper(Tensor self, Tensor(a!) values, Tensor(b!) indices, int dim) -> ()
|
|
2011
1940
|
variants: function
|
|
2012
1941
|
dispatch:
|
|
@@ -2035,16 +1964,6 @@
|
|
|
2035
1964
|
CPU, CUDA: cumprod_out
|
|
2036
1965
|
MPS: cumprod_out_mps
|
|
2037
1966
|
|
|
2038
|
-
- func: cumprod.dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
2039
|
-
device_check: NoCheck # TensorIterator
|
|
2040
|
-
variants: function, method
|
|
2041
|
-
|
|
2042
|
-
- func: cumprod_.dimname(Tensor(a!) self, Dimname dim, *, ScalarType? dtype=None) -> Tensor(a!)
|
|
2043
|
-
variants: method
|
|
2044
|
-
|
|
2045
|
-
- func: cumprod.dimname_out(Tensor self, Dimname dim, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
2046
|
-
device_check: NoCheck # TensorIterator
|
|
2047
|
-
|
|
2048
1967
|
- func: cumprod_backward(Tensor grad, Tensor input, int dim, Tensor output) -> Tensor
|
|
2049
1968
|
variants: function
|
|
2050
1969
|
device_check: NoCheck
|
|
@@ -2067,16 +1986,6 @@
|
|
|
2067
1986
|
CPU, CUDA: cumsum_out
|
|
2068
1987
|
MPS: cumsum_out_mps
|
|
2069
1988
|
|
|
2070
|
-
- func: cumsum.dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
2071
|
-
device_check: NoCheck # TensorIterator
|
|
2072
|
-
variants: function, method
|
|
2073
|
-
|
|
2074
|
-
- func: cumsum_.dimname(Tensor(a!) self, Dimname dim, *, ScalarType? dtype=None) -> Tensor(a!)
|
|
2075
|
-
variants: method
|
|
2076
|
-
|
|
2077
|
-
- func: cumsum.dimname_out(Tensor self, Dimname dim, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
2078
|
-
device_check: NoCheck # TensorIterator
|
|
2079
|
-
|
|
2080
1989
|
- func: cumulative_trapezoid.x(Tensor y, Tensor x, *, int dim=-1) -> Tensor
|
|
2081
1990
|
|
|
2082
1991
|
- func: cumulative_trapezoid.dx(Tensor y, *, Scalar dx=1, int dim=-1) -> Tensor
|
|
@@ -2129,9 +2038,6 @@
|
|
|
2129
2038
|
python_module: linalg
|
|
2130
2039
|
variants: function
|
|
2131
2040
|
|
|
2132
|
-
- func: diagonal.Dimname(Tensor(a) self, *, Dimname outdim, Dimname dim1, Dimname dim2, int offset=0) -> Tensor(a)
|
|
2133
|
-
variants: function, method
|
|
2134
|
-
|
|
2135
2041
|
- func: diagonal_backward(Tensor grad_output, SymInt[] input_sizes, int offset, int dim1, int dim2) -> Tensor
|
|
2136
2042
|
variants: function
|
|
2137
2043
|
device_check: NoCheck
|
|
@@ -2362,7 +2268,6 @@
|
|
|
2362
2268
|
# applying indices = indices.contiguous().
|
|
2363
2269
|
# The backward functions apply a check that these input tensors are contiguous.
|
|
2364
2270
|
|
|
2365
|
-
|
|
2366
2271
|
- func: _embedding_bag_forward_only(Tensor weight, Tensor indices, Tensor offsets, bool scale_grad_by_freq=False, int mode=0, bool sparse=False, Tensor? per_sample_weights=None, bool include_last_offset=False, int padding_idx=-1) -> (Tensor, Tensor, Tensor, Tensor)
|
|
2367
2272
|
dispatch:
|
|
2368
2273
|
CPU: _embedding_bag_forward_only_cpu
|
|
@@ -2415,13 +2320,6 @@
|
|
|
2415
2320
|
MPS: _embedding_bag_per_sample_weights_backward_mps
|
|
2416
2321
|
autogen: _embedding_bag_per_sample_weights_backward.out
|
|
2417
2322
|
|
|
2418
|
-
- func: empty.names(int[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None, MemoryFormat? memory_format=None) -> Tensor
|
|
2419
|
-
device_check: NoCheck
|
|
2420
|
-
device_guard: False
|
|
2421
|
-
dispatch:
|
|
2422
|
-
CompositeExplicitAutograd: empty_names
|
|
2423
|
-
autogen: empty.names_out
|
|
2424
|
-
|
|
2425
2323
|
- func: empty.memory_format(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None, MemoryFormat? memory_format=None) -> Tensor
|
|
2426
2324
|
dispatch:
|
|
2427
2325
|
CPU: empty_cpu
|
|
@@ -2702,25 +2600,11 @@
|
|
|
2702
2600
|
- func: flatten.using_ints(Tensor(a) self, int start_dim=0, int end_dim=-1) -> Tensor(a)
|
|
2703
2601
|
variants: function, method
|
|
2704
2602
|
|
|
2705
|
-
- func: flatten.named_out_dim(Tensor(a) self, int start_dim, int end_dim, Dimname out_dim) -> Tensor(a)
|
|
2706
|
-
variants: function, method
|
|
2707
|
-
|
|
2708
|
-
- func: flatten.using_names(Tensor(a) self, Dimname start_dim, Dimname end_dim, Dimname out_dim) -> Tensor(a)
|
|
2709
|
-
variants: function, method
|
|
2710
|
-
|
|
2711
|
-
- func: flatten.DimnameList(Tensor(a) self, Dimname[] dims, Dimname out_dim) -> Tensor(a)
|
|
2712
|
-
variants: function, method
|
|
2713
|
-
|
|
2714
2603
|
- func: unflatten.int(Tensor(a) self, int dim, SymInt[] sizes) -> Tensor(a)
|
|
2715
2604
|
variants: function, method
|
|
2716
2605
|
dispatch:
|
|
2717
2606
|
CompositeImplicitAutograd: unflatten_symint
|
|
2718
2607
|
|
|
2719
|
-
- func: unflatten.Dimname(Tensor(a) self, Dimname dim, SymInt[] sizes, Dimname[] names) -> Tensor(a)
|
|
2720
|
-
variants: function, method
|
|
2721
|
-
dispatch:
|
|
2722
|
-
CompositeImplicitAutograd: unflatten_dimname_symint
|
|
2723
|
-
|
|
2724
2608
|
- func: fill.Scalar(Tensor self, Scalar value) -> Tensor
|
|
2725
2609
|
variants: function
|
|
2726
2610
|
dispatch:
|
|
@@ -2843,13 +2727,6 @@
|
|
|
2843
2727
|
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: frac_sparse_csr_out
|
|
2844
2728
|
tags: pointwise
|
|
2845
2729
|
|
|
2846
|
-
- func: full.names(int[] size, Scalar fill_value, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
2847
|
-
device_check: NoCheck
|
|
2848
|
-
device_guard: False
|
|
2849
|
-
dispatch:
|
|
2850
|
-
CompositeExplicitAutograd: full
|
|
2851
|
-
autogen: full.names_out
|
|
2852
|
-
|
|
2853
2730
|
- func: full(SymInt[] size, Scalar fill_value, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
2854
2731
|
dispatch:
|
|
2855
2732
|
CompositeExplicitAutograd: full
|
|
@@ -2892,7 +2769,7 @@
|
|
|
2892
2769
|
structured: True
|
|
2893
2770
|
structured_inherits: TensorIteratorBase
|
|
2894
2771
|
dispatch:
|
|
2895
|
-
CPU, CUDA: lcm_out
|
|
2772
|
+
CPU, CUDA, MPS: lcm_out
|
|
2896
2773
|
tags: pointwise
|
|
2897
2774
|
|
|
2898
2775
|
- func: lcm(Tensor self, Tensor other) -> Tensor
|
|
@@ -2938,6 +2815,7 @@
|
|
|
2938
2815
|
dispatch:
|
|
2939
2816
|
CPU: grid_sampler_2d_backward_cpu
|
|
2940
2817
|
CUDA: grid_sampler_2d_backward_cuda
|
|
2818
|
+
MPS: grid_sampler_2d_backward_mps
|
|
2941
2819
|
autogen: grid_sampler_2d_backward.out
|
|
2942
2820
|
|
|
2943
2821
|
# See NOTE [ grid_sample CPU fallback ]
|
|
@@ -2964,6 +2842,7 @@
|
|
|
2964
2842
|
dispatch:
|
|
2965
2843
|
CPU: grid_sampler_3d_backward_cpu
|
|
2966
2844
|
CUDA: grid_sampler_3d_backward_cuda
|
|
2845
|
+
MPS: grid_sampler_3d_backward_mps
|
|
2967
2846
|
autogen: grid_sampler_3d_backward.out
|
|
2968
2847
|
|
|
2969
2848
|
- func: hann_window(int window_length, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
@@ -3017,14 +2896,14 @@
|
|
|
3017
2896
|
|
|
3018
2897
|
- func: native_group_norm(Tensor input, Tensor? weight, Tensor? bias, SymInt N, SymInt C, SymInt HxW, int group, float eps) -> (Tensor, Tensor, Tensor)
|
|
3019
2898
|
dispatch:
|
|
3020
|
-
CPU, CUDA: native_group_norm
|
|
2899
|
+
CPU, CUDA, MPS: native_group_norm
|
|
3021
2900
|
CompositeExplicitAutograd: math_group_norm
|
|
3022
2901
|
autogen: native_group_norm.out
|
|
3023
2902
|
tags: core
|
|
3024
2903
|
|
|
3025
2904
|
- func: native_group_norm_backward(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask) -> (Tensor, Tensor, Tensor)
|
|
3026
2905
|
dispatch:
|
|
3027
|
-
CPU, CUDA: native_group_norm_backward
|
|
2906
|
+
CPU, CUDA, MPS: native_group_norm_backward
|
|
3028
2907
|
autogen: native_group_norm_backward.out
|
|
3029
2908
|
tags: core
|
|
3030
2909
|
|
|
@@ -3147,12 +3026,6 @@
|
|
|
3147
3026
|
variants: function, method
|
|
3148
3027
|
structured_delegate: index_copy.out
|
|
3149
3028
|
|
|
3150
|
-
- func: index_copy_.dimname(Tensor(a!) self, Dimname dim, Tensor index, Tensor source) -> Tensor(a!)
|
|
3151
|
-
variants: method
|
|
3152
|
-
|
|
3153
|
-
- func: index_copy.dimname(Tensor self, Dimname dim, Tensor index, Tensor source) -> Tensor
|
|
3154
|
-
variants: function, method
|
|
3155
|
-
|
|
3156
3029
|
- func: index_put_(Tensor(a!) self, Tensor?[] indices, Tensor values, bool accumulate=False) -> Tensor(a!)
|
|
3157
3030
|
device_check: NoCheck # delegate to _index_put_impl_, which leverages TensorIterator
|
|
3158
3031
|
variants: function, method
|
|
@@ -3351,11 +3224,6 @@
|
|
|
3351
3224
|
CUDA: kthvalue_out_cuda
|
|
3352
3225
|
MPS: kthvalue_out_mps
|
|
3353
3226
|
|
|
3354
|
-
- func: kthvalue.dimname(Tensor self, SymInt k, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
3355
|
-
variants: function, method
|
|
3356
|
-
|
|
3357
|
-
- func: kthvalue.dimname_out(Tensor self, SymInt k, Dimname dim, bool keepdim=False, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
3358
|
-
|
|
3359
3227
|
- func: layer_norm(Tensor input, SymInt[] normalized_shape, Tensor? weight=None, Tensor? bias=None, float eps=1e-05, bool cudnn_enable=True) -> Tensor
|
|
3360
3228
|
dispatch:
|
|
3361
3229
|
CompositeImplicitAutograd: layer_norm_symint
|
|
@@ -3795,9 +3663,6 @@
|
|
|
3795
3663
|
dispatch:
|
|
3796
3664
|
CompositeExplicitAutograd: log_softmax_out
|
|
3797
3665
|
|
|
3798
|
-
- func: log_softmax.Dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
3799
|
-
variants: function, method
|
|
3800
|
-
|
|
3801
3666
|
- func: _log_softmax(Tensor self, int dim, bool half_to_float) -> Tensor
|
|
3802
3667
|
structured_delegate: _log_softmax.out
|
|
3803
3668
|
tags: core
|
|
@@ -3842,11 +3707,6 @@
|
|
|
3842
3707
|
dispatch:
|
|
3843
3708
|
CompositeExplicitAutograd: logcumsumexp_out
|
|
3844
3709
|
|
|
3845
|
-
- func: logcumsumexp.dimname(Tensor self, Dimname dim) -> Tensor
|
|
3846
|
-
variants: function, method
|
|
3847
|
-
|
|
3848
|
-
- func: logcumsumexp.dimname_out(Tensor self, Dimname dim, *, Tensor(a!) out) -> Tensor(a!)
|
|
3849
|
-
|
|
3850
3710
|
- func: logsumexp(Tensor self, int[1] dim, bool keepdim=False) -> Tensor
|
|
3851
3711
|
device_check: NoCheck # TensorIterator
|
|
3852
3712
|
variants: function, method
|
|
@@ -3861,15 +3721,6 @@
|
|
|
3861
3721
|
CompositeExplicitAutogradNonFunctional: logsumexp_out
|
|
3862
3722
|
tags: reduction
|
|
3863
3723
|
|
|
3864
|
-
- func: logsumexp.names(Tensor self, Dimname[1] dim, bool keepdim=False) -> Tensor
|
|
3865
|
-
device_check: NoCheck # TensorIterator
|
|
3866
|
-
variants: function, method
|
|
3867
|
-
tags: reduction
|
|
3868
|
-
|
|
3869
|
-
- func: logsumexp.names_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
3870
|
-
device_check: NoCheck # TensorIterator
|
|
3871
|
-
tags: reduction
|
|
3872
|
-
|
|
3873
3724
|
- func: margin_ranking_loss(Tensor input1, Tensor input2, Tensor target, float margin=0.0, int reduction=Mean) -> Tensor
|
|
3874
3725
|
|
|
3875
3726
|
- func: matmul(Tensor self, Tensor other) -> Tensor
|
|
@@ -3924,8 +3775,7 @@
|
|
|
3924
3775
|
device_check: NoCheck # TensorIterator
|
|
3925
3776
|
structured: True
|
|
3926
3777
|
dispatch:
|
|
3927
|
-
CPU, CUDA: aminmax_out
|
|
3928
|
-
MPS: aminmax_out_mps
|
|
3778
|
+
CPU, CUDA, MPS: aminmax_out
|
|
3929
3779
|
tags: reduction
|
|
3930
3780
|
|
|
3931
3781
|
- func: _compute_linear_combination(Tensor input, Tensor coefficients) -> Tensor
|
|
@@ -3954,15 +3804,6 @@
|
|
|
3954
3804
|
MPS: max_out_mps
|
|
3955
3805
|
tags: reduction
|
|
3956
3806
|
|
|
3957
|
-
- func: max.names_dim(Tensor self, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
3958
|
-
device_check: NoCheck # TensorIterator
|
|
3959
|
-
variants: function, method
|
|
3960
|
-
tags: reduction
|
|
3961
|
-
|
|
3962
|
-
- func: max.names_dim_max(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) max, Tensor(b!) max_values) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
3963
|
-
device_check: NoCheck # TensorIterator
|
|
3964
|
-
tags: reduction
|
|
3965
|
-
|
|
3966
3807
|
- func: value_selecting_reduction_backward(Tensor grad, int dim, Tensor indices, SymInt[] sizes, bool keepdim) -> Tensor
|
|
3967
3808
|
variants: function
|
|
3968
3809
|
device_check: NoCheck
|
|
@@ -3979,8 +3820,7 @@
|
|
|
3979
3820
|
- func: amax.out(Tensor self, int[1] dim=[], bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
3980
3821
|
structured: True
|
|
3981
3822
|
dispatch:
|
|
3982
|
-
CPU, CUDA: amax_out
|
|
3983
|
-
MPS: amax_out_mps
|
|
3823
|
+
CPU, CUDA, MPS: amax_out
|
|
3984
3824
|
tags: reduction
|
|
3985
3825
|
|
|
3986
3826
|
# Return: (Tensor output, Tensor indices)
|
|
@@ -4064,20 +3904,10 @@
|
|
|
4064
3904
|
structured: True
|
|
4065
3905
|
device_check: NoCheck # TensorIterator
|
|
4066
3906
|
dispatch:
|
|
4067
|
-
CPU, CUDA: mean_out
|
|
4068
|
-
MPS: mean_out_mps
|
|
3907
|
+
CPU, CUDA, MPS: mean_out
|
|
4069
3908
|
QuantizedCPU: mean_out_quantized_cpu
|
|
4070
3909
|
tags: reduction
|
|
4071
3910
|
|
|
4072
|
-
- func: mean.names_dim(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor
|
|
4073
|
-
device_check: NoCheck # TensorIterator
|
|
4074
|
-
variants: function, method
|
|
4075
|
-
tags: reduction
|
|
4076
|
-
|
|
4077
|
-
- func: mean.names_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
4078
|
-
device_check: NoCheck # TensorIterator
|
|
4079
|
-
tags: reduction
|
|
4080
|
-
|
|
4081
3911
|
- func: nanmean(Tensor self, int[1]? dim=None, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor
|
|
4082
3912
|
device_check: NoCheck # Composite
|
|
4083
3913
|
variants: function, method
|
|
@@ -4104,11 +3934,6 @@
|
|
|
4104
3934
|
CUDA: median_out_cuda
|
|
4105
3935
|
MPS: median_out_mps
|
|
4106
3936
|
|
|
4107
|
-
- func: median.names_dim(Tensor self, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
4108
|
-
variants: function, method
|
|
4109
|
-
|
|
4110
|
-
- func: median.names_dim_values(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
4111
|
-
|
|
4112
3937
|
- func: nanmedian(Tensor self) -> Tensor
|
|
4113
3938
|
variants: function, method
|
|
4114
3939
|
dispatch:
|
|
@@ -4128,11 +3953,6 @@
|
|
|
4128
3953
|
CUDA: nanmedian_out_cuda
|
|
4129
3954
|
MPS: nanmedian_out_mps
|
|
4130
3955
|
|
|
4131
|
-
- func: nanmedian.names_dim(Tensor self, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
4132
|
-
variants: function, method
|
|
4133
|
-
|
|
4134
|
-
- func: nanmedian.names_dim_values(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
4135
|
-
|
|
4136
3956
|
- func: min.dim(Tensor self, int dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
4137
3957
|
device_check: NoCheck # TensorIterator
|
|
4138
3958
|
structured_delegate: min.dim_min
|
|
@@ -4151,15 +3971,6 @@
|
|
|
4151
3971
|
MPS: min_out_mps
|
|
4152
3972
|
tags: reduction
|
|
4153
3973
|
|
|
4154
|
-
- func: min.names_dim(Tensor self, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
4155
|
-
device_check: NoCheck # TensorIterator
|
|
4156
|
-
variants: function, method
|
|
4157
|
-
tags: reduction
|
|
4158
|
-
|
|
4159
|
-
- func: min.names_dim_min(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) min, Tensor(b!) min_indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
4160
|
-
device_check: NoCheck # TensorIterator
|
|
4161
|
-
tags: reduction
|
|
4162
|
-
|
|
4163
3974
|
- func: amin(Tensor self, int[1] dim=[], bool keepdim=False) -> Tensor
|
|
4164
3975
|
variants: function, method
|
|
4165
3976
|
structured_delegate: amin.out
|
|
@@ -4168,8 +3979,7 @@
|
|
|
4168
3979
|
- func: amin.out(Tensor self, int[1] dim=[], bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
4169
3980
|
structured: True
|
|
4170
3981
|
dispatch:
|
|
4171
|
-
CPU, CUDA: amin_out
|
|
4172
|
-
MPS: amin_out_mps
|
|
3982
|
+
CPU, CUDA, MPS: amin_out
|
|
4173
3983
|
tags: reduction
|
|
4174
3984
|
|
|
4175
3985
|
# TODO: Add this function to MPS dispatch key so that we avoid declaring it in
|
|
@@ -4240,7 +4050,6 @@
|
|
|
4240
4050
|
autogen: miopen_rnn.out
|
|
4241
4051
|
tags: nondeterministic_seeded
|
|
4242
4052
|
|
|
4243
|
-
|
|
4244
4053
|
- func: miopen_rnn_backward(Tensor input, Tensor[] weight, int weight_stride0, Tensor weight_buf, Tensor hx, Tensor? cx, Tensor output, Tensor? grad_output, Tensor? grad_hy, Tensor? grad_cy, int mode, int hidden_size, int num_layers, bool batch_first, float dropout, bool train, bool bidirectional, int[] batch_sizes, Tensor? dropout_state, Tensor reserve, bool[4] output_mask) -> (Tensor, Tensor, Tensor, Tensor[])
|
|
4245
4054
|
dispatch:
|
|
4246
4055
|
CUDA: miopen_rnn_backward
|
|
@@ -4369,11 +4178,6 @@
|
|
|
4369
4178
|
dispatch:
|
|
4370
4179
|
CompositeExplicitAutograd: mode_out
|
|
4371
4180
|
|
|
4372
|
-
- func: mode.dimname(Tensor self, Dimname dim, bool keepdim=False) -> (Tensor values, Tensor indices)
|
|
4373
|
-
variants: function, method
|
|
4374
|
-
|
|
4375
|
-
- func: mode.dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
4376
|
-
|
|
4377
4181
|
- func: mul.Tensor(Tensor self, Tensor other) -> Tensor
|
|
4378
4182
|
device_check: NoCheck # TensorIterator
|
|
4379
4183
|
structured_delegate: mul.out
|
|
@@ -4611,13 +4415,6 @@
|
|
|
4611
4415
|
CompositeExplicitAutograd: _nnpack_spatial_convolution
|
|
4612
4416
|
autogen: _nnpack_spatial_convolution.out
|
|
4613
4417
|
|
|
4614
|
-
- func: ones.names(int[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4615
|
-
device_check: NoCheck
|
|
4616
|
-
device_guard: False
|
|
4617
|
-
dispatch:
|
|
4618
|
-
CompositeExplicitAutograd: ones
|
|
4619
|
-
autogen: ones.names_out
|
|
4620
|
-
|
|
4621
4418
|
- func: ones(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4622
4419
|
dispatch:
|
|
4623
4420
|
CompositeExplicitAutograd: ones
|
|
@@ -4645,15 +4442,14 @@
|
|
|
4645
4442
|
|
|
4646
4443
|
- func: _cdist_forward(Tensor x1, Tensor x2, float p, int? compute_mode) -> Tensor
|
|
4647
4444
|
dispatch:
|
|
4648
|
-
CPU, CUDA: _cdist_forward
|
|
4445
|
+
CPU, CUDA, MPS: _cdist_forward
|
|
4649
4446
|
MTIA: _cdist_forward_mtia
|
|
4650
|
-
MPS: _cdist_forward_mps
|
|
4651
4447
|
autogen: _cdist_forward.out
|
|
4652
4448
|
tags: core
|
|
4653
4449
|
|
|
4654
4450
|
- func: _cdist_backward(Tensor grad, Tensor x1, Tensor x2, float p, Tensor cdist) -> Tensor
|
|
4655
4451
|
dispatch:
|
|
4656
|
-
CPU, CUDA: _cdist_backward
|
|
4452
|
+
CPU, CUDA, MPS: _cdist_backward
|
|
4657
4453
|
autogen: _cdist_backward.out
|
|
4658
4454
|
|
|
4659
4455
|
- func: pdist(Tensor self, float p=2) -> Tensor
|
|
@@ -4824,22 +4620,6 @@
|
|
|
4824
4620
|
autogen: scalar_tensor.out
|
|
4825
4621
|
tags: core
|
|
4826
4622
|
|
|
4827
|
-
- func: rand.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4828
|
-
device_check: NoCheck
|
|
4829
|
-
device_guard: False
|
|
4830
|
-
dispatch:
|
|
4831
|
-
CompositeExplicitAutograd: rand
|
|
4832
|
-
autogen: rand.names_out
|
|
4833
|
-
tags: nondeterministic_seeded
|
|
4834
|
-
|
|
4835
|
-
- func: rand.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4836
|
-
device_check: NoCheck
|
|
4837
|
-
device_guard: False
|
|
4838
|
-
tags: nondeterministic_seeded
|
|
4839
|
-
dispatch:
|
|
4840
|
-
CompositeExplicitAutograd: rand
|
|
4841
|
-
autogen: rand.generator_with_names_out
|
|
4842
|
-
|
|
4843
4623
|
- func: rand(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4844
4624
|
tags: [core, nondeterministic_seeded]
|
|
4845
4625
|
dispatch:
|
|
@@ -4970,22 +4750,6 @@
|
|
|
4970
4750
|
dispatch:
|
|
4971
4751
|
CompositeExplicitAutograd: randn
|
|
4972
4752
|
|
|
4973
|
-
- func: randn.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4974
|
-
tags: nondeterministic_seeded
|
|
4975
|
-
device_check: NoCheck
|
|
4976
|
-
device_guard: False
|
|
4977
|
-
dispatch:
|
|
4978
|
-
CompositeExplicitAutograd: randn
|
|
4979
|
-
autogen: randn.names_out
|
|
4980
|
-
|
|
4981
|
-
- func: randn.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
4982
|
-
tags: nondeterministic_seeded
|
|
4983
|
-
device_check: NoCheck
|
|
4984
|
-
device_guard: False
|
|
4985
|
-
dispatch:
|
|
4986
|
-
CompositeExplicitAutograd: randn
|
|
4987
|
-
autogen: randn.generator_with_names_out
|
|
4988
|
-
|
|
4989
4753
|
- func: randn.out(SymInt[] size, *, Tensor(a!) out) -> Tensor(a!)
|
|
4990
4754
|
tags: nondeterministic_seeded
|
|
4991
4755
|
|
|
@@ -5159,7 +4923,8 @@
|
|
|
5159
4923
|
device_check: NoCheck
|
|
5160
4924
|
device_guard: False
|
|
5161
4925
|
dispatch:
|
|
5162
|
-
CPU, CUDA, Meta, QuantizedCPU, QuantizedCUDA,
|
|
4926
|
+
CPU, CUDA, Meta, QuantizedCPU, QuantizedCUDA, MPS, MTIA: _reshape_alias
|
|
4927
|
+
ZeroTensor: _reshape_alias_symint
|
|
5163
4928
|
# We don't need to support mkldnn since this is handled explicitly by the reshape operator.
|
|
5164
4929
|
|
|
5165
4930
|
- func: _mkldnn_reshape(Tensor self, int[] shape) -> Tensor
|
|
@@ -5383,11 +5148,6 @@
|
|
|
5383
5148
|
CPU, CUDA, MPS, MTIA: rsqrt_out
|
|
5384
5149
|
tags: pointwise
|
|
5385
5150
|
|
|
5386
|
-
- func: select.Dimname(Tensor(a) self, Dimname dim, int index) -> Tensor(a)
|
|
5387
|
-
variants: function, method
|
|
5388
|
-
device_check: NoCheck
|
|
5389
|
-
device_guard: False
|
|
5390
|
-
|
|
5391
5151
|
- func: select.int(Tensor(a) self, int dim, SymInt index) -> Tensor(a)
|
|
5392
5152
|
variants: function, method
|
|
5393
5153
|
device_check: NoCheck
|
|
@@ -5646,11 +5406,6 @@
|
|
|
5646
5406
|
device_guard: False
|
|
5647
5407
|
manual_cpp_binding: True
|
|
5648
5408
|
|
|
5649
|
-
- func: size.Dimname(Tensor self, Dimname dim) -> int
|
|
5650
|
-
variants: function, method
|
|
5651
|
-
device_check: NoCheck
|
|
5652
|
-
device_guard: False
|
|
5653
|
-
|
|
5654
5409
|
- func: sym_size.int(Tensor self, int dim) -> SymInt
|
|
5655
5410
|
variants: function
|
|
5656
5411
|
device_check: NoCheck
|
|
@@ -5759,9 +5514,6 @@
|
|
|
5759
5514
|
dispatch:
|
|
5760
5515
|
CompositeExplicitAutograd: softmax_out
|
|
5761
5516
|
|
|
5762
|
-
- func: softmax.Dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
5763
|
-
variants: function, method
|
|
5764
|
-
|
|
5765
5517
|
- func: _softmax(Tensor self, int dim, bool half_to_float) -> Tensor
|
|
5766
5518
|
structured_delegate: _softmax.out
|
|
5767
5519
|
dispatch:
|
|
@@ -5863,12 +5615,6 @@
|
|
|
5863
5615
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: squeeze_dim_nested
|
|
5864
5616
|
tags: core
|
|
5865
5617
|
|
|
5866
|
-
- func: squeeze.dimname(Tensor(a) self, Dimname dim) -> Tensor(a)
|
|
5867
|
-
variants: function, method
|
|
5868
|
-
device_check: NoCheck
|
|
5869
|
-
device_guard: False
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
5618
|
- func: squeeze.dims(Tensor(a) self, int[] dim) -> Tensor(a)
|
|
5873
5619
|
variants: function, method
|
|
5874
5620
|
device_check: NoCheck
|
|
@@ -5903,12 +5649,6 @@
|
|
|
5903
5649
|
dispatch:
|
|
5904
5650
|
CompositeExplicitAutograd: squeeze_
|
|
5905
5651
|
|
|
5906
|
-
- func: squeeze_.dimname(Tensor(a!) self, Dimname dim) -> Tensor(a!)
|
|
5907
|
-
variants: method
|
|
5908
|
-
device_check: NoCheck
|
|
5909
|
-
device_guard: False
|
|
5910
|
-
tags: inplace_view
|
|
5911
|
-
|
|
5912
5652
|
- func: sspaddmm(Tensor self, Tensor mat1, Tensor mat2, *, Scalar beta=1, Scalar alpha=1) -> Tensor
|
|
5913
5653
|
variants: function, method
|
|
5914
5654
|
|
|
@@ -5976,11 +5716,6 @@
|
|
|
5976
5716
|
device_guard: False
|
|
5977
5717
|
manual_cpp_binding: True
|
|
5978
5718
|
|
|
5979
|
-
- func: stride.Dimname(Tensor self, Dimname dim) -> int
|
|
5980
|
-
variants: function, method
|
|
5981
|
-
device_check: NoCheck
|
|
5982
|
-
device_guard: False
|
|
5983
|
-
|
|
5984
5719
|
- func: sym_stride.int(Tensor self, int dim) -> SymInt
|
|
5985
5720
|
variants: function
|
|
5986
5721
|
device_check: NoCheck
|
|
@@ -6009,24 +5744,13 @@
|
|
|
6009
5744
|
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: sum_sparse_compressed
|
|
6010
5745
|
tags: [core, reduction]
|
|
6011
5746
|
|
|
6012
|
-
- func: sum.dim_DimnameList(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor
|
|
6013
|
-
device_check: NoCheck # TensorIterator
|
|
6014
|
-
variants: function, method
|
|
6015
|
-
tags: reduction
|
|
6016
|
-
|
|
6017
5747
|
- func: sum.IntList_out(Tensor self, int[1]? dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
6018
5748
|
structured: True
|
|
6019
5749
|
device_check: NoCheck # TensorIterator
|
|
6020
5750
|
dispatch:
|
|
6021
|
-
CPU, CUDA: sum_out
|
|
6022
|
-
MPS: sum_out_mps
|
|
6023
|
-
tags: reduction
|
|
6024
|
-
|
|
6025
|
-
- func: sum.DimnameList_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
6026
|
-
device_check: NoCheck # TensorIterator
|
|
5751
|
+
CPU, CUDA, MPS: sum_out
|
|
6027
5752
|
tags: reduction
|
|
6028
5753
|
|
|
6029
|
-
# TODO: this function will be replaced once nested expand semantics have been settled on
|
|
6030
5754
|
- func: _nested_sum_backward(Tensor grad, Tensor self, int[1]? dim, bool keepdim=False) -> Tensor
|
|
6031
5755
|
dispatch:
|
|
6032
5756
|
NestedTensorCPU: _nested_sum_backward_cpu
|
|
@@ -6034,14 +5758,12 @@
|
|
|
6034
5758
|
- func: nansum(Tensor self, int[1]? dim=None, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor
|
|
6035
5759
|
variants: function, method
|
|
6036
5760
|
dispatch:
|
|
6037
|
-
CPU, CUDA: nansum
|
|
6038
|
-
MPS: nansum_mps
|
|
5761
|
+
CPU, CUDA, MPS: nansum
|
|
6039
5762
|
tags: reduction
|
|
6040
5763
|
|
|
6041
5764
|
- func: nansum.out(Tensor self, int[1]? dim=None, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
6042
5765
|
dispatch:
|
|
6043
|
-
CPU, CUDA: nansum_out
|
|
6044
|
-
MPS: nansum_out_mps
|
|
5766
|
+
CPU, CUDA, MPS: nansum_out
|
|
6045
5767
|
tags: reduction
|
|
6046
5768
|
|
|
6047
5769
|
- func: hash_tensor(Tensor self, int[1] dim=[], *, bool keepdim=False, int mode=0) -> Tensor
|
|
@@ -6144,17 +5866,6 @@
|
|
|
6144
5866
|
autogen: std_mean.correction_out
|
|
6145
5867
|
tags: reduction
|
|
6146
5868
|
|
|
6147
|
-
- func: std_mean.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> (Tensor, Tensor)
|
|
6148
|
-
device_check: NoCheck # TensorIterator
|
|
6149
|
-
variants: function
|
|
6150
|
-
cpp_no_default_args: ["unbiased"]
|
|
6151
|
-
tags: reduction
|
|
6152
|
-
|
|
6153
|
-
- func: std_mean.correction_names(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False) -> (Tensor, Tensor)
|
|
6154
|
-
device_check: NoCheck # TensorIterator
|
|
6155
|
-
variants: function
|
|
6156
|
-
tags: reduction
|
|
6157
|
-
|
|
6158
5869
|
- func: std.out(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
6159
5870
|
device_check: NoCheck # TensorIterator
|
|
6160
5871
|
cpp_no_default_args: ["unbiased"]
|
|
@@ -6167,27 +5878,6 @@
|
|
|
6167
5878
|
QuantizedCPU: std_out_quantized_cpu
|
|
6168
5879
|
tags: reduction
|
|
6169
5880
|
|
|
6170
|
-
- func: std.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> Tensor
|
|
6171
|
-
device_check: NoCheck # TensorIterator
|
|
6172
|
-
variants: function, method
|
|
6173
|
-
cpp_no_default_args: ["unbiased"]
|
|
6174
|
-
tags: reduction
|
|
6175
|
-
|
|
6176
|
-
- func: std.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
6177
|
-
device_check: NoCheck # TensorIterator
|
|
6178
|
-
cpp_no_default_args: ["unbiased"]
|
|
6179
|
-
tags: reduction
|
|
6180
|
-
|
|
6181
|
-
- func: std.correction_names(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False) -> Tensor
|
|
6182
|
-
device_check: NoCheck # TensorIterator
|
|
6183
|
-
variants: function, method
|
|
6184
|
-
tags: reduction
|
|
6185
|
-
|
|
6186
|
-
- func: std.correction_names_out(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!)
|
|
6187
|
-
device_check: NoCheck # TensorIterator
|
|
6188
|
-
variants: function
|
|
6189
|
-
tags: reduction
|
|
6190
|
-
|
|
6191
5881
|
- func: prod(Tensor self, *, ScalarType? dtype=None) -> Tensor
|
|
6192
5882
|
device_check: NoCheck # TensorIterator
|
|
6193
5883
|
variants: function, method
|
|
@@ -6211,15 +5901,6 @@
|
|
|
6211
5901
|
MPS: prod_out_mps
|
|
6212
5902
|
tags: reduction
|
|
6213
5903
|
|
|
6214
|
-
- func: prod.dim_Dimname(Tensor self, Dimname dim, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor
|
|
6215
|
-
device_check: NoCheck # TensorIterator
|
|
6216
|
-
variants: function, method
|
|
6217
|
-
tags: reduction
|
|
6218
|
-
|
|
6219
|
-
- func: prod.Dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)
|
|
6220
|
-
device_check: NoCheck # TensorIterator
|
|
6221
|
-
tags: reduction
|
|
6222
|
-
|
|
6223
5904
|
- func: t(Tensor(a) self) -> Tensor(a)
|
|
6224
5905
|
device_check: NoCheck
|
|
6225
5906
|
device_guard: False
|
|
@@ -6356,11 +6037,6 @@
|
|
|
6356
6037
|
CompositeExplicitAutograd: transpose
|
|
6357
6038
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: transpose_nested
|
|
6358
6039
|
|
|
6359
|
-
- func: transpose.Dimname(Tensor(a) self, Dimname dim0, Dimname dim1) -> Tensor(a)
|
|
6360
|
-
variants: function, method
|
|
6361
|
-
device_check: NoCheck
|
|
6362
|
-
device_guard: False
|
|
6363
|
-
|
|
6364
6040
|
- func: _mkldnn_transpose(Tensor self, int dim0, int dim1) -> Tensor
|
|
6365
6041
|
device_check: NoCheck
|
|
6366
6042
|
device_guard: False
|
|
@@ -6608,6 +6284,7 @@
|
|
|
6608
6284
|
CPU: _unique_cpu
|
|
6609
6285
|
CUDA: _unique_cuda
|
|
6610
6286
|
MPS: _unique_mps
|
|
6287
|
+
tags: dynamic_output_shape
|
|
6611
6288
|
autogen: _unique.out
|
|
6612
6289
|
|
|
6613
6290
|
- func: unique_dim(Tensor self, int dim, bool sorted=True, bool return_inverse=False, bool return_counts=False) -> (Tensor, Tensor, Tensor)
|
|
@@ -6707,27 +6384,6 @@
|
|
|
6707
6384
|
CPU, CUDA: var_out
|
|
6708
6385
|
tags: reduction
|
|
6709
6386
|
|
|
6710
|
-
- func: var.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> Tensor
|
|
6711
|
-
device_check: NoCheck # TensorIterator
|
|
6712
|
-
variants: function, method
|
|
6713
|
-
cpp_no_default_args: ["unbiased"]
|
|
6714
|
-
tags: reduction
|
|
6715
|
-
|
|
6716
|
-
- func: var.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
6717
|
-
device_check: NoCheck # TensorIterator
|
|
6718
|
-
cpp_no_default_args: ["unbiased"]
|
|
6719
|
-
tags: reduction
|
|
6720
|
-
|
|
6721
|
-
- func: var.correction_names(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False) -> Tensor
|
|
6722
|
-
device_check: NoCheck # TensorIterator
|
|
6723
|
-
variants: function, method
|
|
6724
|
-
tags: reduction
|
|
6725
|
-
|
|
6726
|
-
- func: var.correction_names_out(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!)
|
|
6727
|
-
device_check: NoCheck # TensorIterator
|
|
6728
|
-
variants: function
|
|
6729
|
-
tags: reduction
|
|
6730
|
-
|
|
6731
6387
|
- func: var_mean(Tensor self, bool unbiased=True) -> (Tensor, Tensor)
|
|
6732
6388
|
device_check: NoCheck # TensorIterator
|
|
6733
6389
|
variants: function
|
|
@@ -6749,17 +6405,6 @@
|
|
|
6749
6405
|
autogen: var_mean.correction_out
|
|
6750
6406
|
tags: reduction
|
|
6751
6407
|
|
|
6752
|
-
- func: var_mean.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> (Tensor, Tensor)
|
|
6753
|
-
device_check: NoCheck # TensorIterator
|
|
6754
|
-
variants: function
|
|
6755
|
-
cpp_no_default_args: ["unbiased"]
|
|
6756
|
-
tags: reduction
|
|
6757
|
-
|
|
6758
|
-
- func: var_mean.correction_names(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False) -> (Tensor, Tensor)
|
|
6759
|
-
device_check: NoCheck # TensorIterator
|
|
6760
|
-
variants: function
|
|
6761
|
-
tags: reduction
|
|
6762
|
-
|
|
6763
6408
|
- func: view_as(Tensor(a) self, Tensor other) -> Tensor(a)
|
|
6764
6409
|
variants: method
|
|
6765
6410
|
device_check: NoCheck
|
|
@@ -6819,13 +6464,6 @@
|
|
|
6819
6464
|
- func: _weight_norm_differentiable_backward(Tensor grad_w, Tensor saved_v, Tensor saved_g, Tensor saved_norms, int dim) -> (Tensor, Tensor)
|
|
6820
6465
|
variants: function
|
|
6821
6466
|
|
|
6822
|
-
- func: zeros.names(int[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
6823
|
-
device_check: NoCheck
|
|
6824
|
-
device_guard: False
|
|
6825
|
-
dispatch:
|
|
6826
|
-
CompositeExplicitAutograd: zeros
|
|
6827
|
-
autogen: zeros.names_out
|
|
6828
|
-
|
|
6829
6467
|
- func: _efficientzerotensor(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
|
|
6830
6468
|
dispatch:
|
|
6831
6469
|
CPU: _efficientzerotensor
|
|
@@ -6893,6 +6531,7 @@
|
|
|
6893
6531
|
dispatch:
|
|
6894
6532
|
CPU: _dirichlet_grad_cpu
|
|
6895
6533
|
CUDA: _dirichlet_grad_cuda
|
|
6534
|
+
MPS: _dirichlet_grad_mps
|
|
6896
6535
|
autogen: _dirichlet_grad.out
|
|
6897
6536
|
|
|
6898
6537
|
- func: _sample_dirichlet(Tensor self, Generator? generator=None) -> Tensor
|
|
@@ -6901,6 +6540,7 @@
|
|
|
6901
6540
|
dispatch:
|
|
6902
6541
|
CPU: _s_dirichlet_cpu
|
|
6903
6542
|
CUDA: _s_dirichlet_cuda
|
|
6543
|
+
MPS: _s_dirichlet_mps
|
|
6904
6544
|
autogen: _sample_dirichlet.out
|
|
6905
6545
|
|
|
6906
6546
|
- func: poisson(Tensor self, Generator? generator=None) -> Tensor
|
|
@@ -6993,10 +6633,6 @@
|
|
|
6993
6633
|
python_module: sparse
|
|
6994
6634
|
variants: function
|
|
6995
6635
|
|
|
6996
|
-
- func: _sparse_softmax.Dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
6997
|
-
python_module: sparse
|
|
6998
|
-
variants: function
|
|
6999
|
-
|
|
7000
6636
|
- func: _sparse_softmax(Tensor self, int dim, bool half_to_float) -> Tensor
|
|
7001
6637
|
python_module: sparse
|
|
7002
6638
|
dispatch:
|
|
@@ -7016,10 +6652,6 @@
|
|
|
7016
6652
|
python_module: sparse
|
|
7017
6653
|
variants: function
|
|
7018
6654
|
|
|
7019
|
-
- func: _sparse_log_softmax.Dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor
|
|
7020
|
-
python_module: sparse
|
|
7021
|
-
variants: function
|
|
7022
|
-
|
|
7023
6655
|
- func: _sparse_log_softmax(Tensor self, int dim, bool half_to_float) -> Tensor
|
|
7024
6656
|
python_module: sparse
|
|
7025
6657
|
dispatch:
|
|
@@ -7088,24 +6720,6 @@
|
|
|
7088
6720
|
tags: reduction
|
|
7089
6721
|
|
|
7090
6722
|
# These four redispatch in their implementation, so OK to be CompositeImplicitAutograd
|
|
7091
|
-
- func: norm.names_ScalarOpt_dim_dtype(Tensor self, Scalar? p, Dimname[1] dim, bool keepdim, *, ScalarType dtype) -> Tensor
|
|
7092
|
-
device_check: NoCheck # TensorIterator
|
|
7093
|
-
variants: function, method
|
|
7094
|
-
tags: reduction
|
|
7095
|
-
|
|
7096
|
-
- func: norm.names_ScalarOpt_dim(Tensor self, Scalar? p, Dimname[1] dim, bool keepdim=False) -> Tensor
|
|
7097
|
-
device_check: NoCheck # TensorIterator
|
|
7098
|
-
variants: function, method
|
|
7099
|
-
tags: reduction
|
|
7100
|
-
|
|
7101
|
-
- func: norm.names_dtype_out(Tensor self, Scalar? p, Dimname[1] dim, bool keepdim, *, ScalarType dtype, Tensor(a!) out) -> Tensor(a!)
|
|
7102
|
-
device_check: NoCheck # TensorIterator
|
|
7103
|
-
tags: reduction
|
|
7104
|
-
|
|
7105
|
-
- func: norm.names_out(Tensor self, Scalar? p, Dimname[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
7106
|
-
device_check: NoCheck # TensorIterator
|
|
7107
|
-
tags: reduction
|
|
7108
|
-
|
|
7109
6723
|
- func: frexp.Tensor(Tensor self) -> (Tensor mantissa, Tensor exponent)
|
|
7110
6724
|
variants: method, function
|
|
7111
6725
|
dispatch:
|
|
@@ -7373,7 +6987,6 @@
|
|
|
7373
6987
|
XPU: _scaled_mm_xpu
|
|
7374
6988
|
tags: needs_exact_strides
|
|
7375
6989
|
|
|
7376
|
-
|
|
7377
6990
|
- func: _scaled_mm.out(Tensor self, Tensor mat2, Tensor scale_a, Tensor scale_b, Tensor? bias=None, Tensor? scale_result=None, ScalarType? out_dtype=None, bool use_fast_accum=False, *, Tensor(a!) out) -> Tensor(a!)
|
|
7378
6991
|
variants: function
|
|
7379
6992
|
dispatch:
|
|
@@ -7398,7 +7011,6 @@
|
|
|
7398
7011
|
XPU: _scaled_mm_xpu_v2_out
|
|
7399
7012
|
tags: needs_exact_strides
|
|
7400
7013
|
|
|
7401
|
-
|
|
7402
7014
|
- func: _scaled_grouped_mm(Tensor self, Tensor mat2, Tensor scale_a, Tensor scale_b, Tensor? offs=None, Tensor? bias=None, Tensor? scale_result=None, ScalarType? out_dtype=None, bool use_fast_accum=False) -> Tensor
|
|
7403
7015
|
variants: function
|
|
7404
7016
|
dispatch:
|
|
@@ -7797,9 +7409,6 @@
|
|
|
7797
7409
|
CompositeExplicitAutograd: unbind
|
|
7798
7410
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: NestedTensor_unbind
|
|
7799
7411
|
|
|
7800
|
-
- func: unbind.Dimname(Tensor(a -> *) self, Dimname dim) -> Tensor(a)[]
|
|
7801
|
-
variants: function, method
|
|
7802
|
-
|
|
7803
7412
|
- func: to_sparse.sparse_dim(Tensor self, int sparse_dim) -> Tensor
|
|
7804
7413
|
variants: method
|
|
7805
7414
|
|
|
@@ -8167,7 +7776,6 @@
|
|
|
8167
7776
|
MPS: lstm_mps_backward
|
|
8168
7777
|
autogen: lstm_mps_backward.out
|
|
8169
7778
|
|
|
8170
|
-
|
|
8171
7779
|
# Fused RNN kernels
|
|
8172
7780
|
- func: _thnn_fused_lstm_cell(Tensor input_gates, Tensor hidden_gates, Tensor cx, Tensor? input_bias=None, Tensor? hidden_bias=None) -> (Tensor, Tensor, Tensor)
|
|
8173
7781
|
dispatch:
|
|
@@ -8236,10 +7844,8 @@
|
|
|
8236
7844
|
# Quantized RNN layers
|
|
8237
7845
|
# - func: quantized_lstm(Tensor input, Tensor[] hx, Tensor[] params, bool has_biases, int num_layers, float dropout, bool train, bool bidirectional, bool batch_first, *, ScalarType? dtype=None, bool use_dynamic=False) -> (Tensor, Tensor, Tensor)
|
|
8238
7846
|
|
|
8239
|
-
|
|
8240
7847
|
# - func: quantized_lstm.data(Tensor data, Tensor batch_sizes, Tensor[] hx, Tensor[] params, bool has_biases, int num_layers, float dropout, bool train, bool bidirectional, *, ScalarType? dtype=None, bool use_dynamic=False) -> (Tensor, Tensor, Tensor)
|
|
8241
7848
|
|
|
8242
|
-
|
|
8243
7849
|
# Quantized GRU layers
|
|
8244
7850
|
|
|
8245
7851
|
# - func: quantized_gru.input(Tensor input, Tensor hx, Tensor[] params, bool has_biases, int num_layers, float dropout, bool train, bool bidirectional, bool batch_first) -> (Tensor, Tensor)
|
|
@@ -8424,7 +8030,8 @@
|
|
|
8424
8030
|
device_check: NoCheck
|
|
8425
8031
|
device_guard: False
|
|
8426
8032
|
dispatch:
|
|
8427
|
-
|
|
8033
|
+
Meta, CPU, CUDA, QuantizedCPU, QuantizedCUDA, MPS, MTIA: view
|
|
8034
|
+
ZeroTensor: view_symint
|
|
8428
8035
|
MkldnnCPU: mkldnn_view
|
|
8429
8036
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: view_nested
|
|
8430
8037
|
tags: core
|
|
@@ -8471,9 +8078,6 @@
|
|
|
8471
8078
|
structured_delegate: index_add.out
|
|
8472
8079
|
variants: function, method
|
|
8473
8080
|
|
|
8474
|
-
- func: index_add.dimname(Tensor self, Dimname dim, Tensor index, Tensor source, *, Scalar alpha=1) -> Tensor
|
|
8475
|
-
variants: function, method
|
|
8476
|
-
|
|
8477
8081
|
- func: index_reduce.out(Tensor self, int dim, Tensor index, Tensor source, str reduce, *, bool include_self=True, Tensor(a!) out) -> Tensor(a!)
|
|
8478
8082
|
structured: True
|
|
8479
8083
|
variants: function
|
|
@@ -8518,22 +8122,6 @@
|
|
|
8518
8122
|
dispatch:
|
|
8519
8123
|
CompositeExplicitAutograd: index_fill
|
|
8520
8124
|
|
|
8521
|
-
- func: index_fill_.Dimname_Scalar(Tensor(a!) self, Dimname dim, Tensor index, Scalar value) -> Tensor(a!)
|
|
8522
|
-
device_check: NoCheck # TensorIterator
|
|
8523
|
-
variants: method
|
|
8524
|
-
|
|
8525
|
-
- func: index_fill_.Dimname_Tensor(Tensor(a!) self, Dimname dim, Tensor index, Tensor value) -> Tensor(a!)
|
|
8526
|
-
device_check: NoCheck # TensorIterator
|
|
8527
|
-
variants: method
|
|
8528
|
-
|
|
8529
|
-
- func: index_fill.Dimname_Scalar(Tensor self, Dimname dim, Tensor index, Scalar value) -> Tensor
|
|
8530
|
-
device_check: NoCheck # TensorIterator
|
|
8531
|
-
variants: function, method
|
|
8532
|
-
|
|
8533
|
-
- func: index_fill.Dimname_Tensor(Tensor self, Dimname dim, Tensor index, Tensor value) -> Tensor
|
|
8534
|
-
device_check: NoCheck # TensorIterator
|
|
8535
|
-
variants: function, method
|
|
8536
|
-
|
|
8537
8125
|
- func: scatter.src(Tensor self, int dim, Tensor index, Tensor src) -> Tensor
|
|
8538
8126
|
structured_delegate: scatter.src_out
|
|
8539
8127
|
variants: function, method
|
|
@@ -8547,8 +8135,7 @@
|
|
|
8547
8135
|
structured: True
|
|
8548
8136
|
variants: function
|
|
8549
8137
|
dispatch:
|
|
8550
|
-
CPU, CUDA: scatter_src_out
|
|
8551
|
-
MPS: scatter_src_out_mps
|
|
8138
|
+
CPU, CUDA, MPS: scatter_src_out
|
|
8552
8139
|
|
|
8553
8140
|
- func: scatter.value(Tensor self, int dim, Tensor index, Scalar value) -> Tensor
|
|
8554
8141
|
structured_delegate: scatter.value_out
|
|
@@ -8563,8 +8150,7 @@
|
|
|
8563
8150
|
structured: True
|
|
8564
8151
|
variants: function
|
|
8565
8152
|
dispatch:
|
|
8566
|
-
CPU, CUDA: scatter_value_out
|
|
8567
|
-
MPS: scatter_value_out_mps
|
|
8153
|
+
CPU, CUDA, MPS: scatter_value_out
|
|
8568
8154
|
|
|
8569
8155
|
- func: scatter.reduce(Tensor self, int dim, Tensor index, Tensor src, *, str reduce) -> Tensor
|
|
8570
8156
|
structured_delegate: scatter.reduce_out
|
|
@@ -8578,8 +8164,7 @@
|
|
|
8578
8164
|
structured: True
|
|
8579
8165
|
variants: function
|
|
8580
8166
|
dispatch:
|
|
8581
|
-
CPU, CUDA: scatter_reduce_out
|
|
8582
|
-
MPS: scatter_reduce_out_mps
|
|
8167
|
+
CPU, CUDA, MPS: scatter_reduce_out
|
|
8583
8168
|
|
|
8584
8169
|
- func: scatter.value_reduce(Tensor self, int dim, Tensor index, Scalar value, *, str reduce) -> Tensor
|
|
8585
8170
|
structured_delegate: scatter.value_reduce_out
|
|
@@ -8593,14 +8178,7 @@
|
|
|
8593
8178
|
structured: True
|
|
8594
8179
|
variants: function
|
|
8595
8180
|
dispatch:
|
|
8596
|
-
CPU, CUDA: scatter_value_reduce_out
|
|
8597
|
-
MPS: scatter_value_reduce_out_mps
|
|
8598
|
-
|
|
8599
|
-
- func: scatter.dimname_src(Tensor self, Dimname dim, Tensor index, Tensor src) -> Tensor
|
|
8600
|
-
variants: function, method
|
|
8601
|
-
|
|
8602
|
-
- func: scatter.dimname_value(Tensor self, Dimname dim, Tensor index, Scalar value) -> Tensor
|
|
8603
|
-
variants: function, method
|
|
8181
|
+
CPU, CUDA, MPS: scatter_value_reduce_out
|
|
8604
8182
|
|
|
8605
8183
|
- func: scatter_add(Tensor self, int dim, Tensor index, Tensor src) -> Tensor
|
|
8606
8184
|
structured_delegate: scatter_add.out
|
|
@@ -8615,11 +8193,7 @@
|
|
|
8615
8193
|
structured: True
|
|
8616
8194
|
variants: function
|
|
8617
8195
|
dispatch:
|
|
8618
|
-
CPU, CUDA: scatter_add
|
|
8619
|
-
MPS: scatter_add_mps_out
|
|
8620
|
-
|
|
8621
|
-
- func: scatter_add.dimname(Tensor self, Dimname dim, Tensor index, Tensor src) -> Tensor
|
|
8622
|
-
variants: function, method
|
|
8196
|
+
CPU, CUDA, MPS: scatter_add
|
|
8623
8197
|
|
|
8624
8198
|
- func: scatter_reduce.two(Tensor self, int dim, Tensor index, Tensor src, str reduce, *, bool include_self=True) -> Tensor
|
|
8625
8199
|
structured_delegate: scatter_reduce.two_out
|
|
@@ -8652,8 +8226,7 @@
|
|
|
8652
8226
|
structured_inherits: TensorIteratorBase
|
|
8653
8227
|
variants: function
|
|
8654
8228
|
dispatch:
|
|
8655
|
-
CPU, CUDA, MTIA: bitwise_and_out
|
|
8656
|
-
MPS: bitwise_and_out_mps
|
|
8229
|
+
CPU, CUDA, MPS, MTIA: bitwise_and_out
|
|
8657
8230
|
tags: pointwise
|
|
8658
8231
|
|
|
8659
8232
|
- func: bitwise_and.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -8719,8 +8292,7 @@
|
|
|
8719
8292
|
structured_inherits: TensorIteratorBase
|
|
8720
8293
|
variants: function
|
|
8721
8294
|
dispatch:
|
|
8722
|
-
CPU, CUDA, MTIA: bitwise_or_out
|
|
8723
|
-
MPS: bitwise_or_out_mps
|
|
8295
|
+
CPU, CUDA, MPS, MTIA: bitwise_or_out
|
|
8724
8296
|
tags: pointwise
|
|
8725
8297
|
|
|
8726
8298
|
- func: bitwise_or.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -8786,8 +8358,7 @@
|
|
|
8786
8358
|
structured_inherits: TensorIteratorBase
|
|
8787
8359
|
variants: function
|
|
8788
8360
|
dispatch:
|
|
8789
|
-
CPU, CUDA: bitwise_xor_out
|
|
8790
|
-
MPS: bitwise_xor_out_mps
|
|
8361
|
+
CPU, CUDA, MPS: bitwise_xor_out
|
|
8791
8362
|
tags: pointwise
|
|
8792
8363
|
|
|
8793
8364
|
- func: bitwise_xor.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -9055,9 +8626,8 @@
|
|
|
9055
8626
|
variants: method
|
|
9056
8627
|
tags: nondeterministic_seeded
|
|
9057
8628
|
dispatch:
|
|
9058
|
-
CPU, CUDA: random_
|
|
8629
|
+
CPU, CUDA, MPS: random_
|
|
9059
8630
|
Meta: random_meta_
|
|
9060
|
-
MPS: random_mps_
|
|
9061
8631
|
autogen: random.from, random.from_out
|
|
9062
8632
|
|
|
9063
8633
|
- func: random_.to(Tensor(a!) self, int to, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -9065,9 +8635,8 @@
|
|
|
9065
8635
|
tags: nondeterministic_seeded
|
|
9066
8636
|
variants: method
|
|
9067
8637
|
dispatch:
|
|
9068
|
-
CPU, CUDA: random_
|
|
8638
|
+
CPU, CUDA, MPS: random_
|
|
9069
8639
|
Meta: random_meta_
|
|
9070
|
-
MPS: random_mps_
|
|
9071
8640
|
autogen: random.to, random.to_out
|
|
9072
8641
|
|
|
9073
8642
|
- func: random_(Tensor(a!) self, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -9075,8 +8644,7 @@
|
|
|
9075
8644
|
tags: nondeterministic_seeded
|
|
9076
8645
|
variants: method
|
|
9077
8646
|
dispatch:
|
|
9078
|
-
CPU, CUDA: random_
|
|
9079
|
-
MPS: random_mps_
|
|
8647
|
+
CPU, CUDA, MPS: random_
|
|
9080
8648
|
Meta: random_meta_
|
|
9081
8649
|
autogen: random, random.out
|
|
9082
8650
|
|
|
@@ -9085,8 +8653,7 @@
|
|
|
9085
8653
|
tags: nondeterministic_seeded
|
|
9086
8654
|
variants: method
|
|
9087
8655
|
dispatch:
|
|
9088
|
-
CPU, CUDA: uniform_
|
|
9089
|
-
MPS: uniform_mps_
|
|
8656
|
+
CPU, CUDA, MPS: uniform_
|
|
9090
8657
|
Meta: uniform_meta_
|
|
9091
8658
|
autogen: uniform, uniform.out
|
|
9092
8659
|
|
|
@@ -9095,8 +8662,7 @@
|
|
|
9095
8662
|
variants: method
|
|
9096
8663
|
tags: nondeterministic_seeded
|
|
9097
8664
|
dispatch:
|
|
9098
|
-
CPU, CUDA: cauchy_
|
|
9099
|
-
MPS: cauchy_mps_
|
|
8665
|
+
CPU, CUDA, MPS: cauchy_
|
|
9100
8666
|
autogen: cauchy, cauchy.out
|
|
9101
8667
|
|
|
9102
8668
|
- func: log_normal_(Tensor(a!) self, float mean=1, float std=2, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -9104,8 +8670,7 @@
|
|
|
9104
8670
|
tags: nondeterministic_seeded
|
|
9105
8671
|
variants: method
|
|
9106
8672
|
dispatch:
|
|
9107
|
-
CPU, CUDA: log_normal_
|
|
9108
|
-
MPS: log_normal_mps_
|
|
8673
|
+
CPU, CUDA, MPS: log_normal_
|
|
9109
8674
|
autogen: log_normal, log_normal.out
|
|
9110
8675
|
|
|
9111
8676
|
- func: exponential_(Tensor(a!) self, float lambd=1, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -9113,8 +8678,7 @@
|
|
|
9113
8678
|
tags: nondeterministic_seeded
|
|
9114
8679
|
variants: method
|
|
9115
8680
|
dispatch:
|
|
9116
|
-
CPU, CUDA: exponential_
|
|
9117
|
-
MPS: exponential_mps_
|
|
8681
|
+
CPU, CUDA, MPS: exponential_
|
|
9118
8682
|
autogen: exponential, exponential.out
|
|
9119
8683
|
|
|
9120
8684
|
- func: geometric_(Tensor(a!) self, float p, *, Generator? generator=None) -> Tensor(a!)
|
|
@@ -9122,8 +8686,7 @@
|
|
|
9122
8686
|
tags: nondeterministic_seeded
|
|
9123
8687
|
variants: method
|
|
9124
8688
|
dispatch:
|
|
9125
|
-
CPU, CUDA: geometric_
|
|
9126
|
-
MPS: geometric_mps_
|
|
8689
|
+
CPU, CUDA, MPS: geometric_
|
|
9127
8690
|
|
|
9128
8691
|
# wrappers for TH functions
|
|
9129
8692
|
autogen: geometric, geometric.out
|
|
@@ -9194,8 +8757,7 @@
|
|
|
9194
8757
|
structured_inherits: TensorIteratorBase
|
|
9195
8758
|
device_check: NoCheck # TensorIterator
|
|
9196
8759
|
dispatch:
|
|
9197
|
-
CPU, CUDA, MTIA: ne_Scalar_out
|
|
9198
|
-
MPS: ne_scalar_out_mps
|
|
8760
|
+
CPU, CUDA, MPS, MTIA: ne_Scalar_out
|
|
9199
8761
|
QuantizedCPU: ne_out_quantized_cpu
|
|
9200
8762
|
tags: pointwise
|
|
9201
8763
|
|
|
@@ -9212,8 +8774,7 @@
|
|
|
9212
8774
|
structured_inherits: TensorIteratorBase
|
|
9213
8775
|
device_check: NoCheck # TensorIterator
|
|
9214
8776
|
dispatch:
|
|
9215
|
-
CPU, CUDA, MTIA: ne_Tensor_out
|
|
9216
|
-
MPS: ne_tensor_out_mps
|
|
8777
|
+
CPU, CUDA, MPS, MTIA: ne_Tensor_out
|
|
9217
8778
|
QuantizedCPU: ne_out_quantized_cpu
|
|
9218
8779
|
tags: pointwise
|
|
9219
8780
|
|
|
@@ -9257,8 +8818,7 @@
|
|
|
9257
8818
|
structured_inherits: TensorIteratorBase
|
|
9258
8819
|
device_check: NoCheck # TensorIterator
|
|
9259
8820
|
dispatch:
|
|
9260
|
-
CPU, CUDA, MTIA: eq_Scalar_out
|
|
9261
|
-
MPS: eq_scalar_out_mps
|
|
8821
|
+
CPU, CUDA, MPS, MTIA: eq_Scalar_out
|
|
9262
8822
|
QuantizedCPU: eq_out_quantized_cpu
|
|
9263
8823
|
tags: pointwise
|
|
9264
8824
|
|
|
@@ -9276,8 +8836,7 @@
|
|
|
9276
8836
|
structured_inherits: TensorIteratorBase
|
|
9277
8837
|
device_check: NoCheck # TensorIterator
|
|
9278
8838
|
dispatch:
|
|
9279
|
-
CPU, CUDA, MTIA: eq_Tensor_out
|
|
9280
|
-
MPS: eq_tensor_out_mps
|
|
8839
|
+
CPU, CUDA, MPS, MTIA: eq_Tensor_out
|
|
9281
8840
|
QuantizedCPU: eq_out_quantized_cpu
|
|
9282
8841
|
tags: pointwise
|
|
9283
8842
|
|
|
@@ -9295,8 +8854,7 @@
|
|
|
9295
8854
|
structured_inherits: TensorIteratorBase
|
|
9296
8855
|
device_check: NoCheck # TensorIterator
|
|
9297
8856
|
dispatch:
|
|
9298
|
-
CPU, CUDA, MTIA: ge_Scalar_out
|
|
9299
|
-
MPS: ge_scalar_out_mps
|
|
8857
|
+
CPU, CUDA, MPS, MTIA: ge_Scalar_out
|
|
9300
8858
|
QuantizedCPU: ge_out_quantized_cpu
|
|
9301
8859
|
tags: pointwise
|
|
9302
8860
|
|
|
@@ -9314,8 +8872,7 @@
|
|
|
9314
8872
|
structured_inherits: TensorIteratorBase
|
|
9315
8873
|
device_check: NoCheck # TensorIterator
|
|
9316
8874
|
dispatch:
|
|
9317
|
-
CPU, CUDA, MTIA: ge_Tensor_out
|
|
9318
|
-
MPS: ge_tensor_out_mps
|
|
8875
|
+
CPU, CUDA, MPS, MTIA: ge_Tensor_out
|
|
9319
8876
|
QuantizedCPU: ge_out_quantized_cpu
|
|
9320
8877
|
tags: pointwise
|
|
9321
8878
|
|
|
@@ -9359,8 +8916,7 @@
|
|
|
9359
8916
|
structured_inherits: TensorIteratorBase
|
|
9360
8917
|
device_check: NoCheck # TensorIterator
|
|
9361
8918
|
dispatch:
|
|
9362
|
-
CPU, CUDA, MTIA: le_Scalar_out
|
|
9363
|
-
MPS: le_scalar_out_mps
|
|
8919
|
+
CPU, CUDA, MPS, MTIA: le_Scalar_out
|
|
9364
8920
|
QuantizedCPU: le_out_quantized_cpu
|
|
9365
8921
|
tags: pointwise
|
|
9366
8922
|
|
|
@@ -9377,8 +8933,7 @@
|
|
|
9377
8933
|
structured_inherits: TensorIteratorBase
|
|
9378
8934
|
device_check: NoCheck # TensorIterator
|
|
9379
8935
|
dispatch:
|
|
9380
|
-
CPU, CUDA, MTIA: le_Tensor_out
|
|
9381
|
-
MPS: le_tensor_out_mps
|
|
8936
|
+
CPU, CUDA, MPS, MTIA: le_Tensor_out
|
|
9382
8937
|
QuantizedCPU: le_out_quantized_cpu
|
|
9383
8938
|
tags: pointwise
|
|
9384
8939
|
|
|
@@ -9422,8 +8977,7 @@
|
|
|
9422
8977
|
structured_inherits: TensorIteratorBase
|
|
9423
8978
|
device_check: NoCheck # TensorIterator
|
|
9424
8979
|
dispatch:
|
|
9425
|
-
CPU, CUDA,MTIA: gt_Scalar_out
|
|
9426
|
-
MPS: gt_scalar_out_mps
|
|
8980
|
+
CPU, CUDA, MPS, MTIA: gt_Scalar_out
|
|
9427
8981
|
QuantizedCPU: gt_out_quantized_cpu
|
|
9428
8982
|
tags: pointwise
|
|
9429
8983
|
|
|
@@ -9441,8 +8995,7 @@
|
|
|
9441
8995
|
structured_inherits: TensorIteratorBase
|
|
9442
8996
|
device_check: NoCheck # TensorIterator
|
|
9443
8997
|
dispatch:
|
|
9444
|
-
CPU, CUDA, MTIA: gt_Tensor_out
|
|
9445
|
-
MPS: gt_tensor_out_mps
|
|
8998
|
+
CPU, CUDA, MPS, MTIA: gt_Tensor_out
|
|
9446
8999
|
QuantizedCPU: gt_out_quantized_cpu
|
|
9447
9000
|
tags: pointwise
|
|
9448
9001
|
|
|
@@ -9486,8 +9039,7 @@
|
|
|
9486
9039
|
structured_inherits: TensorIteratorBase
|
|
9487
9040
|
device_check: NoCheck # TensorIterator
|
|
9488
9041
|
dispatch:
|
|
9489
|
-
CPU, CUDA, MTIA: lt_Scalar_out
|
|
9490
|
-
MPS: lt_scalar_out_mps
|
|
9042
|
+
CPU, CUDA, MPS, MTIA: lt_Scalar_out
|
|
9491
9043
|
QuantizedCPU: lt_out_quantized_cpu
|
|
9492
9044
|
tags: pointwise
|
|
9493
9045
|
|
|
@@ -9504,8 +9056,7 @@
|
|
|
9504
9056
|
structured_inherits: TensorIteratorBase
|
|
9505
9057
|
device_check: NoCheck # TensorIterator
|
|
9506
9058
|
dispatch:
|
|
9507
|
-
CPU, CUDA, MTIA: lt_Tensor_out
|
|
9508
|
-
MPS: lt_tensor_out_mps
|
|
9059
|
+
CPU, CUDA, MPS, MTIA: lt_Tensor_out
|
|
9509
9060
|
QuantizedCPU: lt_out_quantized_cpu
|
|
9510
9061
|
tags: pointwise
|
|
9511
9062
|
|
|
@@ -9577,11 +9128,6 @@
|
|
|
9577
9128
|
MPS: index_select_mps
|
|
9578
9129
|
tags: core
|
|
9579
9130
|
|
|
9580
|
-
- func: index_select.dimname_out(Tensor self, Dimname dim, Tensor index, *, Tensor(a!) out) -> Tensor(a!)
|
|
9581
|
-
|
|
9582
|
-
- func: index_select.dimname(Tensor self, Dimname dim, Tensor index) -> Tensor
|
|
9583
|
-
variants: method, function
|
|
9584
|
-
|
|
9585
9131
|
- func: index_select_backward(Tensor grad, SymInt[] self_sizes, int dim, Tensor index) -> Tensor
|
|
9586
9132
|
variants: function
|
|
9587
9133
|
device_check: NoCheck
|
|
@@ -9647,8 +9193,7 @@
|
|
|
9647
9193
|
- func: gather.out(Tensor self, int dim, Tensor index, *, bool sparse_grad=False, Tensor(a!) out) -> Tensor(a!)
|
|
9648
9194
|
structured: True
|
|
9649
9195
|
dispatch:
|
|
9650
|
-
CPU, CUDA: gather_out
|
|
9651
|
-
MPS: gather_out_mps
|
|
9196
|
+
CPU, CUDA, MPS: gather_out
|
|
9652
9197
|
|
|
9653
9198
|
- func: gather(Tensor self, int dim, Tensor index, *, bool sparse_grad=False) -> Tensor
|
|
9654
9199
|
variants: method, function
|
|
@@ -9660,11 +9205,6 @@
|
|
|
9660
9205
|
device_check: NoCheck
|
|
9661
9206
|
device_guard: False
|
|
9662
9207
|
|
|
9663
|
-
- func: gather.dimname_out(Tensor self, Dimname dim, Tensor index, *, bool sparse_grad=False, Tensor(a!) out) -> Tensor(a!)
|
|
9664
|
-
|
|
9665
|
-
- func: gather.dimname(Tensor self, Dimname dim, Tensor index, *, bool sparse_grad=False) -> Tensor
|
|
9666
|
-
variants: method, function
|
|
9667
|
-
|
|
9668
9208
|
- func: _gather_sparse_backward(Tensor self, int dim, Tensor index, Tensor grad) -> Tensor
|
|
9669
9209
|
|
|
9670
9210
|
- func: addcmul.out(Tensor self, Tensor tensor1, Tensor tensor2, *, Scalar value=1, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -9864,14 +9404,12 @@
|
|
|
9864
9404
|
- func: multinomial.out(Tensor self, SymInt num_samples, bool replacement=False, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)
|
|
9865
9405
|
tags: nondeterministic_seeded
|
|
9866
9406
|
dispatch:
|
|
9867
|
-
CPU, CUDA: multinomial_out
|
|
9868
|
-
MPS: multinomial_out_mps
|
|
9407
|
+
CPU, CUDA, MPS: multinomial_out
|
|
9869
9408
|
|
|
9870
9409
|
- func: multinomial(Tensor self, SymInt num_samples, bool replacement=False, *, Generator? generator=None) -> Tensor
|
|
9871
9410
|
variants: method, function
|
|
9872
9411
|
dispatch:
|
|
9873
|
-
CPU, CUDA: multinomial
|
|
9874
|
-
MPS: multinomial_mps
|
|
9412
|
+
CPU, CUDA, MPS: multinomial
|
|
9875
9413
|
tags: nondeterministic_seeded
|
|
9876
9414
|
|
|
9877
9415
|
- func: lgamma.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -10447,16 +9985,6 @@
|
|
|
10447
9985
|
dispatch:
|
|
10448
9986
|
QuantizedCPU: sort_quantized_cpu_stable
|
|
10449
9987
|
|
|
10450
|
-
- func: sort.dimname_values(Tensor self, Dimname dim, bool descending=False, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
10451
|
-
|
|
10452
|
-
- func: sort.dimname_values_stable(Tensor self, *, bool? stable, Dimname dim, bool descending=False, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
10453
|
-
|
|
10454
|
-
- func: sort.dimname(Tensor self, Dimname dim, bool descending=False) -> (Tensor values, Tensor indices)
|
|
10455
|
-
variants: method, function
|
|
10456
|
-
|
|
10457
|
-
- func: sort.dimname_stable(Tensor self, *, bool? stable, Dimname dim, bool descending=False) -> (Tensor values, Tensor indices)
|
|
10458
|
-
variants: method, function
|
|
10459
|
-
|
|
10460
9988
|
- func: msort.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
|
|
10461
9989
|
|
|
10462
9990
|
- func: msort(Tensor self) -> Tensor
|
|
@@ -10474,9 +10002,6 @@
|
|
|
10474
10002
|
device_check: NoCheck # TensorIterator
|
|
10475
10003
|
variants: function
|
|
10476
10004
|
|
|
10477
|
-
- func: argsort.dimname(Tensor self, Dimname dim, bool descending=False) -> Tensor
|
|
10478
|
-
variants: method, function
|
|
10479
|
-
|
|
10480
10005
|
- func: topk.values(Tensor self, SymInt k, int dim=-1, bool largest=True, bool sorted=True, *, Tensor(a!) values, Tensor(b!) indices) -> (Tensor(a!) values, Tensor(b!) indices)
|
|
10481
10006
|
structured: True
|
|
10482
10007
|
dispatch:
|
|
@@ -10501,9 +10026,8 @@
|
|
|
10501
10026
|
device_check: NoCheck
|
|
10502
10027
|
structured: True
|
|
10503
10028
|
dispatch:
|
|
10504
|
-
CPU, CUDA: all_all_out
|
|
10029
|
+
CPU, CUDA, MPS: all_all_out
|
|
10505
10030
|
MTIA: all_all_out_mtia
|
|
10506
|
-
MPS: all_all_out_mps
|
|
10507
10031
|
tags: reduction
|
|
10508
10032
|
|
|
10509
10033
|
- func: any(Tensor self) -> Tensor
|
|
@@ -10518,8 +10042,7 @@
|
|
|
10518
10042
|
device_check: NoCheck
|
|
10519
10043
|
structured: True
|
|
10520
10044
|
dispatch:
|
|
10521
|
-
CPU, CUDA: any_all_out
|
|
10522
|
-
MPS: any_all_out_mps
|
|
10045
|
+
CPU, CUDA, MPS: any_all_out
|
|
10523
10046
|
tags: reduction
|
|
10524
10047
|
|
|
10525
10048
|
- func: renorm.out(Tensor self, Scalar p, int dim, Scalar maxnorm, *, Tensor(a!) out) -> Tensor(a!)
|
|
@@ -10652,8 +10175,7 @@
|
|
|
10652
10175
|
tags: nondeterministic_seeded
|
|
10653
10176
|
variants: method
|
|
10654
10177
|
dispatch:
|
|
10655
|
-
CPU, CUDA: normal_
|
|
10656
|
-
MPS: normal_mps_
|
|
10178
|
+
CPU, CUDA, MPS: normal_
|
|
10657
10179
|
Meta: normal_meta_
|
|
10658
10180
|
SparseCsrCPU, SparseCsrCUDA, SparseCsrMeta: normal_sparse_csr_
|
|
10659
10181
|
NestedTensorCPU, NestedTensorHPU, NestedTensorCUDA: normal_nested_
|
|
@@ -10671,42 +10193,36 @@
|
|
|
10671
10193
|
- func: normal.Tensor_float_out(Tensor mean, float std=1, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)
|
|
10672
10194
|
tags: nondeterministic_seeded
|
|
10673
10195
|
dispatch:
|
|
10674
|
-
CPU, CUDA: normal_out
|
|
10675
|
-
MPS: normal_mps_out
|
|
10196
|
+
CPU, CUDA, MPS: normal_out
|
|
10676
10197
|
Meta: normal_out_meta
|
|
10677
10198
|
|
|
10678
10199
|
- func: normal.Tensor_float(Tensor mean, float std=1, *, Generator? generator=None) -> Tensor
|
|
10679
10200
|
dispatch:
|
|
10680
|
-
CPU, CUDA: normal
|
|
10681
|
-
MPS: normal_mps
|
|
10201
|
+
CPU, CUDA, MPS: normal
|
|
10682
10202
|
Meta: normal_meta
|
|
10683
10203
|
tags: nondeterministic_seeded
|
|
10684
10204
|
|
|
10685
10205
|
- func: normal.float_Tensor_out(float mean, Tensor std, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)
|
|
10686
10206
|
dispatch:
|
|
10687
|
-
CPU, CUDA: normal_out
|
|
10207
|
+
CPU, CUDA, MPS: normal_out
|
|
10688
10208
|
Meta: normal_out_meta
|
|
10689
|
-
MPS: normal_mps_out
|
|
10690
10209
|
tags: nondeterministic_seeded
|
|
10691
10210
|
|
|
10692
10211
|
- func: normal.float_Tensor(float mean, Tensor std, *, Generator? generator=None) -> Tensor
|
|
10693
10212
|
dispatch:
|
|
10694
|
-
CPU, CUDA: normal
|
|
10695
|
-
MPS: normal_mps
|
|
10213
|
+
CPU, CUDA, MPS: normal
|
|
10696
10214
|
Meta: normal_meta
|
|
10697
10215
|
tags: nondeterministic_seeded
|
|
10698
10216
|
|
|
10699
10217
|
- func: normal.Tensor_Tensor_out(Tensor mean, Tensor std, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)
|
|
10700
10218
|
dispatch:
|
|
10701
|
-
CPU, CUDA: normal_out
|
|
10219
|
+
CPU, CUDA, MPS: normal_out
|
|
10702
10220
|
Meta: normal_out_meta
|
|
10703
|
-
MPS: normal_mps_out
|
|
10704
10221
|
tags: nondeterministic_seeded
|
|
10705
10222
|
|
|
10706
10223
|
- func: normal.Tensor_Tensor(Tensor mean, Tensor std, *, Generator? generator=None) -> Tensor
|
|
10707
10224
|
dispatch:
|
|
10708
|
-
CPU, CUDA: normal
|
|
10709
|
-
MPS: normal_mps
|
|
10225
|
+
CPU, CUDA, MPS: normal
|
|
10710
10226
|
Meta: normal_meta
|
|
10711
10227
|
tags: nondeterministic_seeded
|
|
10712
10228
|
|
|
@@ -11881,6 +11397,12 @@
|
|
|
11881
11397
|
CompositeExplicitAutograd: _foreach_copy
|
|
11882
11398
|
MTIA: foreach_tensor_copy_list_kernel_mtia
|
|
11883
11399
|
|
|
11400
|
+
- func: _foreach_mm(Tensor[] self, Tensor[] mat2) -> Tensor[]
|
|
11401
|
+
device_check: NoCheck
|
|
11402
|
+
variants: function
|
|
11403
|
+
dispatch:
|
|
11404
|
+
CompositeExplicitAutograd: _foreach_mm
|
|
11405
|
+
|
|
11884
11406
|
- func: bucketize.Tensor(Tensor self, Tensor boundaries, *, bool out_int32=False, bool right=False) -> Tensor
|
|
11885
11407
|
dispatch:
|
|
11886
11408
|
CPU: bucketize_cpu
|
|
@@ -12968,7 +12490,6 @@
|
|
|
12968
12490
|
structured_delegate: replication_pad3d.out
|
|
12969
12491
|
tags: core
|
|
12970
12492
|
|
|
12971
|
-
|
|
12972
12493
|
- func: replication_pad3d_backward.grad_input(Tensor grad_output, Tensor self, SymInt[6] padding, *, Tensor(a!) grad_input) -> Tensor(a!)
|
|
12973
12494
|
python_module: nn
|
|
12974
12495
|
dispatch:
|
|
@@ -15173,7 +14694,6 @@
|
|
|
15173
14694
|
dispatch:
|
|
15174
14695
|
CompositeExplicitAutograd: split_copy_Tensor_out
|
|
15175
14696
|
|
|
15176
|
-
|
|
15177
14697
|
- func: split_with_sizes_copy.out(Tensor self, SymInt[] split_sizes, int dim=0, *, Tensor(a!)[] out) -> ()
|
|
15178
14698
|
variants: function
|
|
15179
14699
|
dispatch:
|