1#[allow(clippy::all)]
3use crate::{C_scalar, C_tensor};
4use libc::c_int;
5
6extern "C" {
7 pub fn atg___and__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8 pub fn atg___and__tensor_(
9 out__: *mut *mut C_tensor,
10 self_: *mut C_tensor,
11 other_: *mut C_tensor,
12 );
13 pub fn atg___iand__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
14 pub fn atg___iand__tensor_(
15 out__: *mut *mut C_tensor,
16 self_: *mut C_tensor,
17 other_: *mut C_tensor,
18 );
19 pub fn atg___ilshift__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
20 pub fn atg___ilshift__tensor_(
21 out__: *mut *mut C_tensor,
22 self_: *mut C_tensor,
23 other_: *mut C_tensor,
24 );
25 pub fn atg___ior__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
26 pub fn atg___ior__tensor_(
27 out__: *mut *mut C_tensor,
28 self_: *mut C_tensor,
29 other_: *mut C_tensor,
30 );
31 pub fn atg___irshift__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
32 pub fn atg___irshift__tensor_(
33 out__: *mut *mut C_tensor,
34 self_: *mut C_tensor,
35 other_: *mut C_tensor,
36 );
37 pub fn atg___ixor__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
38 pub fn atg___ixor__tensor_(
39 out__: *mut *mut C_tensor,
40 self_: *mut C_tensor,
41 other_: *mut C_tensor,
42 );
43 pub fn atg___lshift__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
44 pub fn atg___lshift__scalar_out_(
45 out__: *mut *mut C_tensor,
46 out_: *mut C_tensor,
47 self_: *mut C_tensor,
48 other_: *mut C_scalar,
49 );
50 pub fn atg___lshift__tensor_(
51 out__: *mut *mut C_tensor,
52 self_: *mut C_tensor,
53 other_: *mut C_tensor,
54 );
55 pub fn atg___lshift__tensor_out_(
56 out__: *mut *mut C_tensor,
57 out_: *mut C_tensor,
58 self_: *mut C_tensor,
59 other_: *mut C_tensor,
60 );
61 pub fn atg___or__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
62 pub fn atg___or__tensor_(
63 out__: *mut *mut C_tensor,
64 self_: *mut C_tensor,
65 other_: *mut C_tensor,
66 );
67 pub fn atg___rshift__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
68 pub fn atg___rshift__scalar_out_(
69 out__: *mut *mut C_tensor,
70 out_: *mut C_tensor,
71 self_: *mut C_tensor,
72 other_: *mut C_scalar,
73 );
74 pub fn atg___rshift__tensor_(
75 out__: *mut *mut C_tensor,
76 self_: *mut C_tensor,
77 other_: *mut C_tensor,
78 );
79 pub fn atg___rshift__tensor_out_(
80 out__: *mut *mut C_tensor,
81 out_: *mut C_tensor,
82 self_: *mut C_tensor,
83 other_: *mut C_tensor,
84 );
85 pub fn atg___xor__(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
86 pub fn atg___xor__tensor_(
87 out__: *mut *mut C_tensor,
88 self_: *mut C_tensor,
89 other_: *mut C_tensor,
90 );
91 pub fn atg__adaptive_avg_pool2d(
92 out__: *mut *mut C_tensor,
93 self_: *mut C_tensor,
94 output_size_data: *const i64,
95 output_size_len: c_int,
96 );
97 pub fn atg__adaptive_avg_pool2d_backward(
98 out__: *mut *mut C_tensor,
99 grad_output_: *mut C_tensor,
100 self_: *mut C_tensor,
101 );
102 pub fn atg__adaptive_avg_pool2d_backward_out(
103 out__: *mut *mut C_tensor,
104 out_: *mut C_tensor,
105 grad_output_: *mut C_tensor,
106 self_: *mut C_tensor,
107 );
108 pub fn atg__adaptive_avg_pool2d_out(
109 out__: *mut *mut C_tensor,
110 out_: *mut C_tensor,
111 self_: *mut C_tensor,
112 output_size_data: *const i64,
113 output_size_len: c_int,
114 );
115 pub fn atg__adaptive_avg_pool3d(
116 out__: *mut *mut C_tensor,
117 self_: *mut C_tensor,
118 output_size_data: *const i64,
119 output_size_len: c_int,
120 );
121 pub fn atg__adaptive_avg_pool3d_backward(
122 out__: *mut *mut C_tensor,
123 grad_output_: *mut C_tensor,
124 self_: *mut C_tensor,
125 );
126 pub fn atg__adaptive_avg_pool3d_backward_out(
127 out__: *mut *mut C_tensor,
128 out_: *mut C_tensor,
129 grad_output_: *mut C_tensor,
130 self_: *mut C_tensor,
131 );
132 pub fn atg__adaptive_avg_pool3d_out(
133 out__: *mut *mut C_tensor,
134 out_: *mut C_tensor,
135 self_: *mut C_tensor,
136 output_size_data: *const i64,
137 output_size_len: c_int,
138 );
139 pub fn atg__add_batch_dim(
140 out__: *mut *mut C_tensor,
141 self_: *mut C_tensor,
142 batch_dim_: i64,
143 level_: i64,
144 );
145 pub fn atg__add_relu(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
146 pub fn atg__add_relu_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
147 pub fn atg__add_relu_out(
148 out__: *mut *mut C_tensor,
149 out_: *mut C_tensor,
150 self_: *mut C_tensor,
151 other_: *mut C_tensor,
152 );
153 pub fn atg__add_relu_scalar(
154 out__: *mut *mut C_tensor,
155 self_: *mut C_tensor,
156 other_: *mut C_scalar,
157 );
158 pub fn atg__add_relu_scalar_(
159 out__: *mut *mut C_tensor,
160 self_: *mut C_tensor,
161 other_: *mut C_scalar,
162 );
163 pub fn atg__add_relu_scalar_out(
164 out__: *mut *mut C_tensor,
165 out_: *mut C_tensor,
166 self_: *mut C_tensor,
167 other_: *mut C_scalar,
168 );
169 pub fn atg__addmm_activation(
170 out__: *mut *mut C_tensor,
171 self_: *mut C_tensor,
172 mat1_: *mut C_tensor,
173 mat2_: *mut C_tensor,
174 use_gelu_: c_int,
175 );
176 pub fn atg__addmm_activation_out(
177 out__: *mut *mut C_tensor,
178 out_: *mut C_tensor,
179 self_: *mut C_tensor,
180 mat1_: *mut C_tensor,
181 mat2_: *mut C_tensor,
182 use_gelu_: c_int,
183 );
184 pub fn atg__aminmax(out__: *mut *mut C_tensor, self_: *mut C_tensor);
185 pub fn atg__aminmax_dim(
186 out__: *mut *mut C_tensor,
187 self_: *mut C_tensor,
188 dim_: i64,
189 keepdim_: c_int,
190 );
191 pub fn atg__aminmax_dim_out(
192 out__: *mut *mut C_tensor,
193 out0_: *mut C_tensor,
194 out1_: *mut C_tensor,
195 self_: *mut C_tensor,
196 dim_: i64,
197 keepdim_: c_int,
198 );
199 pub fn atg__aminmax_out(
200 out__: *mut *mut C_tensor,
201 out0_: *mut C_tensor,
202 out1_: *mut C_tensor,
203 self_: *mut C_tensor,
204 );
205 pub fn atg__amp_update_scale(
206 out__: *mut *mut C_tensor,
207 self_: *mut C_tensor,
208 growth_tracker_: *mut C_tensor,
209 found_inf_: *mut C_tensor,
210 scale_growth_factor_: f64,
211 scale_backoff_factor_: f64,
212 growth_interval_: i64,
213 );
214 pub fn atg__amp_update_scale_(
215 out__: *mut *mut C_tensor,
216 self_: *mut C_tensor,
217 growth_tracker_: *mut C_tensor,
218 found_inf_: *mut C_tensor,
219 scale_growth_factor_: f64,
220 scale_backoff_factor_: f64,
221 growth_interval_: i64,
222 );
223 pub fn atg__amp_update_scale_out(
224 out__: *mut *mut C_tensor,
225 out_: *mut C_tensor,
226 self_: *mut C_tensor,
227 growth_tracker_: *mut C_tensor,
228 found_inf_: *mut C_tensor,
229 scale_growth_factor_: f64,
230 scale_backoff_factor_: f64,
231 growth_interval_: i64,
232 );
233 pub fn atg__assert_scalar(
234 self_scalar_: *mut C_scalar,
235 assert_msg_ptr: *const u8,
236 assert_msg_len: c_int,
237 );
238 pub fn atg__assert_tensor_metadata(
239 a_: *mut C_tensor,
240 size_data: *const i64,
241 size_len: c_int,
242 stride_data: *const i64,
243 stride_len: c_int,
244 dtype_: c_int,
245 device_: c_int,
246 layout_: i8,
247 );
248 pub fn atg__autocast_to_full_precision(
249 out__: *mut *mut C_tensor,
250 self_: *mut C_tensor,
251 cuda_enabled_: c_int,
252 cpu_enabled_: c_int,
253 );
254 pub fn atg__autocast_to_reduced_precision(
255 out__: *mut *mut C_tensor,
256 self_: *mut C_tensor,
257 cuda_enabled_: c_int,
258 cpu_enabled_: c_int,
259 cuda_dtype_: c_int,
260 cpu_dtype_: c_int,
261 );
262 pub fn atg__batch_norm_no_update(
263 out__: *mut *mut C_tensor,
264 input_: *mut C_tensor,
265 weight_: *mut C_tensor,
266 bias_: *mut C_tensor,
267 running_mean_: *mut C_tensor,
268 running_var_: *mut C_tensor,
269 momentum_: f64,
270 eps_: f64,
271 );
272 pub fn atg__batch_norm_no_update_out(
273 out__: *mut *mut C_tensor,
274 out0_: *mut C_tensor,
275 out1_: *mut C_tensor,
276 out2_: *mut C_tensor,
277 out3_: *mut C_tensor,
278 input_: *mut C_tensor,
279 weight_: *mut C_tensor,
280 bias_: *mut C_tensor,
281 running_mean_: *mut C_tensor,
282 running_var_: *mut C_tensor,
283 momentum_: f64,
284 eps_: f64,
285 );
286 pub fn atg__batch_norm_with_update(
287 out__: *mut *mut C_tensor,
288 input_: *mut C_tensor,
289 weight_: *mut C_tensor,
290 bias_: *mut C_tensor,
291 running_mean_: *mut C_tensor,
292 running_var_: *mut C_tensor,
293 momentum_: f64,
294 eps_: f64,
295 );
296 pub fn atg__batch_norm_with_update_functional(
297 out__: *mut *mut C_tensor,
298 input_: *mut C_tensor,
299 weight_: *mut C_tensor,
300 bias_: *mut C_tensor,
301 running_mean_: *mut C_tensor,
302 running_var_: *mut C_tensor,
303 momentum_: f64,
304 eps_: f64,
305 );
306 pub fn atg__batch_norm_with_update_out(
307 out__: *mut *mut C_tensor,
308 out_: *mut C_tensor,
309 save_mean_: *mut C_tensor,
310 save_invstd_: *mut C_tensor,
311 reserve_: *mut C_tensor,
312 input_: *mut C_tensor,
313 weight_: *mut C_tensor,
314 bias_: *mut C_tensor,
315 running_mean_: *mut C_tensor,
316 running_var_: *mut C_tensor,
317 momentum_: f64,
318 eps_: f64,
319 );
320 pub fn atg__cast_byte(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
321 pub fn atg__cast_char(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
322 pub fn atg__cast_double(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
323 pub fn atg__cast_float(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
324 pub fn atg__cast_half(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
325 pub fn atg__cast_int(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
326 pub fn atg__cast_long(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
327 pub fn atg__cast_short(out__: *mut *mut C_tensor, self_: *mut C_tensor, non_blocking_: c_int);
328 pub fn atg__cdist_backward(
329 out__: *mut *mut C_tensor,
330 grad_: *mut C_tensor,
331 x1_: *mut C_tensor,
332 x2_: *mut C_tensor,
333 p_: f64,
334 cdist_: *mut C_tensor,
335 );
336 pub fn atg__cdist_backward_out(
337 out__: *mut *mut C_tensor,
338 out_: *mut C_tensor,
339 grad_: *mut C_tensor,
340 x1_: *mut C_tensor,
341 x2_: *mut C_tensor,
342 p_: f64,
343 cdist_: *mut C_tensor,
344 );
345 pub fn atg__cholesky_solve_helper(
346 out__: *mut *mut C_tensor,
347 self_: *mut C_tensor,
348 A_: *mut C_tensor,
349 upper_: c_int,
350 );
351 pub fn atg__cholesky_solve_helper_out(
352 out__: *mut *mut C_tensor,
353 out_: *mut C_tensor,
354 self_: *mut C_tensor,
355 A_: *mut C_tensor,
356 upper_: c_int,
357 );
358 pub fn atg__chunk_cat(
359 out__: *mut *mut C_tensor,
360 tensors_data: *const *mut C_tensor,
361 tensors_len: c_int,
362 dim_: i64,
363 num_chunks_: i64,
364 );
365 pub fn atg__chunk_cat_out(
366 out__: *mut *mut C_tensor,
367 out_: *mut C_tensor,
368 tensors_data: *const *mut C_tensor,
369 tensors_len: c_int,
370 dim_: i64,
371 num_chunks_: i64,
372 );
373 pub fn atg__coalesce(out__: *mut *mut C_tensor, self_: *mut C_tensor);
374 pub fn atg__coalesce_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
375 pub fn atg__coalesced(out__: *mut *mut C_tensor, self_: *mut C_tensor, coalesced_: c_int);
376 pub fn atg__coalesced_(out__: *mut *mut C_tensor, self_: *mut C_tensor, coalesced_: c_int);
377 pub fn atg__coalesced_out(
378 out__: *mut *mut C_tensor,
379 out_: *mut C_tensor,
380 self_: *mut C_tensor,
381 coalesced_: c_int,
382 );
383 pub fn atg__compute_linear_combination(
384 out__: *mut *mut C_tensor,
385 input_: *mut C_tensor,
386 coefficients_: *mut C_tensor,
387 );
388 pub fn atg__compute_linear_combination_out(
389 out__: *mut *mut C_tensor,
390 out_: *mut C_tensor,
391 input_: *mut C_tensor,
392 coefficients_: *mut C_tensor,
393 );
394 pub fn atg__conj(out__: *mut *mut C_tensor, self_: *mut C_tensor);
395 pub fn atg__conj_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
396 pub fn atg__conj_copy_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
397 pub fn atg__conj_physical(out__: *mut *mut C_tensor, self_: *mut C_tensor);
398 pub fn atg__conj_physical_out(
399 out__: *mut *mut C_tensor,
400 out_: *mut C_tensor,
401 self_: *mut C_tensor,
402 );
403 pub fn atg__conv_depthwise2d(
404 out__: *mut *mut C_tensor,
405 self_: *mut C_tensor,
406 weight_: *mut C_tensor,
407 kernel_size_data: *const i64,
408 kernel_size_len: c_int,
409 bias_: *mut C_tensor,
410 stride_data: *const i64,
411 stride_len: c_int,
412 padding_data: *const i64,
413 padding_len: c_int,
414 dilation_data: *const i64,
415 dilation_len: c_int,
416 );
417 pub fn atg__conv_depthwise2d_out(
418 out__: *mut *mut C_tensor,
419 out_: *mut C_tensor,
420 self_: *mut C_tensor,
421 weight_: *mut C_tensor,
422 kernel_size_data: *const i64,
423 kernel_size_len: c_int,
424 bias_: *mut C_tensor,
425 stride_data: *const i64,
426 stride_len: c_int,
427 padding_data: *const i64,
428 padding_len: c_int,
429 dilation_data: *const i64,
430 dilation_len: c_int,
431 );
432 pub fn atg__convert_indices_from_coo_to_csr(
433 out__: *mut *mut C_tensor,
434 self_: *mut C_tensor,
435 size_: i64,
436 out_int32_: c_int,
437 );
438 pub fn atg__convert_indices_from_coo_to_csr_out(
439 out__: *mut *mut C_tensor,
440 out_: *mut C_tensor,
441 self_: *mut C_tensor,
442 size_: i64,
443 out_int32_: c_int,
444 );
445 pub fn atg__convert_indices_from_csr_to_coo(
446 out__: *mut *mut C_tensor,
447 crow_indices_: *mut C_tensor,
448 col_indices_: *mut C_tensor,
449 out_int32_: c_int,
450 transpose_: c_int,
451 );
452 pub fn atg__convert_indices_from_csr_to_coo_out(
453 out__: *mut *mut C_tensor,
454 out_: *mut C_tensor,
455 crow_indices_: *mut C_tensor,
456 col_indices_: *mut C_tensor,
457 out_int32_: c_int,
458 transpose_: c_int,
459 );
460 pub fn atg__convert_weight_to_int4pack(
461 out__: *mut *mut C_tensor,
462 self_: *mut C_tensor,
463 innerKTiles_: i64,
464 );
465 pub fn atg__convert_weight_to_int4pack_for_cpu(
466 out__: *mut *mut C_tensor,
467 self_: *mut C_tensor,
468 innerKTiles_: i64,
469 );
470 pub fn atg__convolution(
471 out__: *mut *mut C_tensor,
472 input_: *mut C_tensor,
473 weight_: *mut C_tensor,
474 bias_: *mut C_tensor,
475 stride_data: *const i64,
476 stride_len: c_int,
477 padding_data: *const i64,
478 padding_len: c_int,
479 dilation_data: *const i64,
480 dilation_len: c_int,
481 transposed_: c_int,
482 output_padding_data: *const i64,
483 output_padding_len: c_int,
484 groups_: i64,
485 benchmark_: c_int,
486 deterministic_: c_int,
487 cudnn_enabled_: c_int,
488 allow_tf32_: c_int,
489 );
490 pub fn atg__convolution_deprecated(
491 out__: *mut *mut C_tensor,
492 input_: *mut C_tensor,
493 weight_: *mut C_tensor,
494 bias_: *mut C_tensor,
495 stride_data: *const i64,
496 stride_len: c_int,
497 padding_data: *const i64,
498 padding_len: c_int,
499 dilation_data: *const i64,
500 dilation_len: c_int,
501 transposed_: c_int,
502 output_padding_data: *const i64,
503 output_padding_len: c_int,
504 groups_: i64,
505 benchmark_: c_int,
506 deterministic_: c_int,
507 cudnn_enabled_: c_int,
508 );
509 pub fn atg__convolution_mode(
510 out__: *mut *mut C_tensor,
511 input_: *mut C_tensor,
512 weight_: *mut C_tensor,
513 bias_: *mut C_tensor,
514 stride_data: *const i64,
515 stride_len: c_int,
516 padding_ptr: *const u8,
517 padding_len: c_int,
518 dilation_data: *const i64,
519 dilation_len: c_int,
520 groups_: i64,
521 );
522 pub fn atg__convolution_out(
523 out__: *mut *mut C_tensor,
524 out_: *mut C_tensor,
525 input_: *mut C_tensor,
526 weight_: *mut C_tensor,
527 bias_: *mut C_tensor,
528 stride_data: *const i64,
529 stride_len: c_int,
530 padding_data: *const i64,
531 padding_len: c_int,
532 dilation_data: *const i64,
533 dilation_len: c_int,
534 transposed_: c_int,
535 output_padding_data: *const i64,
536 output_padding_len: c_int,
537 groups_: i64,
538 benchmark_: c_int,
539 deterministic_: c_int,
540 cudnn_enabled_: c_int,
541 allow_tf32_: c_int,
542 );
543 pub fn atg__copy_from(
544 out__: *mut *mut C_tensor,
545 self_: *mut C_tensor,
546 dst_: *mut C_tensor,
547 non_blocking_: c_int,
548 );
549 pub fn atg__copy_from_and_resize(
550 out__: *mut *mut C_tensor,
551 self_: *mut C_tensor,
552 dst_: *mut C_tensor,
553 );
554 pub fn atg__copy_from_and_resize_out(
555 out__: *mut *mut C_tensor,
556 out_: *mut C_tensor,
557 self_: *mut C_tensor,
558 dst_: *mut C_tensor,
559 );
560 pub fn atg__copy_from_out(
561 out__: *mut *mut C_tensor,
562 out_: *mut C_tensor,
563 self_: *mut C_tensor,
564 dst_: *mut C_tensor,
565 non_blocking_: c_int,
566 );
567 pub fn atg__cslt_compress(out__: *mut *mut C_tensor, input_: *mut C_tensor);
568 pub fn atg__cslt_sparse_mm(
569 out__: *mut *mut C_tensor,
570 compressed_A_: *mut C_tensor,
571 dense_B_: *mut C_tensor,
572 bias_: *mut C_tensor,
573 alpha_: *mut C_tensor,
574 out_dtype_: c_int,
575 transpose_result_: c_int,
576 alg_id_: i64,
577 split_k_: i64,
578 split_k_mode_: i64,
579 );
580 pub fn atg__cslt_sparse_mm_search(
581 compressed_A_: *mut C_tensor,
582 dense_B_: *mut C_tensor,
583 bias_: *mut C_tensor,
584 alpha_: *mut C_tensor,
585 out_dtype_: c_int,
586 transpose_result_: c_int,
587 ) -> i64;
588 pub fn atg__ctc_loss(
589 out__: *mut *mut C_tensor,
590 log_probs_: *mut C_tensor,
591 targets_: *mut C_tensor,
592 input_lengths_data: *const i64,
593 input_lengths_len: c_int,
594 target_lengths_data: *const i64,
595 target_lengths_len: c_int,
596 blank_: i64,
597 zero_infinity_: c_int,
598 );
599 pub fn atg__ctc_loss_backward(
600 out__: *mut *mut C_tensor,
601 grad_: *mut C_tensor,
602 log_probs_: *mut C_tensor,
603 targets_: *mut C_tensor,
604 input_lengths_data: *const i64,
605 input_lengths_len: c_int,
606 target_lengths_data: *const i64,
607 target_lengths_len: c_int,
608 neg_log_likelihood_: *mut C_tensor,
609 log_alpha_: *mut C_tensor,
610 blank_: i64,
611 zero_infinity_: c_int,
612 );
613 pub fn atg__ctc_loss_backward_out(
614 out__: *mut *mut C_tensor,
615 out_: *mut C_tensor,
616 grad_: *mut C_tensor,
617 log_probs_: *mut C_tensor,
618 targets_: *mut C_tensor,
619 input_lengths_data: *const i64,
620 input_lengths_len: c_int,
621 target_lengths_data: *const i64,
622 target_lengths_len: c_int,
623 neg_log_likelihood_: *mut C_tensor,
624 log_alpha_: *mut C_tensor,
625 blank_: i64,
626 zero_infinity_: c_int,
627 );
628 pub fn atg__ctc_loss_backward_tensor(
629 out__: *mut *mut C_tensor,
630 grad_: *mut C_tensor,
631 log_probs_: *mut C_tensor,
632 targets_: *mut C_tensor,
633 input_lengths_: *mut C_tensor,
634 target_lengths_: *mut C_tensor,
635 neg_log_likelihood_: *mut C_tensor,
636 log_alpha_: *mut C_tensor,
637 blank_: i64,
638 zero_infinity_: c_int,
639 );
640 pub fn atg__ctc_loss_out(
641 out__: *mut *mut C_tensor,
642 out0_: *mut C_tensor,
643 out1_: *mut C_tensor,
644 log_probs_: *mut C_tensor,
645 targets_: *mut C_tensor,
646 input_lengths_data: *const i64,
647 input_lengths_len: c_int,
648 target_lengths_data: *const i64,
649 target_lengths_len: c_int,
650 blank_: i64,
651 zero_infinity_: c_int,
652 );
653 pub fn atg__ctc_loss_tensor(
654 out__: *mut *mut C_tensor,
655 log_probs_: *mut C_tensor,
656 targets_: *mut C_tensor,
657 input_lengths_: *mut C_tensor,
658 target_lengths_: *mut C_tensor,
659 blank_: i64,
660 zero_infinity_: c_int,
661 );
662 pub fn atg__ctc_loss_tensor_out(
663 out__: *mut *mut C_tensor,
664 out0_: *mut C_tensor,
665 out1_: *mut C_tensor,
666 log_probs_: *mut C_tensor,
667 targets_: *mut C_tensor,
668 input_lengths_: *mut C_tensor,
669 target_lengths_: *mut C_tensor,
670 blank_: i64,
671 zero_infinity_: c_int,
672 );
673 pub fn atg__cudnn_attention_backward(
674 out__: *mut *mut C_tensor,
675 grad_out_: *mut C_tensor,
676 query_: *mut C_tensor,
677 key_: *mut C_tensor,
678 value_: *mut C_tensor,
679 out_: *mut C_tensor,
680 logsumexp_: *mut C_tensor,
681 philox_seed_: *mut C_tensor,
682 philox_offset_: *mut C_tensor,
683 attn_bias_: *mut C_tensor,
684 cum_seq_q_: *mut C_tensor,
685 cum_seq_k_: *mut C_tensor,
686 max_q_: i64,
687 max_k_: i64,
688 dropout_p_: f64,
689 is_causal_: c_int,
690 scale_v: f64,
691 scale_null: i8,
692 );
693 pub fn atg__cudnn_ctc_loss(
694 out__: *mut *mut C_tensor,
695 log_probs_: *mut C_tensor,
696 targets_: *mut C_tensor,
697 input_lengths_data: *const i64,
698 input_lengths_len: c_int,
699 target_lengths_data: *const i64,
700 target_lengths_len: c_int,
701 blank_: i64,
702 deterministic_: c_int,
703 zero_infinity_: c_int,
704 );
705 pub fn atg__cudnn_ctc_loss_out(
706 out__: *mut *mut C_tensor,
707 out0_: *mut C_tensor,
708 out1_: *mut C_tensor,
709 log_probs_: *mut C_tensor,
710 targets_: *mut C_tensor,
711 input_lengths_data: *const i64,
712 input_lengths_len: c_int,
713 target_lengths_data: *const i64,
714 target_lengths_len: c_int,
715 blank_: i64,
716 deterministic_: c_int,
717 zero_infinity_: c_int,
718 );
719 pub fn atg__cudnn_ctc_loss_tensor(
720 out__: *mut *mut C_tensor,
721 log_probs_: *mut C_tensor,
722 targets_: *mut C_tensor,
723 input_lengths_: *mut C_tensor,
724 target_lengths_: *mut C_tensor,
725 blank_: i64,
726 deterministic_: c_int,
727 zero_infinity_: c_int,
728 );
729 pub fn atg__cudnn_init_dropout_state(
730 out__: *mut *mut C_tensor,
731 dropout_: f64,
732 train_: c_int,
733 dropout_seed_: i64,
734 options_kind: c_int,
735 options_device: c_int,
736 );
737 pub fn atg__cudnn_init_dropout_state_out(
738 out__: *mut *mut C_tensor,
739 out_: *mut C_tensor,
740 dropout_: f64,
741 train_: c_int,
742 dropout_seed_: i64,
743 );
744 pub fn atg__cudnn_rnn(
745 out__: *mut *mut C_tensor,
746 input_: *mut C_tensor,
747 weight_data: *const *mut C_tensor,
748 weight_len: c_int,
749 weight_stride0_: i64,
750 weight_buf_: *mut C_tensor,
751 hx_: *mut C_tensor,
752 cx_: *mut C_tensor,
753 mode_: i64,
754 hidden_size_: i64,
755 proj_size_: i64,
756 num_layers_: i64,
757 batch_first_: c_int,
758 dropout_: f64,
759 train_: c_int,
760 bidirectional_: c_int,
761 batch_sizes_data: *const i64,
762 batch_sizes_len: c_int,
763 dropout_state_: *mut C_tensor,
764 );
765 pub fn atg__cudnn_rnn_flatten_weight(
766 out__: *mut *mut C_tensor,
767 weight_arr_data: *const *mut C_tensor,
768 weight_arr_len: c_int,
769 weight_stride0_: i64,
770 input_size_: i64,
771 mode_: i64,
772 hidden_size_: i64,
773 proj_size_: i64,
774 num_layers_: i64,
775 batch_first_: c_int,
776 bidirectional_: c_int,
777 );
778 pub fn atg__cudnn_rnn_flatten_weight_out(
779 out__: *mut *mut C_tensor,
780 out_: *mut C_tensor,
781 weight_arr_data: *const *mut C_tensor,
782 weight_arr_len: c_int,
783 weight_stride0_: i64,
784 input_size_: i64,
785 mode_: i64,
786 hidden_size_: i64,
787 proj_size_: i64,
788 num_layers_: i64,
789 batch_first_: c_int,
790 bidirectional_: c_int,
791 );
792 pub fn atg__cudnn_rnn_out(
793 out__: *mut *mut C_tensor,
794 out0_: *mut C_tensor,
795 out1_: *mut C_tensor,
796 out2_: *mut C_tensor,
797 out3_: *mut C_tensor,
798 out4_: *mut C_tensor,
799 input_: *mut C_tensor,
800 weight_data: *const *mut C_tensor,
801 weight_len: c_int,
802 weight_stride0_: i64,
803 weight_buf_: *mut C_tensor,
804 hx_: *mut C_tensor,
805 cx_: *mut C_tensor,
806 mode_: i64,
807 hidden_size_: i64,
808 proj_size_: i64,
809 num_layers_: i64,
810 batch_first_: c_int,
811 dropout_: f64,
812 train_: c_int,
813 bidirectional_: c_int,
814 batch_sizes_data: *const i64,
815 batch_sizes_len: c_int,
816 dropout_state_: *mut C_tensor,
817 );
818 pub fn atg__debug_has_internal_overlap(self_: *mut C_tensor) -> i64;
819 pub fn atg__dim_arange(out__: *mut *mut C_tensor, like_: *mut C_tensor, dim_: i64);
820 pub fn atg__dimi(self_: *mut C_tensor) -> i64;
821 pub fn atg__dimv(self_: *mut C_tensor) -> i64;
822 pub fn atg__dirichlet_grad(
823 out__: *mut *mut C_tensor,
824 x_: *mut C_tensor,
825 alpha_: *mut C_tensor,
826 total_: *mut C_tensor,
827 );
828 pub fn atg__dirichlet_grad_out(
829 out__: *mut *mut C_tensor,
830 out_: *mut C_tensor,
831 x_: *mut C_tensor,
832 alpha_: *mut C_tensor,
833 total_: *mut C_tensor,
834 );
835 pub fn atg__dyn_quant_matmul_4bit(
836 out__: *mut *mut C_tensor,
837 inp_: *mut C_tensor,
838 packed_weights_: *mut C_tensor,
839 block_size_: i64,
840 in_features_: i64,
841 out_features_: i64,
842 );
843 pub fn atg__dyn_quant_pack_4bit_weight(
844 out__: *mut *mut C_tensor,
845 weights_: *mut C_tensor,
846 scales_zeros_: *mut C_tensor,
847 bias_: *mut C_tensor,
848 block_size_: i64,
849 in_features_: i64,
850 out_features_: i64,
851 );
852 pub fn atg__efficient_attention_backward(
853 out__: *mut *mut C_tensor,
854 grad_out__: *mut C_tensor,
855 query_: *mut C_tensor,
856 key_: *mut C_tensor,
857 value_: *mut C_tensor,
858 bias_: *mut C_tensor,
859 out_: *mut C_tensor,
860 cu_seqlens_q_: *mut C_tensor,
861 cu_seqlens_k_: *mut C_tensor,
862 max_seqlen_q_: i64,
863 max_seqlen_k_: i64,
864 logsumexp_: *mut C_tensor,
865 dropout_p_: f64,
866 philox_seed_: *mut C_tensor,
867 philox_offset_: *mut C_tensor,
868 custom_mask_type_: i64,
869 bias_requires_grad_: c_int,
870 scale_v: f64,
871 scale_null: i8,
872 num_splits_key_v: i64,
873 num_splits_key_null: i8,
874 window_size_v: i64,
875 window_size_null: i8,
876 shared_storage_dqdkdv_: c_int,
877 );
878 pub fn atg__efficientzerotensor(
879 out__: *mut *mut C_tensor,
880 size_data: *const i64,
881 size_len: c_int,
882 options_kind: c_int,
883 options_device: c_int,
884 );
885 pub fn atg__efficientzerotensor_out(
886 out__: *mut *mut C_tensor,
887 out_: *mut C_tensor,
888 size_data: *const i64,
889 size_len: c_int,
890 );
891 pub fn atg__embedding_bag(
892 out__: *mut *mut C_tensor,
893 weight_: *mut C_tensor,
894 indices_: *mut C_tensor,
895 offsets_: *mut C_tensor,
896 scale_grad_by_freq_: c_int,
897 mode_: i64,
898 sparse_: c_int,
899 per_sample_weights_: *mut C_tensor,
900 include_last_offset_: c_int,
901 padding_idx_: i64,
902 );
903 pub fn atg__embedding_bag_backward(
904 out__: *mut *mut C_tensor,
905 grad_: *mut C_tensor,
906 indices_: *mut C_tensor,
907 offsets_: *mut C_tensor,
908 offset2bag_: *mut C_tensor,
909 bag_size_: *mut C_tensor,
910 maximum_indices_: *mut C_tensor,
911 num_weights_: i64,
912 scale_grad_by_freq_: c_int,
913 mode_: i64,
914 sparse_: c_int,
915 per_sample_weights_: *mut C_tensor,
916 padding_idx_: i64,
917 );
918 pub fn atg__embedding_bag_dense_backward(
919 out__: *mut *mut C_tensor,
920 grad_: *mut C_tensor,
921 indices_: *mut C_tensor,
922 offset2bag_: *mut C_tensor,
923 bag_size_: *mut C_tensor,
924 maximum_indices_: *mut C_tensor,
925 num_weights_: i64,
926 scale_grad_by_freq_: c_int,
927 mode_: i64,
928 per_sample_weights_: *mut C_tensor,
929 padding_idx_: i64,
930 );
931 pub fn atg__embedding_bag_dense_backward_out(
932 out__: *mut *mut C_tensor,
933 out_: *mut C_tensor,
934 grad_: *mut C_tensor,
935 indices_: *mut C_tensor,
936 offset2bag_: *mut C_tensor,
937 bag_size_: *mut C_tensor,
938 maximum_indices_: *mut C_tensor,
939 num_weights_: i64,
940 scale_grad_by_freq_: c_int,
941 mode_: i64,
942 per_sample_weights_: *mut C_tensor,
943 padding_idx_: i64,
944 );
945 pub fn atg__embedding_bag_forward_only(
946 out__: *mut *mut C_tensor,
947 weight_: *mut C_tensor,
948 indices_: *mut C_tensor,
949 offsets_: *mut C_tensor,
950 scale_grad_by_freq_: c_int,
951 mode_: i64,
952 sparse_: c_int,
953 per_sample_weights_: *mut C_tensor,
954 include_last_offset_: c_int,
955 padding_idx_: i64,
956 );
957 pub fn atg__embedding_bag_forward_only_out(
958 out__: *mut *mut C_tensor,
959 out0_: *mut C_tensor,
960 out1_: *mut C_tensor,
961 out2_: *mut C_tensor,
962 out3_: *mut C_tensor,
963 weight_: *mut C_tensor,
964 indices_: *mut C_tensor,
965 offsets_: *mut C_tensor,
966 scale_grad_by_freq_: c_int,
967 mode_: i64,
968 sparse_: c_int,
969 per_sample_weights_: *mut C_tensor,
970 include_last_offset_: c_int,
971 padding_idx_: i64,
972 );
973 pub fn atg__embedding_bag_out(
974 out__: *mut *mut C_tensor,
975 out0_: *mut C_tensor,
976 out1_: *mut C_tensor,
977 out2_: *mut C_tensor,
978 out3_: *mut C_tensor,
979 weight_: *mut C_tensor,
980 indices_: *mut C_tensor,
981 offsets_: *mut C_tensor,
982 scale_grad_by_freq_: c_int,
983 mode_: i64,
984 sparse_: c_int,
985 per_sample_weights_: *mut C_tensor,
986 include_last_offset_: c_int,
987 padding_idx_: i64,
988 );
989 pub fn atg__embedding_bag_per_sample_weights_backward(
990 out__: *mut *mut C_tensor,
991 grad_: *mut C_tensor,
992 weight_: *mut C_tensor,
993 indices_: *mut C_tensor,
994 offsets_: *mut C_tensor,
995 offset2bag_: *mut C_tensor,
996 mode_: i64,
997 padding_idx_: i64,
998 );
999 pub fn atg__embedding_bag_per_sample_weights_backward_out(
1000 out__: *mut *mut C_tensor,
1001 out_: *mut C_tensor,
1002 grad_: *mut C_tensor,
1003 weight_: *mut C_tensor,
1004 indices_: *mut C_tensor,
1005 offsets_: *mut C_tensor,
1006 offset2bag_: *mut C_tensor,
1007 mode_: i64,
1008 padding_idx_: i64,
1009 );
1010 pub fn atg__embedding_bag_sparse_backward(
1011 out__: *mut *mut C_tensor,
1012 grad_: *mut C_tensor,
1013 indices_: *mut C_tensor,
1014 offsets_: *mut C_tensor,
1015 offset2bag_: *mut C_tensor,
1016 bag_size_: *mut C_tensor,
1017 num_weights_: i64,
1018 scale_grad_by_freq_: c_int,
1019 mode_: i64,
1020 per_sample_weights_: *mut C_tensor,
1021 padding_idx_: i64,
1022 );
1023 pub fn atg__empty_affine_quantized(
1024 out__: *mut *mut C_tensor,
1025 size_data: *const i64,
1026 size_len: c_int,
1027 options_kind: c_int,
1028 options_device: c_int,
1029 scale_: f64,
1030 zero_point_: i64,
1031 );
1032 pub fn atg__empty_affine_quantized_out(
1033 out__: *mut *mut C_tensor,
1034 out_: *mut C_tensor,
1035 size_data: *const i64,
1036 size_len: c_int,
1037 scale_: f64,
1038 zero_point_: i64,
1039 );
1040 pub fn atg__empty_per_channel_affine_quantized(
1041 out__: *mut *mut C_tensor,
1042 size_data: *const i64,
1043 size_len: c_int,
1044 scales_: *mut C_tensor,
1045 zero_points_: *mut C_tensor,
1046 axis_: i64,
1047 options_kind: c_int,
1048 options_device: c_int,
1049 );
1050 pub fn atg__empty_per_channel_affine_quantized_out(
1051 out__: *mut *mut C_tensor,
1052 out_: *mut C_tensor,
1053 size_data: *const i64,
1054 size_len: c_int,
1055 scales_: *mut C_tensor,
1056 zero_points_: *mut C_tensor,
1057 axis_: i64,
1058 );
1059 pub fn atg__euclidean_dist(out__: *mut *mut C_tensor, x1_: *mut C_tensor, x2_: *mut C_tensor);
1060 pub fn atg__euclidean_dist_out(
1061 out__: *mut *mut C_tensor,
1062 out_: *mut C_tensor,
1063 x1_: *mut C_tensor,
1064 x2_: *mut C_tensor,
1065 );
1066 pub fn atg__fake_quantize_learnable_per_channel_affine(
1067 out__: *mut *mut C_tensor,
1068 self_: *mut C_tensor,
1069 scale_: *mut C_tensor,
1070 zero_point_: *mut C_tensor,
1071 axis_: i64,
1072 quant_min_: i64,
1073 quant_max_: i64,
1074 grad_factor_: f64,
1075 );
1076 pub fn atg__fake_quantize_learnable_per_channel_affine_backward(
1077 out__: *mut *mut C_tensor,
1078 grad_: *mut C_tensor,
1079 self_: *mut C_tensor,
1080 scale_: *mut C_tensor,
1081 zero_point_: *mut C_tensor,
1082 axis_: i64,
1083 quant_min_: i64,
1084 quant_max_: i64,
1085 grad_factor_: f64,
1086 );
1087 pub fn atg__fake_quantize_learnable_per_channel_affine_out(
1088 out__: *mut *mut C_tensor,
1089 out_: *mut C_tensor,
1090 self_: *mut C_tensor,
1091 scale_: *mut C_tensor,
1092 zero_point_: *mut C_tensor,
1093 axis_: i64,
1094 quant_min_: i64,
1095 quant_max_: i64,
1096 grad_factor_: f64,
1097 );
1098 pub fn atg__fake_quantize_learnable_per_tensor_affine(
1099 out__: *mut *mut C_tensor,
1100 self_: *mut C_tensor,
1101 scale_: *mut C_tensor,
1102 zero_point_: *mut C_tensor,
1103 quant_min_: i64,
1104 quant_max_: i64,
1105 grad_factor_: f64,
1106 );
1107 pub fn atg__fake_quantize_learnable_per_tensor_affine_backward(
1108 out__: *mut *mut C_tensor,
1109 grad_: *mut C_tensor,
1110 self_: *mut C_tensor,
1111 scale_: *mut C_tensor,
1112 zero_point_: *mut C_tensor,
1113 quant_min_: i64,
1114 quant_max_: i64,
1115 grad_factor_: f64,
1116 );
1117 pub fn atg__fake_quantize_learnable_per_tensor_affine_out(
1118 out__: *mut *mut C_tensor,
1119 out_: *mut C_tensor,
1120 self_: *mut C_tensor,
1121 scale_: *mut C_tensor,
1122 zero_point_: *mut C_tensor,
1123 quant_min_: i64,
1124 quant_max_: i64,
1125 grad_factor_: f64,
1126 );
1127 pub fn atg__fake_quantize_per_tensor_affine_cachemask_tensor_qparams(
1128 out__: *mut *mut C_tensor,
1129 self_: *mut C_tensor,
1130 scale_: *mut C_tensor,
1131 zero_point_: *mut C_tensor,
1132 fake_quant_enabled_: *mut C_tensor,
1133 quant_min_: i64,
1134 quant_max_: i64,
1135 );
1136 pub fn atg__fake_quantize_per_tensor_affine_cachemask_tensor_qparams_out(
1137 out__: *mut *mut C_tensor,
1138 out0_: *mut C_tensor,
1139 out1_: *mut C_tensor,
1140 self_: *mut C_tensor,
1141 scale_: *mut C_tensor,
1142 zero_point_: *mut C_tensor,
1143 fake_quant_enabled_: *mut C_tensor,
1144 quant_min_: i64,
1145 quant_max_: i64,
1146 );
1147 pub fn atg__fft_c2c(
1148 out__: *mut *mut C_tensor,
1149 self_: *mut C_tensor,
1150 dim_data: *const i64,
1151 dim_len: c_int,
1152 normalization_: i64,
1153 forward_: c_int,
1154 );
1155 pub fn atg__fft_c2c_out(
1156 out__: *mut *mut C_tensor,
1157 out_: *mut C_tensor,
1158 self_: *mut C_tensor,
1159 dim_data: *const i64,
1160 dim_len: c_int,
1161 normalization_: i64,
1162 forward_: c_int,
1163 );
1164 pub fn atg__fft_c2r(
1165 out__: *mut *mut C_tensor,
1166 self_: *mut C_tensor,
1167 dim_data: *const i64,
1168 dim_len: c_int,
1169 normalization_: i64,
1170 last_dim_size_: i64,
1171 );
1172 pub fn atg__fft_c2r_out(
1173 out__: *mut *mut C_tensor,
1174 out_: *mut C_tensor,
1175 self_: *mut C_tensor,
1176 dim_data: *const i64,
1177 dim_len: c_int,
1178 normalization_: i64,
1179 last_dim_size_: i64,
1180 );
1181 pub fn atg__fft_r2c(
1182 out__: *mut *mut C_tensor,
1183 self_: *mut C_tensor,
1184 dim_data: *const i64,
1185 dim_len: c_int,
1186 normalization_: i64,
1187 onesided_: c_int,
1188 );
1189 pub fn atg__fft_r2c_out(
1190 out__: *mut *mut C_tensor,
1191 out_: *mut C_tensor,
1192 self_: *mut C_tensor,
1193 dim_data: *const i64,
1194 dim_len: c_int,
1195 normalization_: i64,
1196 onesided_: c_int,
1197 );
1198 pub fn atg__fill_mem_eff_dropout_mask_(
1199 out__: *mut *mut C_tensor,
1200 self_: *mut C_tensor,
1201 dropout_p_: f64,
1202 seed_: i64,
1203 offset_: i64,
1204 );
1205 pub fn atg__flash_attention_backward(
1206 out__: *mut *mut C_tensor,
1207 grad_out_: *mut C_tensor,
1208 query_: *mut C_tensor,
1209 key_: *mut C_tensor,
1210 value_: *mut C_tensor,
1211 out_: *mut C_tensor,
1212 logsumexp_: *mut C_tensor,
1213 cum_seq_q_: *mut C_tensor,
1214 cum_seq_k_: *mut C_tensor,
1215 max_q_: i64,
1216 max_k_: i64,
1217 dropout_p_: f64,
1218 is_causal_: c_int,
1219 rng_state_: *mut C_tensor,
1220 unused_: *mut C_tensor,
1221 scale_v: f64,
1222 scale_null: i8,
1223 window_size_left_v: i64,
1224 window_size_left_null: i8,
1225 window_size_right_v: i64,
1226 window_size_right_null: i8,
1227 );
1228 pub fn atg__foobar(
1229 out__: *mut *mut C_tensor,
1230 self_: *mut C_tensor,
1231 arg1_: c_int,
1232 arg2_: c_int,
1233 arg3_: c_int,
1234 );
1235 pub fn atg__foobar_out(
1236 out__: *mut *mut C_tensor,
1237 out_: *mut C_tensor,
1238 self_: *mut C_tensor,
1239 arg1_: c_int,
1240 arg2_: c_int,
1241 arg3_: c_int,
1242 );
1243 pub fn atg__functional_assert_async(
1244 out__: *mut *mut C_tensor,
1245 self_: *mut C_tensor,
1246 assert_msg_ptr: *const u8,
1247 assert_msg_len: c_int,
1248 dep_token_: *mut C_tensor,
1249 );
1250 pub fn atg__functional_assert_scalar(
1251 out__: *mut *mut C_tensor,
1252 self_scalar_: *mut C_scalar,
1253 assert_msg_ptr: *const u8,
1254 assert_msg_len: c_int,
1255 dep_token_: *mut C_tensor,
1256 );
1257 pub fn atg__functional_sym_constrain_range(
1258 out__: *mut *mut C_tensor,
1259 size_: *mut C_scalar,
1260 min_v: i64,
1261 min_null: i8,
1262 max_v: i64,
1263 max_null: i8,
1264 dep_token_: *mut C_tensor,
1265 );
1266 pub fn atg__functional_sym_constrain_range_for_size(
1267 out__: *mut *mut C_tensor,
1268 size_: *mut C_scalar,
1269 min_v: i64,
1270 min_null: i8,
1271 max_v: i64,
1272 max_null: i8,
1273 dep_token_: *mut C_tensor,
1274 );
1275 pub fn atg__fused_dropout(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
1276 pub fn atg__fused_dropout_out(
1277 out__: *mut *mut C_tensor,
1278 out0_: *mut C_tensor,
1279 out1_: *mut C_tensor,
1280 self_: *mut C_tensor,
1281 p_: f64,
1282 );
1283 pub fn atg__fused_moving_avg_obs_fq_helper(
1284 out__: *mut *mut C_tensor,
1285 self_: *mut C_tensor,
1286 observer_on_: *mut C_tensor,
1287 fake_quant_on_: *mut C_tensor,
1288 running_min_: *mut C_tensor,
1289 running_max_: *mut C_tensor,
1290 scale_: *mut C_tensor,
1291 zero_point_: *mut C_tensor,
1292 averaging_const_: f64,
1293 quant_min_: i64,
1294 quant_max_: i64,
1295 ch_axis_: i64,
1296 per_row_fake_quant_: c_int,
1297 symmetric_quant_: c_int,
1298 );
1299 pub fn atg__fused_moving_avg_obs_fq_helper_functional(
1300 out__: *mut *mut C_tensor,
1301 self_: *mut C_tensor,
1302 observer_on_: *mut C_tensor,
1303 fake_quant_on_: *mut C_tensor,
1304 running_min_: *mut C_tensor,
1305 running_max_: *mut C_tensor,
1306 scale_: *mut C_tensor,
1307 zero_point_: *mut C_tensor,
1308 averaging_const_: f64,
1309 quant_min_: i64,
1310 quant_max_: i64,
1311 ch_axis_: i64,
1312 per_row_fake_quant_: c_int,
1313 symmetric_quant_: c_int,
1314 );
1315 pub fn atg__fused_moving_avg_obs_fq_helper_out(
1316 out__: *mut *mut C_tensor,
1317 out0_: *mut C_tensor,
1318 out1_: *mut C_tensor,
1319 self_: *mut C_tensor,
1320 observer_on_: *mut C_tensor,
1321 fake_quant_on_: *mut C_tensor,
1322 running_min_: *mut C_tensor,
1323 running_max_: *mut C_tensor,
1324 scale_: *mut C_tensor,
1325 zero_point_: *mut C_tensor,
1326 averaging_const_: f64,
1327 quant_min_: i64,
1328 quant_max_: i64,
1329 ch_axis_: i64,
1330 per_row_fake_quant_: c_int,
1331 symmetric_quant_: c_int,
1332 );
1333 pub fn atg__fused_rms_norm(
1334 out__: *mut *mut C_tensor,
1335 input_: *mut C_tensor,
1336 normalized_shape_data: *const i64,
1337 normalized_shape_len: c_int,
1338 weight_: *mut C_tensor,
1339 eps_v: f64,
1340 eps_null: i8,
1341 );
1342 pub fn atg__fused_sdp_choice(
1343 query_: *mut C_tensor,
1344 key_: *mut C_tensor,
1345 value_: *mut C_tensor,
1346 attn_mask_: *mut C_tensor,
1347 dropout_p_: f64,
1348 is_causal_: c_int,
1349 scale_v: f64,
1350 scale_null: i8,
1351 enable_gqa_: c_int,
1352 ) -> i64;
1353 pub fn atg__fw_primal(out__: *mut *mut C_tensor, self_: *mut C_tensor, level_: i64);
1354 pub fn atg__fw_primal_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor, level_: i64);
1355 pub fn atg__fw_primal_copy_out(
1356 out__: *mut *mut C_tensor,
1357 out_: *mut C_tensor,
1358 self_: *mut C_tensor,
1359 level_: i64,
1360 );
1361 pub fn atg__gather_sparse_backward(
1362 out__: *mut *mut C_tensor,
1363 self_: *mut C_tensor,
1364 dim_: i64,
1365 index_: *mut C_tensor,
1366 grad_: *mut C_tensor,
1367 );
1368 pub fn atg__grid_sampler_2d_cpu_fallback(
1369 out__: *mut *mut C_tensor,
1370 input_: *mut C_tensor,
1371 grid_: *mut C_tensor,
1372 interpolation_mode_: i64,
1373 padding_mode_: i64,
1374 align_corners_: c_int,
1375 );
1376 pub fn atg__grid_sampler_2d_cpu_fallback_backward(
1377 out__: *mut *mut C_tensor,
1378 grad_output_: *mut C_tensor,
1379 input_: *mut C_tensor,
1380 grid_: *mut C_tensor,
1381 interpolation_mode_: i64,
1382 padding_mode_: i64,
1383 align_corners_: c_int,
1384 );
1385 pub fn atg__grid_sampler_2d_cpu_fallback_out(
1386 out__: *mut *mut C_tensor,
1387 out_: *mut C_tensor,
1388 input_: *mut C_tensor,
1389 grid_: *mut C_tensor,
1390 interpolation_mode_: i64,
1391 padding_mode_: i64,
1392 align_corners_: c_int,
1393 );
1394 pub fn atg__grouped_mm(
1395 out__: *mut *mut C_tensor,
1396 self_: *mut C_tensor,
1397 mat2_: *mut C_tensor,
1398 offs_: *mut C_tensor,
1399 bias_: *mut C_tensor,
1400 out_dtype_: c_int,
1401 );
1402 pub fn atg__has_compatible_shallow_copy_type(
1403 self_: *mut C_tensor,
1404 from_: *mut C_tensor,
1405 ) -> c_int;
1406 pub fn atg__has_same_storage_numel(self_: *mut C_tensor, other_: *mut C_tensor) -> c_int;
1407 pub fn atg__histogramdd_bin_edges(
1408 self_: *mut C_tensor,
1409 bins_data: *const i64,
1410 bins_len: c_int,
1411 range_data: *const f64,
1412 range_len: c_int,
1413 weight_: *mut C_tensor,
1414 density_: c_int,
1415 ) -> *mut *mut C_tensor;
1416 pub fn atg__histogramdd_bin_edges_out(
1417 out_data: *const *mut C_tensor,
1418 out_len: c_int,
1419 self_: *mut C_tensor,
1420 bins_data: *const i64,
1421 bins_len: c_int,
1422 range_data: *const f64,
1423 range_len: c_int,
1424 weight_: *mut C_tensor,
1425 density_: c_int,
1426 );
1427 pub fn atg__histogramdd_from_bin_cts(
1428 out__: *mut *mut C_tensor,
1429 self_: *mut C_tensor,
1430 bins_data: *const i64,
1431 bins_len: c_int,
1432 range_data: *const f64,
1433 range_len: c_int,
1434 weight_: *mut C_tensor,
1435 density_: c_int,
1436 );
1437 pub fn atg__histogramdd_from_bin_cts_out(
1438 out__: *mut *mut C_tensor,
1439 out_: *mut C_tensor,
1440 self_: *mut C_tensor,
1441 bins_data: *const i64,
1442 bins_len: c_int,
1443 range_data: *const f64,
1444 range_len: c_int,
1445 weight_: *mut C_tensor,
1446 density_: c_int,
1447 );
1448 pub fn atg__histogramdd_from_bin_tensors(
1449 out__: *mut *mut C_tensor,
1450 self_: *mut C_tensor,
1451 bins_data: *const *mut C_tensor,
1452 bins_len: c_int,
1453 weight_: *mut C_tensor,
1454 density_: c_int,
1455 );
1456 pub fn atg__histogramdd_from_bin_tensors_out(
1457 out__: *mut *mut C_tensor,
1458 out_: *mut C_tensor,
1459 self_: *mut C_tensor,
1460 bins_data: *const *mut C_tensor,
1461 bins_len: c_int,
1462 weight_: *mut C_tensor,
1463 density_: c_int,
1464 );
1465 pub fn atg__index_put_impl(
1466 out__: *mut *mut C_tensor,
1467 self_: *mut C_tensor,
1468 indices_data: *const *mut C_tensor,
1469 indices_len: c_int,
1470 values_: *mut C_tensor,
1471 accumulate_: c_int,
1472 unsafe_: c_int,
1473 );
1474 pub fn atg__index_put_impl_(
1475 out__: *mut *mut C_tensor,
1476 self_: *mut C_tensor,
1477 indices_data: *const *mut C_tensor,
1478 indices_len: c_int,
1479 values_: *mut C_tensor,
1480 accumulate_: c_int,
1481 unsafe_: c_int,
1482 );
1483 pub fn atg__index_put_impl_out(
1484 out__: *mut *mut C_tensor,
1485 out_: *mut C_tensor,
1486 self_: *mut C_tensor,
1487 indices_data: *const *mut C_tensor,
1488 indices_len: c_int,
1489 values_: *mut C_tensor,
1490 accumulate_: c_int,
1491 unsafe_: c_int,
1492 );
1493 pub fn atg__indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1494 pub fn atg__indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1495 pub fn atg__indices_copy_out(
1496 out__: *mut *mut C_tensor,
1497 out_: *mut C_tensor,
1498 self_: *mut C_tensor,
1499 );
1500 pub fn atg__int_mm(out__: *mut *mut C_tensor, self_: *mut C_tensor, mat2_: *mut C_tensor);
1501 pub fn atg__int_mm_out(
1502 out__: *mut *mut C_tensor,
1503 out_: *mut C_tensor,
1504 self_: *mut C_tensor,
1505 mat2_: *mut C_tensor,
1506 );
1507 pub fn atg__is_all_true(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1508 pub fn atg__is_any_true(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1509 pub fn atg__is_zerotensor(self_: *mut C_tensor) -> c_int;
1510 pub fn atg__lazy_clone(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1511 pub fn atg__linalg_check_errors(
1512 info_: *mut C_tensor,
1513 api_name_ptr: *const u8,
1514 api_name_len: c_int,
1515 is_matrix_: c_int,
1516 );
1517 pub fn atg__linalg_det(out__: *mut *mut C_tensor, A_: *mut C_tensor);
1518 pub fn atg__linalg_det_result(
1519 out__: *mut *mut C_tensor,
1520 result_: *mut C_tensor,
1521 LU_: *mut C_tensor,
1522 pivots_: *mut C_tensor,
1523 A_: *mut C_tensor,
1524 );
1525 pub fn atg__linalg_eigh(
1526 out__: *mut *mut C_tensor,
1527 A_: *mut C_tensor,
1528 UPLO_ptr: *const u8,
1529 UPLO_len: c_int,
1530 compute_v_: c_int,
1531 );
1532 pub fn atg__linalg_eigh_eigenvalues(
1533 out__: *mut *mut C_tensor,
1534 eigenvalues_: *mut C_tensor,
1535 eigenvectors_: *mut C_tensor,
1536 A_: *mut C_tensor,
1537 UPLO_ptr: *const u8,
1538 UPLO_len: c_int,
1539 compute_v_: c_int,
1540 );
1541 pub fn atg__linalg_eigvals(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1542 pub fn atg__linalg_slogdet(out__: *mut *mut C_tensor, A_: *mut C_tensor);
1543 pub fn atg__linalg_slogdet_sign(
1544 out__: *mut *mut C_tensor,
1545 sign_: *mut C_tensor,
1546 logabsdet_: *mut C_tensor,
1547 LU_: *mut C_tensor,
1548 pivots_: *mut C_tensor,
1549 A_: *mut C_tensor,
1550 );
1551 pub fn atg__linalg_solve_ex(
1552 out__: *mut *mut C_tensor,
1553 A_: *mut C_tensor,
1554 B_: *mut C_tensor,
1555 left_: c_int,
1556 check_errors_: c_int,
1557 );
1558 pub fn atg__linalg_solve_ex_result(
1559 out__: *mut *mut C_tensor,
1560 result_: *mut C_tensor,
1561 LU_: *mut C_tensor,
1562 pivots_: *mut C_tensor,
1563 info_: *mut C_tensor,
1564 A_: *mut C_tensor,
1565 B_: *mut C_tensor,
1566 left_: c_int,
1567 check_errors_: c_int,
1568 );
1569 pub fn atg__linalg_svd(
1570 out__: *mut *mut C_tensor,
1571 A_: *mut C_tensor,
1572 full_matrices_: c_int,
1573 compute_uv_: c_int,
1574 driver_ptr: *const u8,
1575 driver_len: c_int,
1576 );
1577 pub fn atg__linalg_svd_u(
1578 out__: *mut *mut C_tensor,
1579 U_: *mut C_tensor,
1580 S_: *mut C_tensor,
1581 Vh_: *mut C_tensor,
1582 A_: *mut C_tensor,
1583 full_matrices_: c_int,
1584 compute_uv_: c_int,
1585 driver_ptr: *const u8,
1586 driver_len: c_int,
1587 );
1588 pub fn atg__log_softmax(
1589 out__: *mut *mut C_tensor,
1590 self_: *mut C_tensor,
1591 dim_: i64,
1592 half_to_float_: c_int,
1593 );
1594 pub fn atg__log_softmax_backward_data(
1595 out__: *mut *mut C_tensor,
1596 grad_output_: *mut C_tensor,
1597 output_: *mut C_tensor,
1598 dim_: i64,
1599 input_dtype_: c_int,
1600 );
1601 pub fn atg__log_softmax_backward_data_out(
1602 out__: *mut *mut C_tensor,
1603 out_: *mut C_tensor,
1604 grad_output_: *mut C_tensor,
1605 output_: *mut C_tensor,
1606 dim_: i64,
1607 input_dtype_: c_int,
1608 );
1609 pub fn atg__log_softmax_out(
1610 out__: *mut *mut C_tensor,
1611 out_: *mut C_tensor,
1612 self_: *mut C_tensor,
1613 dim_: i64,
1614 half_to_float_: c_int,
1615 );
1616 pub fn atg__logcumsumexp(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
1617 pub fn atg__logcumsumexp_out(
1618 out__: *mut *mut C_tensor,
1619 out_: *mut C_tensor,
1620 self_: *mut C_tensor,
1621 dim_: i64,
1622 );
1623 pub fn atg__lstm_mps(
1624 out__: *mut *mut C_tensor,
1625 input_: *mut C_tensor,
1626 hx_data: *const *mut C_tensor,
1627 hx_len: c_int,
1628 params_data: *const *mut C_tensor,
1629 params_len: c_int,
1630 has_biases_: c_int,
1631 num_layers_: i64,
1632 dropout_: f64,
1633 train_: c_int,
1634 bidirectional_: c_int,
1635 batch_first_: c_int,
1636 );
1637 pub fn atg__lstm_mps_out(
1638 out__: *mut *mut C_tensor,
1639 out0_: *mut C_tensor,
1640 out1_: *mut C_tensor,
1641 out2_: *mut C_tensor,
1642 out3_: *mut C_tensor,
1643 out4_: *mut C_tensor,
1644 out5_: *mut C_tensor,
1645 input_: *mut C_tensor,
1646 hx_data: *const *mut C_tensor,
1647 hx_len: c_int,
1648 params_data: *const *mut C_tensor,
1649 params_len: c_int,
1650 has_biases_: c_int,
1651 num_layers_: i64,
1652 dropout_: f64,
1653 train_: c_int,
1654 bidirectional_: c_int,
1655 batch_first_: c_int,
1656 );
1657 pub fn atg__lu_with_info(
1658 out__: *mut *mut C_tensor,
1659 self_: *mut C_tensor,
1660 pivot_: c_int,
1661 check_errors_: c_int,
1662 );
1663 pub fn atg__make_dep_token(
1664 out__: *mut *mut C_tensor,
1665 options_kind: c_int,
1666 options_device: c_int,
1667 );
1668 pub fn atg__make_dual(
1669 out__: *mut *mut C_tensor,
1670 primal_: *mut C_tensor,
1671 tangent_: *mut C_tensor,
1672 level_: i64,
1673 );
1674 pub fn atg__make_dual_copy(
1675 out__: *mut *mut C_tensor,
1676 primal_: *mut C_tensor,
1677 tangent_: *mut C_tensor,
1678 level_: i64,
1679 );
1680 pub fn atg__make_dual_copy_out(
1681 out__: *mut *mut C_tensor,
1682 out_: *mut C_tensor,
1683 primal_: *mut C_tensor,
1684 tangent_: *mut C_tensor,
1685 level_: i64,
1686 );
1687 pub fn atg__make_per_channel_quantized_tensor(
1688 out__: *mut *mut C_tensor,
1689 self_: *mut C_tensor,
1690 scale_: *mut C_tensor,
1691 zero_point_: *mut C_tensor,
1692 axis_: i64,
1693 );
1694 pub fn atg__make_per_channel_quantized_tensor_out(
1695 out__: *mut *mut C_tensor,
1696 out_: *mut C_tensor,
1697 self_: *mut C_tensor,
1698 scale_: *mut C_tensor,
1699 zero_point_: *mut C_tensor,
1700 axis_: i64,
1701 );
1702 pub fn atg__make_per_tensor_quantized_tensor(
1703 out__: *mut *mut C_tensor,
1704 self_: *mut C_tensor,
1705 scale_: f64,
1706 zero_point_: i64,
1707 );
1708 pub fn atg__make_per_tensor_quantized_tensor_out(
1709 out__: *mut *mut C_tensor,
1710 out_: *mut C_tensor,
1711 self_: *mut C_tensor,
1712 scale_: f64,
1713 zero_point_: i64,
1714 );
1715 pub fn atg__masked_scale(
1716 out__: *mut *mut C_tensor,
1717 self_: *mut C_tensor,
1718 mask_: *mut C_tensor,
1719 scale_: f64,
1720 );
1721 pub fn atg__masked_scale_out(
1722 out__: *mut *mut C_tensor,
1723 out_: *mut C_tensor,
1724 self_: *mut C_tensor,
1725 mask_: *mut C_tensor,
1726 scale_: f64,
1727 );
1728 pub fn atg__masked_softmax(
1729 out__: *mut *mut C_tensor,
1730 self_: *mut C_tensor,
1731 mask_: *mut C_tensor,
1732 dim_v: i64,
1733 dim_null: i8,
1734 mask_type_v: i64,
1735 mask_type_null: i8,
1736 );
1737 pub fn atg__masked_softmax_backward(
1738 out__: *mut *mut C_tensor,
1739 grad_output_: *mut C_tensor,
1740 output_: *mut C_tensor,
1741 mask_: *mut C_tensor,
1742 dim_v: i64,
1743 dim_null: i8,
1744 );
1745 pub fn atg__masked_softmax_backward_out(
1746 out__: *mut *mut C_tensor,
1747 out_: *mut C_tensor,
1748 grad_output_: *mut C_tensor,
1749 output_: *mut C_tensor,
1750 mask_: *mut C_tensor,
1751 dim_v: i64,
1752 dim_null: i8,
1753 );
1754 pub fn atg__masked_softmax_out(
1755 out__: *mut *mut C_tensor,
1756 out_: *mut C_tensor,
1757 self_: *mut C_tensor,
1758 mask_: *mut C_tensor,
1759 dim_v: i64,
1760 dim_null: i8,
1761 mask_type_v: i64,
1762 mask_type_null: i8,
1763 );
1764 pub fn atg__mixed_dtypes_linear(
1765 out__: *mut *mut C_tensor,
1766 input_: *mut C_tensor,
1767 weight_: *mut C_tensor,
1768 scale_: *mut C_tensor,
1769 bias_: *mut C_tensor,
1770 activation_ptr: *const u8,
1771 activation_len: c_int,
1772 );
1773 pub fn atg__mkldnn_reshape(
1774 out__: *mut *mut C_tensor,
1775 self_: *mut C_tensor,
1776 shape_data: *const i64,
1777 shape_len: c_int,
1778 );
1779 pub fn atg__mkldnn_reshape_out(
1780 out__: *mut *mut C_tensor,
1781 out_: *mut C_tensor,
1782 self_: *mut C_tensor,
1783 shape_data: *const i64,
1784 shape_len: c_int,
1785 );
1786 pub fn atg__mkldnn_transpose(
1787 out__: *mut *mut C_tensor,
1788 self_: *mut C_tensor,
1789 dim0_: i64,
1790 dim1_: i64,
1791 );
1792 pub fn atg__mkldnn_transpose_(
1793 out__: *mut *mut C_tensor,
1794 self_: *mut C_tensor,
1795 dim0_: i64,
1796 dim1_: i64,
1797 );
1798 pub fn atg__mkldnn_transpose_out(
1799 out__: *mut *mut C_tensor,
1800 out_: *mut C_tensor,
1801 self_: *mut C_tensor,
1802 dim0_: i64,
1803 dim1_: i64,
1804 );
1805 pub fn atg__mps_convolution(
1806 out__: *mut *mut C_tensor,
1807 self_: *mut C_tensor,
1808 weight_: *mut C_tensor,
1809 bias_: *mut C_tensor,
1810 padding_data: *const i64,
1811 padding_len: c_int,
1812 stride_data: *const i64,
1813 stride_len: c_int,
1814 dilation_data: *const i64,
1815 dilation_len: c_int,
1816 groups_: i64,
1817 );
1818 pub fn atg__mps_convolution_out(
1819 out__: *mut *mut C_tensor,
1820 out_: *mut C_tensor,
1821 self_: *mut C_tensor,
1822 weight_: *mut C_tensor,
1823 bias_: *mut C_tensor,
1824 padding_data: *const i64,
1825 padding_len: c_int,
1826 stride_data: *const i64,
1827 stride_len: c_int,
1828 dilation_data: *const i64,
1829 dilation_len: c_int,
1830 groups_: i64,
1831 );
1832 pub fn atg__mps_convolution_transpose(
1833 out__: *mut *mut C_tensor,
1834 self_: *mut C_tensor,
1835 weight_: *mut C_tensor,
1836 padding_data: *const i64,
1837 padding_len: c_int,
1838 output_padding_data: *const i64,
1839 output_padding_len: c_int,
1840 stride_data: *const i64,
1841 stride_len: c_int,
1842 dilation_data: *const i64,
1843 dilation_len: c_int,
1844 groups_: i64,
1845 );
1846 pub fn atg__mps_convolution_transpose_out(
1847 out__: *mut *mut C_tensor,
1848 out_: *mut C_tensor,
1849 self_: *mut C_tensor,
1850 weight_: *mut C_tensor,
1851 padding_data: *const i64,
1852 padding_len: c_int,
1853 output_padding_data: *const i64,
1854 output_padding_len: c_int,
1855 stride_data: *const i64,
1856 stride_len: c_int,
1857 dilation_data: *const i64,
1858 dilation_len: c_int,
1859 groups_: i64,
1860 );
1861 pub fn atg__native_batch_norm_legit(
1862 out__: *mut *mut C_tensor,
1863 input_: *mut C_tensor,
1864 weight_: *mut C_tensor,
1865 bias_: *mut C_tensor,
1866 running_mean_: *mut C_tensor,
1867 running_var_: *mut C_tensor,
1868 training_: c_int,
1869 momentum_: f64,
1870 eps_: f64,
1871 );
1872 pub fn atg__native_batch_norm_legit_functional(
1873 out__: *mut *mut C_tensor,
1874 input_: *mut C_tensor,
1875 weight_: *mut C_tensor,
1876 bias_: *mut C_tensor,
1877 running_mean_: *mut C_tensor,
1878 running_var_: *mut C_tensor,
1879 training_: c_int,
1880 momentum_: f64,
1881 eps_: f64,
1882 );
1883 pub fn atg__native_batch_norm_legit_no_stats(
1884 out__: *mut *mut C_tensor,
1885 input_: *mut C_tensor,
1886 weight_: *mut C_tensor,
1887 bias_: *mut C_tensor,
1888 training_: c_int,
1889 momentum_: f64,
1890 eps_: f64,
1891 );
1892 pub fn atg__native_batch_norm_legit_no_stats_out(
1893 out__: *mut *mut C_tensor,
1894 out_: *mut C_tensor,
1895 save_mean_: *mut C_tensor,
1896 save_invstd_: *mut C_tensor,
1897 input_: *mut C_tensor,
1898 weight_: *mut C_tensor,
1899 bias_: *mut C_tensor,
1900 training_: c_int,
1901 momentum_: f64,
1902 eps_: f64,
1903 );
1904 pub fn atg__native_batch_norm_legit_no_training(
1905 out__: *mut *mut C_tensor,
1906 input_: *mut C_tensor,
1907 weight_: *mut C_tensor,
1908 bias_: *mut C_tensor,
1909 running_mean_: *mut C_tensor,
1910 running_var_: *mut C_tensor,
1911 momentum_: f64,
1912 eps_: f64,
1913 );
1914 pub fn atg__native_batch_norm_legit_no_training_out(
1915 out__: *mut *mut C_tensor,
1916 out0_: *mut C_tensor,
1917 out1_: *mut C_tensor,
1918 out2_: *mut C_tensor,
1919 input_: *mut C_tensor,
1920 weight_: *mut C_tensor,
1921 bias_: *mut C_tensor,
1922 running_mean_: *mut C_tensor,
1923 running_var_: *mut C_tensor,
1924 momentum_: f64,
1925 eps_: f64,
1926 );
1927 pub fn atg__native_batch_norm_legit_out(
1928 out__: *mut *mut C_tensor,
1929 out_: *mut C_tensor,
1930 save_mean_: *mut C_tensor,
1931 save_invstd_: *mut C_tensor,
1932 input_: *mut C_tensor,
1933 weight_: *mut C_tensor,
1934 bias_: *mut C_tensor,
1935 running_mean_: *mut C_tensor,
1936 running_var_: *mut C_tensor,
1937 training_: c_int,
1938 momentum_: f64,
1939 eps_: f64,
1940 );
1941 pub fn atg__native_multi_head_attention(
1942 out__: *mut *mut C_tensor,
1943 query_: *mut C_tensor,
1944 key_: *mut C_tensor,
1945 value_: *mut C_tensor,
1946 embed_dim_: i64,
1947 num_head_: i64,
1948 qkv_weight_: *mut C_tensor,
1949 qkv_bias_: *mut C_tensor,
1950 proj_weight_: *mut C_tensor,
1951 proj_bias_: *mut C_tensor,
1952 mask_: *mut C_tensor,
1953 need_weights_: c_int,
1954 average_attn_weights_: c_int,
1955 mask_type_v: i64,
1956 mask_type_null: i8,
1957 );
1958 pub fn atg__native_multi_head_attention_out(
1959 out__: *mut *mut C_tensor,
1960 out0_: *mut C_tensor,
1961 out1_: *mut C_tensor,
1962 query_: *mut C_tensor,
1963 key_: *mut C_tensor,
1964 value_: *mut C_tensor,
1965 embed_dim_: i64,
1966 num_head_: i64,
1967 qkv_weight_: *mut C_tensor,
1968 qkv_bias_: *mut C_tensor,
1969 proj_weight_: *mut C_tensor,
1970 proj_bias_: *mut C_tensor,
1971 mask_: *mut C_tensor,
1972 need_weights_: c_int,
1973 average_attn_weights_: c_int,
1974 mask_type_v: i64,
1975 mask_type_null: i8,
1976 );
1977 pub fn atg__neg_view(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1978 pub fn atg__neg_view_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
1979 pub fn atg__neg_view_copy_out(
1980 out__: *mut *mut C_tensor,
1981 out_: *mut C_tensor,
1982 self_: *mut C_tensor,
1983 );
1984 pub fn atg__nested_compute_contiguous_strides_offsets(
1985 out__: *mut *mut C_tensor,
1986 nested_size_: *mut C_tensor,
1987 );
1988 pub fn atg__nested_from_padded(
1989 out__: *mut *mut C_tensor,
1990 padded_: *mut C_tensor,
1991 cpu_nested_shape_example_: *mut C_tensor,
1992 fuse_transform_0213_: c_int,
1993 );
1994 pub fn atg__nested_from_padded_and_nested_example(
1995 out__: *mut *mut C_tensor,
1996 padded_: *mut C_tensor,
1997 nt_example_: *mut C_tensor,
1998 );
1999 pub fn atg__nested_from_padded_and_nested_example_out(
2000 out__: *mut *mut C_tensor,
2001 out_: *mut C_tensor,
2002 padded_: *mut C_tensor,
2003 nt_example_: *mut C_tensor,
2004 );
2005 pub fn atg__nested_from_padded_out(
2006 out__: *mut *mut C_tensor,
2007 out_: *mut C_tensor,
2008 padded_: *mut C_tensor,
2009 cpu_nested_shape_example_: *mut C_tensor,
2010 fuse_transform_0213_: c_int,
2011 );
2012 pub fn atg__nested_from_padded_tensor(
2013 out__: *mut *mut C_tensor,
2014 padded_: *mut C_tensor,
2015 offsets_: *mut C_tensor,
2016 dummy_: *mut C_tensor,
2017 ragged_idx_: i64,
2018 min_seqlen_: *mut C_tensor,
2019 max_seqlen_: *mut C_tensor,
2020 sum_S_v: i64,
2021 sum_S_null: i8,
2022 );
2023 pub fn atg__nested_get_jagged_dummy(out__: *mut *mut C_tensor, any_: *mut C_tensor);
2024 pub fn atg__nested_get_lengths(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2025 pub fn atg__nested_get_max_seqlen(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2026 pub fn atg__nested_get_min_seqlen(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2027 pub fn atg__nested_get_offsets(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2028 pub fn atg__nested_get_ragged_idx(self_: *mut C_tensor) -> i64;
2029 pub fn atg__nested_get_values(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2030 pub fn atg__nested_get_values_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2031 pub fn atg__nested_get_values_copy_out(
2032 out__: *mut *mut C_tensor,
2033 out_: *mut C_tensor,
2034 self_: *mut C_tensor,
2035 );
2036 pub fn atg__nested_select_backward(
2037 out__: *mut *mut C_tensor,
2038 grad_output_: *mut C_tensor,
2039 self_: *mut C_tensor,
2040 dim_: i64,
2041 index_: i64,
2042 );
2043 pub fn atg__nested_sum_backward(
2044 out__: *mut *mut C_tensor,
2045 grad_: *mut C_tensor,
2046 self_: *mut C_tensor,
2047 dim_data: *const i64,
2048 dim_len: c_int,
2049 keepdim_: c_int,
2050 );
2051 pub fn atg__nested_view_from_buffer(
2052 out__: *mut *mut C_tensor,
2053 self_: *mut C_tensor,
2054 nested_size_: *mut C_tensor,
2055 nested_strides_: *mut C_tensor,
2056 offsets_: *mut C_tensor,
2057 );
2058 pub fn atg__nested_view_from_buffer_copy(
2059 out__: *mut *mut C_tensor,
2060 self_: *mut C_tensor,
2061 nested_size_: *mut C_tensor,
2062 nested_strides_: *mut C_tensor,
2063 offsets_: *mut C_tensor,
2064 );
2065 pub fn atg__nested_view_from_buffer_copy_out(
2066 out__: *mut *mut C_tensor,
2067 out_: *mut C_tensor,
2068 self_: *mut C_tensor,
2069 nested_size_: *mut C_tensor,
2070 nested_strides_: *mut C_tensor,
2071 offsets_: *mut C_tensor,
2072 );
2073 pub fn atg__nested_view_from_jagged(
2074 out__: *mut *mut C_tensor,
2075 self_: *mut C_tensor,
2076 offsets_: *mut C_tensor,
2077 dummy_: *mut C_tensor,
2078 lengths_: *mut C_tensor,
2079 ragged_idx_: i64,
2080 min_seqlen_: *mut C_tensor,
2081 max_seqlen_: *mut C_tensor,
2082 );
2083 pub fn atg__nested_view_from_jagged_copy(
2084 out__: *mut *mut C_tensor,
2085 self_: *mut C_tensor,
2086 offsets_: *mut C_tensor,
2087 dummy_: *mut C_tensor,
2088 lengths_: *mut C_tensor,
2089 ragged_idx_: i64,
2090 min_seqlen_: *mut C_tensor,
2091 max_seqlen_: *mut C_tensor,
2092 );
2093 pub fn atg__nested_view_from_jagged_copy_out(
2094 out__: *mut *mut C_tensor,
2095 out_: *mut C_tensor,
2096 self_: *mut C_tensor,
2097 offsets_: *mut C_tensor,
2098 dummy_: *mut C_tensor,
2099 lengths_: *mut C_tensor,
2100 ragged_idx_: i64,
2101 min_seqlen_: *mut C_tensor,
2102 max_seqlen_: *mut C_tensor,
2103 );
2104 pub fn atg__new_zeros_with_same_feature_meta(
2105 out__: *mut *mut C_tensor,
2106 self_: *mut C_tensor,
2107 other_: *mut C_tensor,
2108 self_num_batch_dims_: i64,
2109 );
2110 pub fn atg__new_zeros_with_same_feature_meta_out(
2111 out__: *mut *mut C_tensor,
2112 out_: *mut C_tensor,
2113 self_: *mut C_tensor,
2114 other_: *mut C_tensor,
2115 self_num_batch_dims_: i64,
2116 );
2117 pub fn atg__nnpack_available() -> c_int;
2118 pub fn atg__nnpack_spatial_convolution(
2119 out__: *mut *mut C_tensor,
2120 input_: *mut C_tensor,
2121 weight_: *mut C_tensor,
2122 bias_: *mut C_tensor,
2123 padding_data: *const i64,
2124 padding_len: c_int,
2125 stride_data: *const i64,
2126 stride_len: c_int,
2127 );
2128 pub fn atg__nnpack_spatial_convolution_out(
2129 out__: *mut *mut C_tensor,
2130 out_: *mut C_tensor,
2131 input_: *mut C_tensor,
2132 weight_: *mut C_tensor,
2133 bias_: *mut C_tensor,
2134 padding_data: *const i64,
2135 padding_len: c_int,
2136 stride_data: *const i64,
2137 stride_len: c_int,
2138 );
2139 pub fn atg__nnz(self_: *mut C_tensor) -> i64;
2140 pub fn atg__pack_padded_sequence(
2141 out__: *mut *mut C_tensor,
2142 input_: *mut C_tensor,
2143 lengths_: *mut C_tensor,
2144 batch_first_: c_int,
2145 );
2146 pub fn atg__pack_padded_sequence_backward(
2147 out__: *mut *mut C_tensor,
2148 grad_: *mut C_tensor,
2149 input_size_data: *const i64,
2150 input_size_len: c_int,
2151 batch_sizes_: *mut C_tensor,
2152 batch_first_: c_int,
2153 );
2154 pub fn atg__pack_padded_sequence_out(
2155 out__: *mut *mut C_tensor,
2156 out0_: *mut C_tensor,
2157 out1_: *mut C_tensor,
2158 input_: *mut C_tensor,
2159 lengths_: *mut C_tensor,
2160 batch_first_: c_int,
2161 );
2162 pub fn atg__pad_circular(
2163 out__: *mut *mut C_tensor,
2164 self_: *mut C_tensor,
2165 pad_data: *const i64,
2166 pad_len: c_int,
2167 );
2168 pub fn atg__pad_enum(
2169 out__: *mut *mut C_tensor,
2170 self_: *mut C_tensor,
2171 pad_data: *const i64,
2172 pad_len: c_int,
2173 mode_: i64,
2174 value_v: f64,
2175 value_null: i8,
2176 );
2177 pub fn atg__pad_packed_sequence(
2178 out__: *mut *mut C_tensor,
2179 data_: *mut C_tensor,
2180 batch_sizes_: *mut C_tensor,
2181 batch_first_: c_int,
2182 padding_value_: *mut C_scalar,
2183 total_length_: i64,
2184 );
2185 pub fn atg__pdist_backward(
2186 out__: *mut *mut C_tensor,
2187 grad_: *mut C_tensor,
2188 self_: *mut C_tensor,
2189 p_: f64,
2190 pdist_: *mut C_tensor,
2191 );
2192 pub fn atg__pdist_backward_out(
2193 out__: *mut *mut C_tensor,
2194 out_: *mut C_tensor,
2195 grad_: *mut C_tensor,
2196 self_: *mut C_tensor,
2197 p_: f64,
2198 pdist_: *mut C_tensor,
2199 );
2200 pub fn atg__pin_memory(out__: *mut *mut C_tensor, self_: *mut C_tensor, device_: c_int);
2201 pub fn atg__pin_memory_out(
2202 out__: *mut *mut C_tensor,
2203 out_: *mut C_tensor,
2204 self_: *mut C_tensor,
2205 device_: c_int,
2206 );
2207 pub fn atg__prelu_kernel(
2208 out__: *mut *mut C_tensor,
2209 self_: *mut C_tensor,
2210 weight_: *mut C_tensor,
2211 );
2212 pub fn atg__prelu_kernel_backward(
2213 out__: *mut *mut C_tensor,
2214 grad_output_: *mut C_tensor,
2215 self_: *mut C_tensor,
2216 weight_: *mut C_tensor,
2217 );
2218 pub fn atg__print(s_ptr: *const u8, s_len: c_int);
2219 pub fn atg__propagate_xla_data(input_: *mut C_tensor, output_: *mut C_tensor);
2220 pub fn atg__remove_batch_dim(
2221 out__: *mut *mut C_tensor,
2222 self_: *mut C_tensor,
2223 level_: i64,
2224 batch_size_: i64,
2225 out_dim_: i64,
2226 );
2227 pub fn atg__reshape_alias(
2228 out__: *mut *mut C_tensor,
2229 self_: *mut C_tensor,
2230 size_data: *const i64,
2231 size_len: c_int,
2232 stride_data: *const i64,
2233 stride_len: c_int,
2234 );
2235 pub fn atg__reshape_alias_copy(
2236 out__: *mut *mut C_tensor,
2237 self_: *mut C_tensor,
2238 size_data: *const i64,
2239 size_len: c_int,
2240 stride_data: *const i64,
2241 stride_len: c_int,
2242 );
2243 pub fn atg__reshape_alias_copy_out(
2244 out__: *mut *mut C_tensor,
2245 out_: *mut C_tensor,
2246 self_: *mut C_tensor,
2247 size_data: *const i64,
2248 size_len: c_int,
2249 stride_data: *const i64,
2250 stride_len: c_int,
2251 );
2252 pub fn atg__reshape_copy(
2253 out__: *mut *mut C_tensor,
2254 self_: *mut C_tensor,
2255 size_data: *const i64,
2256 size_len: c_int,
2257 );
2258 pub fn atg__reshape_from_tensor(
2259 out__: *mut *mut C_tensor,
2260 self_: *mut C_tensor,
2261 shape_: *mut C_tensor,
2262 );
2263 pub fn atg__resize_output(
2264 out__: *mut *mut C_tensor,
2265 self_: *mut C_tensor,
2266 size_data: *const i64,
2267 size_len: c_int,
2268 device_: c_int,
2269 );
2270 pub fn atg__resize_output_(
2271 out__: *mut *mut C_tensor,
2272 self_: *mut C_tensor,
2273 size_data: *const i64,
2274 size_len: c_int,
2275 device_: c_int,
2276 );
2277 pub fn atg__resize_output_out(
2278 out__: *mut *mut C_tensor,
2279 out_: *mut C_tensor,
2280 self_: *mut C_tensor,
2281 size_data: *const i64,
2282 size_len: c_int,
2283 device_: c_int,
2284 );
2285 pub fn atg__rowwise_prune(
2286 out__: *mut *mut C_tensor,
2287 weight_: *mut C_tensor,
2288 mask_: *mut C_tensor,
2289 compressed_indices_dtype_: c_int,
2290 );
2291 pub fn atg__safe_softmax(
2292 out__: *mut *mut C_tensor,
2293 self_: *mut C_tensor,
2294 dim_: i64,
2295 dtype_: c_int,
2296 );
2297 pub fn atg__sample_dirichlet(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2298 pub fn atg__sample_dirichlet_out(
2299 out__: *mut *mut C_tensor,
2300 out_: *mut C_tensor,
2301 self_: *mut C_tensor,
2302 );
2303 pub fn atg__saturate_weight_to_fp16(out__: *mut *mut C_tensor, weight_: *mut C_tensor);
2304 pub fn atg__scaled_dot_product_attention_math(
2305 out__: *mut *mut C_tensor,
2306 query_: *mut C_tensor,
2307 key_: *mut C_tensor,
2308 value_: *mut C_tensor,
2309 attn_mask_: *mut C_tensor,
2310 dropout_p_: f64,
2311 is_causal_: c_int,
2312 dropout_mask_: *mut C_tensor,
2313 scale_v: f64,
2314 scale_null: i8,
2315 enable_gqa_: c_int,
2316 );
2317 pub fn atg__scaled_dot_product_attention_math_for_mps(
2318 out__: *mut *mut C_tensor,
2319 query_: *mut C_tensor,
2320 key_: *mut C_tensor,
2321 value_: *mut C_tensor,
2322 attn_mask_: *mut C_tensor,
2323 dropout_p_: f64,
2324 is_causal_: c_int,
2325 dropout_mask_: *mut C_tensor,
2326 scale_v: f64,
2327 scale_null: i8,
2328 );
2329 pub fn atg__scaled_dot_product_cudnn_attention_backward(
2330 out__: *mut *mut C_tensor,
2331 grad_out_: *mut C_tensor,
2332 query_: *mut C_tensor,
2333 key_: *mut C_tensor,
2334 value_: *mut C_tensor,
2335 out_: *mut C_tensor,
2336 logsumexp_: *mut C_tensor,
2337 philox_seed_: *mut C_tensor,
2338 philox_offset_: *mut C_tensor,
2339 attn_bias_: *mut C_tensor,
2340 cum_seq_q_: *mut C_tensor,
2341 cum_seq_k_: *mut C_tensor,
2342 max_q_: i64,
2343 max_k_: i64,
2344 dropout_p_: f64,
2345 is_causal_: c_int,
2346 scale_v: f64,
2347 scale_null: i8,
2348 );
2349 pub fn atg__scaled_dot_product_efficient_attention(
2350 out__: *mut *mut C_tensor,
2351 query_: *mut C_tensor,
2352 key_: *mut C_tensor,
2353 value_: *mut C_tensor,
2354 attn_bias_: *mut C_tensor,
2355 compute_log_sumexp_: c_int,
2356 dropout_p_: f64,
2357 is_causal_: c_int,
2358 scale_v: f64,
2359 scale_null: i8,
2360 );
2361 pub fn atg__scaled_dot_product_flash_attention_backward(
2362 out__: *mut *mut C_tensor,
2363 grad_out_: *mut C_tensor,
2364 query_: *mut C_tensor,
2365 key_: *mut C_tensor,
2366 value_: *mut C_tensor,
2367 out_: *mut C_tensor,
2368 logsumexp_: *mut C_tensor,
2369 cum_seq_q_: *mut C_tensor,
2370 cum_seq_k_: *mut C_tensor,
2371 max_q_: i64,
2372 max_k_: i64,
2373 dropout_p_: f64,
2374 is_causal_: c_int,
2375 philox_seed_: *mut C_tensor,
2376 philox_offset_: *mut C_tensor,
2377 scale_v: f64,
2378 scale_null: i8,
2379 );
2380 pub fn atg__scaled_dot_product_flash_attention_for_cpu(
2381 out__: *mut *mut C_tensor,
2382 query_: *mut C_tensor,
2383 key_: *mut C_tensor,
2384 value_: *mut C_tensor,
2385 dropout_p_: f64,
2386 is_causal_: c_int,
2387 attn_mask_: *mut C_tensor,
2388 scale_v: f64,
2389 scale_null: i8,
2390 );
2391 pub fn atg__scaled_dot_product_flash_attention_for_cpu_backward(
2392 out__: *mut *mut C_tensor,
2393 grad_out_: *mut C_tensor,
2394 query_: *mut C_tensor,
2395 key_: *mut C_tensor,
2396 value_: *mut C_tensor,
2397 out_: *mut C_tensor,
2398 logsumexp_: *mut C_tensor,
2399 dropout_p_: f64,
2400 is_causal_: c_int,
2401 attn_mask_: *mut C_tensor,
2402 scale_v: f64,
2403 scale_null: i8,
2404 );
2405 pub fn atg__scaled_grouped_mm(
2406 out__: *mut *mut C_tensor,
2407 self_: *mut C_tensor,
2408 mat2_: *mut C_tensor,
2409 scale_a_: *mut C_tensor,
2410 scale_b_: *mut C_tensor,
2411 offs_: *mut C_tensor,
2412 bias_: *mut C_tensor,
2413 scale_result_: *mut C_tensor,
2414 out_dtype_: c_int,
2415 use_fast_accum_: c_int,
2416 );
2417 pub fn atg__scaled_mm(
2418 out__: *mut *mut C_tensor,
2419 self_: *mut C_tensor,
2420 mat2_: *mut C_tensor,
2421 scale_a_: *mut C_tensor,
2422 scale_b_: *mut C_tensor,
2423 bias_: *mut C_tensor,
2424 scale_result_: *mut C_tensor,
2425 out_dtype_: c_int,
2426 use_fast_accum_: c_int,
2427 );
2428 pub fn atg__scaled_mm_out(
2429 out__: *mut *mut C_tensor,
2430 out_: *mut C_tensor,
2431 self_: *mut C_tensor,
2432 mat2_: *mut C_tensor,
2433 scale_a_: *mut C_tensor,
2434 scale_b_: *mut C_tensor,
2435 bias_: *mut C_tensor,
2436 scale_result_: *mut C_tensor,
2437 out_dtype_: c_int,
2438 use_fast_accum_: c_int,
2439 );
2440 pub fn atg__scatter_reduce(
2441 out__: *mut *mut C_tensor,
2442 self_: *mut C_tensor,
2443 dim_: i64,
2444 index_: *mut C_tensor,
2445 src_: *mut C_tensor,
2446 reduce_ptr: *const u8,
2447 reduce_len: c_int,
2448 include_self_: c_int,
2449 );
2450 pub fn atg__scatter_reduce_(
2451 out__: *mut *mut C_tensor,
2452 self_: *mut C_tensor,
2453 dim_: i64,
2454 index_: *mut C_tensor,
2455 src_: *mut C_tensor,
2456 reduce_ptr: *const u8,
2457 reduce_len: c_int,
2458 include_self_: c_int,
2459 );
2460 pub fn atg__scatter_reduce_two_out(
2461 out__: *mut *mut C_tensor,
2462 out_: *mut C_tensor,
2463 self_: *mut C_tensor,
2464 dim_: i64,
2465 index_: *mut C_tensor,
2466 src_: *mut C_tensor,
2467 reduce_ptr: *const u8,
2468 reduce_len: c_int,
2469 include_self_: c_int,
2470 );
2471 pub fn atg__segment_reduce_backward(
2472 out__: *mut *mut C_tensor,
2473 grad_: *mut C_tensor,
2474 output_: *mut C_tensor,
2475 data_: *mut C_tensor,
2476 reduce_ptr: *const u8,
2477 reduce_len: c_int,
2478 lengths_: *mut C_tensor,
2479 offsets_: *mut C_tensor,
2480 axis_: i64,
2481 initial_: *mut C_scalar,
2482 );
2483 pub fn atg__segment_reduce_backward_out(
2484 out__: *mut *mut C_tensor,
2485 out_: *mut C_tensor,
2486 grad_: *mut C_tensor,
2487 output_: *mut C_tensor,
2488 data_: *mut C_tensor,
2489 reduce_ptr: *const u8,
2490 reduce_len: c_int,
2491 lengths_: *mut C_tensor,
2492 offsets_: *mut C_tensor,
2493 axis_: i64,
2494 initial_: *mut C_scalar,
2495 );
2496 pub fn atg__shape_as_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2497 pub fn atg__slow_conv2d_backward(
2498 out__: *mut *mut C_tensor,
2499 grad_input_: *mut C_tensor,
2500 grad_weight_: *mut C_tensor,
2501 grad_bias_: *mut C_tensor,
2502 grad_output_: *mut C_tensor,
2503 self_: *mut C_tensor,
2504 weight_: *mut C_tensor,
2505 kernel_size_data: *const i64,
2506 kernel_size_len: c_int,
2507 stride_data: *const i64,
2508 stride_len: c_int,
2509 padding_data: *const i64,
2510 padding_len: c_int,
2511 );
2512 pub fn atg__sobol_engine_draw(
2513 out__: *mut *mut C_tensor,
2514 quasi_: *mut C_tensor,
2515 n_: i64,
2516 sobolstate_: *mut C_tensor,
2517 dimension_: i64,
2518 num_generated_: i64,
2519 dtype_: c_int,
2520 );
2521 pub fn atg__sobol_engine_ff_(
2522 out__: *mut *mut C_tensor,
2523 self_: *mut C_tensor,
2524 n_: i64,
2525 sobolstate_: *mut C_tensor,
2526 dimension_: i64,
2527 num_generated_: i64,
2528 );
2529 pub fn atg__sobol_engine_initialize_state_(
2530 out__: *mut *mut C_tensor,
2531 self_: *mut C_tensor,
2532 dimension_: i64,
2533 );
2534 pub fn atg__sobol_engine_scramble_(
2535 out__: *mut *mut C_tensor,
2536 self_: *mut C_tensor,
2537 ltm_: *mut C_tensor,
2538 dimension_: i64,
2539 );
2540 pub fn atg__softmax(
2541 out__: *mut *mut C_tensor,
2542 self_: *mut C_tensor,
2543 dim_: i64,
2544 half_to_float_: c_int,
2545 );
2546 pub fn atg__softmax_backward_data(
2547 out__: *mut *mut C_tensor,
2548 grad_output_: *mut C_tensor,
2549 output_: *mut C_tensor,
2550 dim_: i64,
2551 input_dtype_: c_int,
2552 );
2553 pub fn atg__softmax_backward_data_out(
2554 out__: *mut *mut C_tensor,
2555 grad_input_: *mut C_tensor,
2556 grad_output_: *mut C_tensor,
2557 output_: *mut C_tensor,
2558 dim_: i64,
2559 input_dtype_: c_int,
2560 );
2561 pub fn atg__softmax_out(
2562 out__: *mut *mut C_tensor,
2563 out_: *mut C_tensor,
2564 self_: *mut C_tensor,
2565 dim_: i64,
2566 half_to_float_: c_int,
2567 );
2568 pub fn atg__sparse_addmm(
2569 out__: *mut *mut C_tensor,
2570 self_: *mut C_tensor,
2571 mat1_: *mut C_tensor,
2572 mat2_: *mut C_tensor,
2573 );
2574 pub fn atg__sparse_addmm_out(
2575 out__: *mut *mut C_tensor,
2576 out_: *mut C_tensor,
2577 self_: *mut C_tensor,
2578 mat1_: *mut C_tensor,
2579 mat2_: *mut C_tensor,
2580 );
2581 pub fn atg__sparse_broadcast_to(
2582 out__: *mut *mut C_tensor,
2583 self_: *mut C_tensor,
2584 size_data: *const i64,
2585 size_len: c_int,
2586 );
2587 pub fn atg__sparse_broadcast_to_copy(
2588 out__: *mut *mut C_tensor,
2589 self_: *mut C_tensor,
2590 size_data: *const i64,
2591 size_len: c_int,
2592 );
2593 pub fn atg__sparse_broadcast_to_copy_out(
2594 out__: *mut *mut C_tensor,
2595 out_: *mut C_tensor,
2596 self_: *mut C_tensor,
2597 size_data: *const i64,
2598 size_len: c_int,
2599 );
2600 pub fn atg__sparse_bsc_tensor_unsafe(
2601 out__: *mut *mut C_tensor,
2602 ccol_indices_: *mut C_tensor,
2603 row_indices_: *mut C_tensor,
2604 values_: *mut C_tensor,
2605 size_data: *const i64,
2606 size_len: c_int,
2607 options_kind: c_int,
2608 options_device: c_int,
2609 );
2610 pub fn atg__sparse_bsr_tensor_unsafe(
2611 out__: *mut *mut C_tensor,
2612 crow_indices_: *mut C_tensor,
2613 col_indices_: *mut C_tensor,
2614 values_: *mut C_tensor,
2615 size_data: *const i64,
2616 size_len: c_int,
2617 options_kind: c_int,
2618 options_device: c_int,
2619 );
2620 pub fn atg__sparse_compressed_tensor_unsafe(
2621 out__: *mut *mut C_tensor,
2622 compressed_indices_: *mut C_tensor,
2623 plain_indices_: *mut C_tensor,
2624 values_: *mut C_tensor,
2625 size_data: *const i64,
2626 size_len: c_int,
2627 options_kind: c_int,
2628 options_device: c_int,
2629 );
2630 pub fn atg__sparse_compressed_tensor_with_dims(
2631 out__: *mut *mut C_tensor,
2632 nnz_: i64,
2633 dense_dim_: i64,
2634 size_data: *const i64,
2635 size_len: c_int,
2636 blocksize_data: *const i64,
2637 blocksize_len: c_int,
2638 index_dtype_: c_int,
2639 options_kind: c_int,
2640 options_device: c_int,
2641 );
2642 pub fn atg__sparse_coo_tensor_unsafe(
2643 out__: *mut *mut C_tensor,
2644 indices_: *mut C_tensor,
2645 values_: *mut C_tensor,
2646 size_data: *const i64,
2647 size_len: c_int,
2648 options_kind: c_int,
2649 options_device: c_int,
2650 is_coalesced_: c_int,
2651 );
2652 pub fn atg__sparse_coo_tensor_with_dims(
2653 out__: *mut *mut C_tensor,
2654 sparse_dim_: i64,
2655 dense_dim_: i64,
2656 size_data: *const i64,
2657 size_len: c_int,
2658 options_kind: c_int,
2659 options_device: c_int,
2660 );
2661 pub fn atg__sparse_coo_tensor_with_dims_and_tensors(
2662 out__: *mut *mut C_tensor,
2663 sparse_dim_: i64,
2664 dense_dim_: i64,
2665 size_data: *const i64,
2666 size_len: c_int,
2667 indices_: *mut C_tensor,
2668 values_: *mut C_tensor,
2669 options_kind: c_int,
2670 options_device: c_int,
2671 is_coalesced_: c_int,
2672 );
2673 pub fn atg__sparse_coo_tensor_with_dims_and_tensors_out(
2674 out__: *mut *mut C_tensor,
2675 out_: *mut C_tensor,
2676 sparse_dim_: i64,
2677 dense_dim_: i64,
2678 size_data: *const i64,
2679 size_len: c_int,
2680 indices_: *mut C_tensor,
2681 values_: *mut C_tensor,
2682 is_coalesced_: c_int,
2683 );
2684 pub fn atg__sparse_coo_tensor_with_dims_out(
2685 out__: *mut *mut C_tensor,
2686 out_: *mut C_tensor,
2687 sparse_dim_: i64,
2688 dense_dim_: i64,
2689 size_data: *const i64,
2690 size_len: c_int,
2691 );
2692 pub fn atg__sparse_csc_tensor_unsafe(
2693 out__: *mut *mut C_tensor,
2694 ccol_indices_: *mut C_tensor,
2695 row_indices_: *mut C_tensor,
2696 values_: *mut C_tensor,
2697 size_data: *const i64,
2698 size_len: c_int,
2699 options_kind: c_int,
2700 options_device: c_int,
2701 );
2702 pub fn atg__sparse_csr_prod(
2703 out__: *mut *mut C_tensor,
2704 self_: *mut C_tensor,
2705 dim_data: *const i64,
2706 dim_len: c_int,
2707 keepdim_: c_int,
2708 dtype_: c_int,
2709 );
2710 pub fn atg__sparse_csr_prod_dim_dtype_out(
2711 out__: *mut *mut C_tensor,
2712 out_: *mut C_tensor,
2713 self_: *mut C_tensor,
2714 dim_data: *const i64,
2715 dim_len: c_int,
2716 keepdim_: c_int,
2717 dtype_: c_int,
2718 );
2719 pub fn atg__sparse_csr_sum(
2720 out__: *mut *mut C_tensor,
2721 self_: *mut C_tensor,
2722 dim_data: *const i64,
2723 dim_len: c_int,
2724 keepdim_: c_int,
2725 dtype_: c_int,
2726 );
2727 pub fn atg__sparse_csr_sum_dim_dtype_out(
2728 out__: *mut *mut C_tensor,
2729 out_: *mut C_tensor,
2730 self_: *mut C_tensor,
2731 dim_data: *const i64,
2732 dim_len: c_int,
2733 keepdim_: c_int,
2734 dtype_: c_int,
2735 );
2736 pub fn atg__sparse_csr_tensor_unsafe(
2737 out__: *mut *mut C_tensor,
2738 crow_indices_: *mut C_tensor,
2739 col_indices_: *mut C_tensor,
2740 values_: *mut C_tensor,
2741 size_data: *const i64,
2742 size_len: c_int,
2743 options_kind: c_int,
2744 options_device: c_int,
2745 );
2746 pub fn atg__sparse_log_softmax(
2747 out__: *mut *mut C_tensor,
2748 self_: *mut C_tensor,
2749 dim_: i64,
2750 half_to_float_: c_int,
2751 );
2752 pub fn atg__sparse_log_softmax_backward_data(
2753 out__: *mut *mut C_tensor,
2754 grad_output_: *mut C_tensor,
2755 output_: *mut C_tensor,
2756 dim_: i64,
2757 self_: *mut C_tensor,
2758 );
2759 pub fn atg__sparse_log_softmax_backward_data_out(
2760 out__: *mut *mut C_tensor,
2761 out_: *mut C_tensor,
2762 grad_output_: *mut C_tensor,
2763 output_: *mut C_tensor,
2764 dim_: i64,
2765 self_: *mut C_tensor,
2766 );
2767 pub fn atg__sparse_log_softmax_int(
2768 out__: *mut *mut C_tensor,
2769 self_: *mut C_tensor,
2770 dim_: i64,
2771 dtype_: c_int,
2772 );
2773 pub fn atg__sparse_log_softmax_out(
2774 out__: *mut *mut C_tensor,
2775 out_: *mut C_tensor,
2776 self_: *mut C_tensor,
2777 dim_: i64,
2778 half_to_float_: c_int,
2779 );
2780 pub fn atg__sparse_mask_projection(
2781 out__: *mut *mut C_tensor,
2782 self_: *mut C_tensor,
2783 mask_: *mut C_tensor,
2784 accumulate_matches_: c_int,
2785 );
2786 pub fn atg__sparse_mask_projection_out(
2787 out__: *mut *mut C_tensor,
2788 out_: *mut C_tensor,
2789 self_: *mut C_tensor,
2790 mask_: *mut C_tensor,
2791 accumulate_matches_: c_int,
2792 );
2793 pub fn atg__sparse_mm(out__: *mut *mut C_tensor, sparse_: *mut C_tensor, dense_: *mut C_tensor);
2794 pub fn atg__sparse_mm_reduce(
2795 out__: *mut *mut C_tensor,
2796 sparse_: *mut C_tensor,
2797 dense_: *mut C_tensor,
2798 reduce_ptr: *const u8,
2799 reduce_len: c_int,
2800 );
2801 pub fn atg__sparse_mm_reduce_impl(
2802 out__: *mut *mut C_tensor,
2803 self_: *mut C_tensor,
2804 other_: *mut C_tensor,
2805 reduce_ptr: *const u8,
2806 reduce_len: c_int,
2807 );
2808 pub fn atg__sparse_semi_structured_apply(
2809 out__: *mut *mut C_tensor,
2810 input_: *mut C_tensor,
2811 thread_masks_: *mut C_tensor,
2812 );
2813 pub fn atg__sparse_semi_structured_apply_dense(
2814 out__: *mut *mut C_tensor,
2815 input_: *mut C_tensor,
2816 thread_masks_: *mut C_tensor,
2817 );
2818 pub fn atg__sparse_semi_structured_linear(
2819 out__: *mut *mut C_tensor,
2820 input_: *mut C_tensor,
2821 weight_: *mut C_tensor,
2822 meta_: *mut C_tensor,
2823 bias_: *mut C_tensor,
2824 activation_ptr: *const u8,
2825 activation_len: c_int,
2826 out_dtype_: c_int,
2827 );
2828 pub fn atg__sparse_semi_structured_mm(
2829 out__: *mut *mut C_tensor,
2830 mat1_: *mut C_tensor,
2831 mat1_meta_: *mut C_tensor,
2832 mat2_: *mut C_tensor,
2833 out_dtype_: c_int,
2834 );
2835 pub fn atg__sparse_semi_structured_tile(
2836 out__: *mut *mut C_tensor,
2837 input_: *mut C_tensor,
2838 algorithm_ptr: *const u8,
2839 algorithm_len: c_int,
2840 use_cutlass_: c_int,
2841 );
2842 pub fn atg__sparse_softmax(
2843 out__: *mut *mut C_tensor,
2844 self_: *mut C_tensor,
2845 dim_: i64,
2846 half_to_float_: c_int,
2847 );
2848 pub fn atg__sparse_softmax_backward_data(
2849 out__: *mut *mut C_tensor,
2850 grad_output_: *mut C_tensor,
2851 output_: *mut C_tensor,
2852 dim_: i64,
2853 self_: *mut C_tensor,
2854 );
2855 pub fn atg__sparse_softmax_backward_data_out(
2856 out__: *mut *mut C_tensor,
2857 out_: *mut C_tensor,
2858 grad_output_: *mut C_tensor,
2859 output_: *mut C_tensor,
2860 dim_: i64,
2861 self_: *mut C_tensor,
2862 );
2863 pub fn atg__sparse_softmax_int(
2864 out__: *mut *mut C_tensor,
2865 self_: *mut C_tensor,
2866 dim_: i64,
2867 dtype_: c_int,
2868 );
2869 pub fn atg__sparse_softmax_out(
2870 out__: *mut *mut C_tensor,
2871 out_: *mut C_tensor,
2872 self_: *mut C_tensor,
2873 dim_: i64,
2874 half_to_float_: c_int,
2875 );
2876 pub fn atg__sparse_sparse_matmul(
2877 out__: *mut *mut C_tensor,
2878 self_: *mut C_tensor,
2879 other_: *mut C_tensor,
2880 );
2881 pub fn atg__sparse_sparse_matmul_out(
2882 out__: *mut *mut C_tensor,
2883 out_: *mut C_tensor,
2884 self_: *mut C_tensor,
2885 other_: *mut C_tensor,
2886 );
2887 pub fn atg__sparse_sum(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2888 pub fn atg__sparse_sum_backward(
2889 out__: *mut *mut C_tensor,
2890 grad_: *mut C_tensor,
2891 self_: *mut C_tensor,
2892 dim_data: *const i64,
2893 dim_len: c_int,
2894 );
2895 pub fn atg__sparse_sum_backward_out(
2896 out__: *mut *mut C_tensor,
2897 out_: *mut C_tensor,
2898 grad_: *mut C_tensor,
2899 self_: *mut C_tensor,
2900 dim_data: *const i64,
2901 dim_len: c_int,
2902 );
2903 pub fn atg__sparse_sum_dim(
2904 out__: *mut *mut C_tensor,
2905 self_: *mut C_tensor,
2906 dim_data: *const i64,
2907 dim_len: c_int,
2908 );
2909 pub fn atg__sparse_sum_dim_dtype(
2910 out__: *mut *mut C_tensor,
2911 self_: *mut C_tensor,
2912 dim_data: *const i64,
2913 dim_len: c_int,
2914 dtype_: c_int,
2915 );
2916 pub fn atg__sparse_sum_dim_out(
2917 out__: *mut *mut C_tensor,
2918 out_: *mut C_tensor,
2919 self_: *mut C_tensor,
2920 dim_data: *const i64,
2921 dim_len: c_int,
2922 );
2923 pub fn atg__sparse_sum_dtype(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
2924 pub fn atg__spdiags(
2925 out__: *mut *mut C_tensor,
2926 diagonals_: *mut C_tensor,
2927 offsets_: *mut C_tensor,
2928 shape_data: *const i64,
2929 shape_len: c_int,
2930 layout_: i8,
2931 );
2932 pub fn atg__spdiags_out(
2933 out__: *mut *mut C_tensor,
2934 out_: *mut C_tensor,
2935 diagonals_: *mut C_tensor,
2936 offsets_: *mut C_tensor,
2937 shape_data: *const i64,
2938 shape_len: c_int,
2939 layout_: i8,
2940 );
2941 pub fn atg__spsolve(
2942 out__: *mut *mut C_tensor,
2943 A_: *mut C_tensor,
2944 B_: *mut C_tensor,
2945 left_: c_int,
2946 );
2947 pub fn atg__stack(
2948 out__: *mut *mut C_tensor,
2949 tensors_data: *const *mut C_tensor,
2950 tensors_len: c_int,
2951 dim_: i64,
2952 );
2953 pub fn atg__stack_out(
2954 out__: *mut *mut C_tensor,
2955 out_: *mut C_tensor,
2956 tensors_data: *const *mut C_tensor,
2957 tensors_len: c_int,
2958 dim_: i64,
2959 );
2960 pub fn atg__standard_gamma(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2961 pub fn atg__standard_gamma_grad(
2962 out__: *mut *mut C_tensor,
2963 self_: *mut C_tensor,
2964 output_: *mut C_tensor,
2965 );
2966 pub fn atg__standard_gamma_grad_out(
2967 out__: *mut *mut C_tensor,
2968 out_: *mut C_tensor,
2969 self_: *mut C_tensor,
2970 output_: *mut C_tensor,
2971 );
2972 pub fn atg__standard_gamma_out(
2973 out__: *mut *mut C_tensor,
2974 out_: *mut C_tensor,
2975 self_: *mut C_tensor,
2976 );
2977 pub fn atg__test_ambiguous_defaults(
2978 out__: *mut *mut C_tensor,
2979 dummy_: *mut C_tensor,
2980 a_: i64,
2981 b_: i64,
2982 );
2983 pub fn atg__test_ambiguous_defaults_b(
2984 out__: *mut *mut C_tensor,
2985 dummy_: *mut C_tensor,
2986 a_: i64,
2987 b_ptr: *const u8,
2988 b_len: c_int,
2989 );
2990 pub fn atg__test_autograd_multiple_dispatch(out__: *mut *mut C_tensor, self_: *mut C_tensor);
2991 pub fn atg__test_autograd_multiple_dispatch_fullcoverage_out(
2992 out__: *mut *mut C_tensor,
2993 out_: *mut C_tensor,
2994 self_: *mut C_tensor,
2995 );
2996 pub fn atg__test_autograd_multiple_dispatch_ntonly(
2997 out__: *mut *mut C_tensor,
2998 self_: *mut C_tensor,
2999 b_: c_int,
3000 );
3001 pub fn atg__test_autograd_multiple_dispatch_view(
3002 out__: *mut *mut C_tensor,
3003 self_: *mut C_tensor,
3004 );
3005 pub fn atg__test_autograd_multiple_dispatch_view_copy(
3006 out__: *mut *mut C_tensor,
3007 self_: *mut C_tensor,
3008 );
3009 pub fn atg__test_autograd_multiple_dispatch_view_copy_out(
3010 out__: *mut *mut C_tensor,
3011 out_: *mut C_tensor,
3012 self_: *mut C_tensor,
3013 );
3014 pub fn atg__test_check_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3015 pub fn atg__test_functorch_fallback(
3016 out__: *mut *mut C_tensor,
3017 self_: *mut C_tensor,
3018 other_: *mut C_tensor,
3019 );
3020 pub fn atg__test_functorch_fallback_out(
3021 out__: *mut *mut C_tensor,
3022 out_: *mut C_tensor,
3023 self_: *mut C_tensor,
3024 other_: *mut C_tensor,
3025 );
3026 pub fn atg__test_optional_filled_intlist(
3027 out__: *mut *mut C_tensor,
3028 values_: *mut C_tensor,
3029 addends_data: *const i64,
3030 addends_len: c_int,
3031 );
3032 pub fn atg__test_optional_filled_intlist_out(
3033 out__: *mut *mut C_tensor,
3034 out_: *mut C_tensor,
3035 values_: *mut C_tensor,
3036 addends_data: *const i64,
3037 addends_len: c_int,
3038 );
3039 pub fn atg__test_optional_floatlist(
3040 out__: *mut *mut C_tensor,
3041 values_: *mut C_tensor,
3042 addends_data: *const f64,
3043 addends_len: c_int,
3044 );
3045 pub fn atg__test_optional_floatlist_out(
3046 out__: *mut *mut C_tensor,
3047 out_: *mut C_tensor,
3048 values_: *mut C_tensor,
3049 addends_data: *const f64,
3050 addends_len: c_int,
3051 );
3052 pub fn atg__test_optional_intlist(
3053 out__: *mut *mut C_tensor,
3054 values_: *mut C_tensor,
3055 addends_data: *const i64,
3056 addends_len: c_int,
3057 );
3058 pub fn atg__test_optional_intlist_out(
3059 out__: *mut *mut C_tensor,
3060 out_: *mut C_tensor,
3061 values_: *mut C_tensor,
3062 addends_data: *const i64,
3063 addends_len: c_int,
3064 );
3065 pub fn atg__test_parallel_materialize(
3066 out__: *mut *mut C_tensor,
3067 self_: *mut C_tensor,
3068 num_parallel_: i64,
3069 skip_first_: c_int,
3070 );
3071 pub fn atg__test_serialization_subcmul(
3072 out__: *mut *mut C_tensor,
3073 self_: *mut C_tensor,
3074 other_: *mut C_tensor,
3075 );
3076 pub fn atg__test_string_default(
3077 out__: *mut *mut C_tensor,
3078 dummy_: *mut C_tensor,
3079 a_ptr: *const u8,
3080 a_len: c_int,
3081 b_ptr: *const u8,
3082 b_len: c_int,
3083 );
3084 pub fn atg__test_warn_in_autograd(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3085 pub fn atg__test_warn_in_autograd_out(
3086 out__: *mut *mut C_tensor,
3087 out_: *mut C_tensor,
3088 self_: *mut C_tensor,
3089 );
3090 pub fn atg__to_copy(
3091 out__: *mut *mut C_tensor,
3092 self_: *mut C_tensor,
3093 options_kind: c_int,
3094 options_device: c_int,
3095 non_blocking_: c_int,
3096 );
3097 pub fn atg__to_copy_out(
3098 out__: *mut *mut C_tensor,
3099 out_: *mut C_tensor,
3100 self_: *mut C_tensor,
3101 non_blocking_: c_int,
3102 );
3103 pub fn atg__to_cpu(
3104 tensors_data: *const *mut C_tensor,
3105 tensors_len: c_int,
3106 ) -> *mut *mut C_tensor;
3107 pub fn atg__to_dense(
3108 out__: *mut *mut C_tensor,
3109 self_: *mut C_tensor,
3110 dtype_: c_int,
3111 masked_grad_: c_int,
3112 );
3113 pub fn atg__to_dense_out(
3114 out__: *mut *mut C_tensor,
3115 out_: *mut C_tensor,
3116 self_: *mut C_tensor,
3117 dtype_: c_int,
3118 masked_grad_: c_int,
3119 );
3120 pub fn atg__to_sparse(
3121 out__: *mut *mut C_tensor,
3122 self_: *mut C_tensor,
3123 layout_: i8,
3124 blocksize_data: *const i64,
3125 blocksize_len: c_int,
3126 dense_dim_v: i64,
3127 dense_dim_null: i8,
3128 );
3129 pub fn atg__to_sparse_bsc(
3130 out__: *mut *mut C_tensor,
3131 self_: *mut C_tensor,
3132 blocksize_data: *const i64,
3133 blocksize_len: c_int,
3134 dense_dim_v: i64,
3135 dense_dim_null: i8,
3136 );
3137 pub fn atg__to_sparse_bsc_out(
3138 out__: *mut *mut C_tensor,
3139 out_: *mut C_tensor,
3140 self_: *mut C_tensor,
3141 blocksize_data: *const i64,
3142 blocksize_len: c_int,
3143 dense_dim_v: i64,
3144 dense_dim_null: i8,
3145 );
3146 pub fn atg__to_sparse_bsr(
3147 out__: *mut *mut C_tensor,
3148 self_: *mut C_tensor,
3149 blocksize_data: *const i64,
3150 blocksize_len: c_int,
3151 dense_dim_v: i64,
3152 dense_dim_null: i8,
3153 );
3154 pub fn atg__to_sparse_bsr_out(
3155 out__: *mut *mut C_tensor,
3156 out_: *mut C_tensor,
3157 self_: *mut C_tensor,
3158 blocksize_data: *const i64,
3159 blocksize_len: c_int,
3160 dense_dim_v: i64,
3161 dense_dim_null: i8,
3162 );
3163 pub fn atg__to_sparse_csc(
3164 out__: *mut *mut C_tensor,
3165 self_: *mut C_tensor,
3166 dense_dim_v: i64,
3167 dense_dim_null: i8,
3168 );
3169 pub fn atg__to_sparse_csc_out(
3170 out__: *mut *mut C_tensor,
3171 out_: *mut C_tensor,
3172 self_: *mut C_tensor,
3173 dense_dim_v: i64,
3174 dense_dim_null: i8,
3175 );
3176 pub fn atg__to_sparse_csr(
3177 out__: *mut *mut C_tensor,
3178 self_: *mut C_tensor,
3179 dense_dim_v: i64,
3180 dense_dim_null: i8,
3181 );
3182 pub fn atg__to_sparse_csr_out(
3183 out__: *mut *mut C_tensor,
3184 out_: *mut C_tensor,
3185 self_: *mut C_tensor,
3186 dense_dim_v: i64,
3187 dense_dim_null: i8,
3188 );
3189 pub fn atg__to_sparse_out(
3190 out__: *mut *mut C_tensor,
3191 out_: *mut C_tensor,
3192 self_: *mut C_tensor,
3193 layout_: i8,
3194 blocksize_data: *const i64,
3195 blocksize_len: c_int,
3196 dense_dim_v: i64,
3197 dense_dim_null: i8,
3198 );
3199 pub fn atg__to_sparse_semi_structured(out__: *mut *mut C_tensor, dense_: *mut C_tensor);
3200 pub fn atg__to_sparse_sparse_dim(
3201 out__: *mut *mut C_tensor,
3202 self_: *mut C_tensor,
3203 sparse_dim_: i64,
3204 );
3205 pub fn atg__to_sparse_sparse_dim_out(
3206 out__: *mut *mut C_tensor,
3207 out_: *mut C_tensor,
3208 self_: *mut C_tensor,
3209 sparse_dim_: i64,
3210 );
3211 pub fn atg__transform_bias_rescale_qkv(
3212 out__: *mut *mut C_tensor,
3213 qkv_: *mut C_tensor,
3214 qkv_bias_: *mut C_tensor,
3215 num_heads_: i64,
3216 );
3217 pub fn atg__transform_bias_rescale_qkv_out(
3218 out__: *mut *mut C_tensor,
3219 out0_: *mut C_tensor,
3220 out1_: *mut C_tensor,
3221 out2_: *mut C_tensor,
3222 qkv_: *mut C_tensor,
3223 qkv_bias_: *mut C_tensor,
3224 num_heads_: i64,
3225 );
3226 pub fn atg__transformer_encoder_layer_fwd(
3227 out__: *mut *mut C_tensor,
3228 src_: *mut C_tensor,
3229 embed_dim_: i64,
3230 num_heads_: i64,
3231 qkv_weight_: *mut C_tensor,
3232 qkv_bias_: *mut C_tensor,
3233 proj_weight_: *mut C_tensor,
3234 proj_bias_: *mut C_tensor,
3235 use_gelu_: c_int,
3236 norm_first_: c_int,
3237 eps_: f64,
3238 norm_weight_1_: *mut C_tensor,
3239 norm_bias_1_: *mut C_tensor,
3240 norm_weight_2_: *mut C_tensor,
3241 norm_bias_2_: *mut C_tensor,
3242 ffn_weight_1_: *mut C_tensor,
3243 ffn_bias_1_: *mut C_tensor,
3244 ffn_weight_2_: *mut C_tensor,
3245 ffn_bias_2_: *mut C_tensor,
3246 mask_: *mut C_tensor,
3247 mask_type_v: i64,
3248 mask_type_null: i8,
3249 );
3250 pub fn atg__transformer_encoder_layer_fwd_out(
3251 out__: *mut *mut C_tensor,
3252 out_: *mut C_tensor,
3253 src_: *mut C_tensor,
3254 embed_dim_: i64,
3255 num_heads_: i64,
3256 qkv_weight_: *mut C_tensor,
3257 qkv_bias_: *mut C_tensor,
3258 proj_weight_: *mut C_tensor,
3259 proj_bias_: *mut C_tensor,
3260 use_gelu_: c_int,
3261 norm_first_: c_int,
3262 eps_: f64,
3263 norm_weight_1_: *mut C_tensor,
3264 norm_bias_1_: *mut C_tensor,
3265 norm_weight_2_: *mut C_tensor,
3266 norm_bias_2_: *mut C_tensor,
3267 ffn_weight_1_: *mut C_tensor,
3268 ffn_bias_1_: *mut C_tensor,
3269 ffn_weight_2_: *mut C_tensor,
3270 ffn_bias_2_: *mut C_tensor,
3271 mask_: *mut C_tensor,
3272 mask_type_v: i64,
3273 mask_type_null: i8,
3274 );
3275 pub fn atg__trilinear(
3276 out__: *mut *mut C_tensor,
3277 i1_: *mut C_tensor,
3278 i2_: *mut C_tensor,
3279 i3_: *mut C_tensor,
3280 expand1_data: *const i64,
3281 expand1_len: c_int,
3282 expand2_data: *const i64,
3283 expand2_len: c_int,
3284 expand3_data: *const i64,
3285 expand3_len: c_int,
3286 sumdim_data: *const i64,
3287 sumdim_len: c_int,
3288 unroll_dim_: i64,
3289 );
3290 pub fn atg__trilinear_out(
3291 out__: *mut *mut C_tensor,
3292 out_: *mut C_tensor,
3293 i1_: *mut C_tensor,
3294 i2_: *mut C_tensor,
3295 i3_: *mut C_tensor,
3296 expand1_data: *const i64,
3297 expand1_len: c_int,
3298 expand2_data: *const i64,
3299 expand2_len: c_int,
3300 expand3_data: *const i64,
3301 expand3_len: c_int,
3302 sumdim_data: *const i64,
3303 sumdim_len: c_int,
3304 unroll_dim_: i64,
3305 );
3306 pub fn atg__triton_multi_head_attention(
3307 out__: *mut *mut C_tensor,
3308 query_: *mut C_tensor,
3309 key_: *mut C_tensor,
3310 value_: *mut C_tensor,
3311 embed_dim_: i64,
3312 num_head_: i64,
3313 qkv_weight_: *mut C_tensor,
3314 qkv_bias_: *mut C_tensor,
3315 proj_weight_: *mut C_tensor,
3316 proj_bias_: *mut C_tensor,
3317 mask_: *mut C_tensor,
3318 );
3319 pub fn atg__triton_multi_head_attention_out(
3320 out__: *mut *mut C_tensor,
3321 out_: *mut C_tensor,
3322 query_: *mut C_tensor,
3323 key_: *mut C_tensor,
3324 value_: *mut C_tensor,
3325 embed_dim_: i64,
3326 num_head_: i64,
3327 qkv_weight_: *mut C_tensor,
3328 qkv_bias_: *mut C_tensor,
3329 proj_weight_: *mut C_tensor,
3330 proj_bias_: *mut C_tensor,
3331 mask_: *mut C_tensor,
3332 );
3333 pub fn atg__triton_scaled_dot_attention(
3334 out__: *mut *mut C_tensor,
3335 q_: *mut C_tensor,
3336 k_: *mut C_tensor,
3337 v_: *mut C_tensor,
3338 dropout_p_: f64,
3339 );
3340 pub fn atg__triton_scaled_dot_attention_out(
3341 out__: *mut *mut C_tensor,
3342 out_: *mut C_tensor,
3343 q_: *mut C_tensor,
3344 k_: *mut C_tensor,
3345 v_: *mut C_tensor,
3346 dropout_p_: f64,
3347 );
3348 pub fn atg__unique(
3349 out__: *mut *mut C_tensor,
3350 self_: *mut C_tensor,
3351 sorted_: c_int,
3352 return_inverse_: c_int,
3353 );
3354 pub fn atg__unique2(
3355 out__: *mut *mut C_tensor,
3356 self_: *mut C_tensor,
3357 sorted_: c_int,
3358 return_inverse_: c_int,
3359 return_counts_: c_int,
3360 );
3361 pub fn atg__unique2_out(
3362 out__: *mut *mut C_tensor,
3363 out0_: *mut C_tensor,
3364 out1_: *mut C_tensor,
3365 out2_: *mut C_tensor,
3366 self_: *mut C_tensor,
3367 sorted_: c_int,
3368 return_inverse_: c_int,
3369 return_counts_: c_int,
3370 );
3371 pub fn atg__unique_out(
3372 out__: *mut *mut C_tensor,
3373 out0_: *mut C_tensor,
3374 out1_: *mut C_tensor,
3375 self_: *mut C_tensor,
3376 sorted_: c_int,
3377 return_inverse_: c_int,
3378 );
3379 pub fn atg__unpack_dual(out__: *mut *mut C_tensor, dual_: *mut C_tensor, level_: i64);
3380 pub fn atg__unsafe_index(
3381 out__: *mut *mut C_tensor,
3382 self_: *mut C_tensor,
3383 indices_data: *const *mut C_tensor,
3384 indices_len: c_int,
3385 );
3386 pub fn atg__unsafe_index_put(
3387 out__: *mut *mut C_tensor,
3388 self_: *mut C_tensor,
3389 indices_data: *const *mut C_tensor,
3390 indices_len: c_int,
3391 values_: *mut C_tensor,
3392 accumulate_: c_int,
3393 );
3394 pub fn atg__unsafe_masked_index(
3395 out__: *mut *mut C_tensor,
3396 self_: *mut C_tensor,
3397 mask_: *mut C_tensor,
3398 indices_data: *const *mut C_tensor,
3399 indices_len: c_int,
3400 fill_: *mut C_scalar,
3401 );
3402 pub fn atg__unsafe_masked_index_put_accumulate(
3403 out__: *mut *mut C_tensor,
3404 self_: *mut C_tensor,
3405 mask_: *mut C_tensor,
3406 indices_data: *const *mut C_tensor,
3407 indices_len: c_int,
3408 values_: *mut C_tensor,
3409 );
3410 pub fn atg__unsafe_view(
3411 out__: *mut *mut C_tensor,
3412 self_: *mut C_tensor,
3413 size_data: *const i64,
3414 size_len: c_int,
3415 );
3416 pub fn atg__unsafe_view_out(
3417 out__: *mut *mut C_tensor,
3418 out_: *mut C_tensor,
3419 self_: *mut C_tensor,
3420 size_data: *const i64,
3421 size_len: c_int,
3422 );
3423 pub fn atg__upsample_bicubic2d_aa(
3424 out__: *mut *mut C_tensor,
3425 self_: *mut C_tensor,
3426 output_size_data: *const i64,
3427 output_size_len: c_int,
3428 align_corners_: c_int,
3429 scales_h_v: f64,
3430 scales_h_null: i8,
3431 scales_w_v: f64,
3432 scales_w_null: i8,
3433 );
3434 pub fn atg__upsample_bicubic2d_aa_backward(
3435 out__: *mut *mut C_tensor,
3436 grad_output_: *mut C_tensor,
3437 output_size_data: *const i64,
3438 output_size_len: c_int,
3439 input_size_data: *const i64,
3440 input_size_len: c_int,
3441 align_corners_: c_int,
3442 scales_h_v: f64,
3443 scales_h_null: i8,
3444 scales_w_v: f64,
3445 scales_w_null: i8,
3446 );
3447 pub fn atg__upsample_bicubic2d_aa_backward_grad_input(
3448 out__: *mut *mut C_tensor,
3449 grad_input_: *mut C_tensor,
3450 grad_output_: *mut C_tensor,
3451 output_size_data: *const i64,
3452 output_size_len: c_int,
3453 input_size_data: *const i64,
3454 input_size_len: c_int,
3455 align_corners_: c_int,
3456 scales_h_v: f64,
3457 scales_h_null: i8,
3458 scales_w_v: f64,
3459 scales_w_null: i8,
3460 );
3461 pub fn atg__upsample_bicubic2d_aa_out(
3462 out__: *mut *mut C_tensor,
3463 out_: *mut C_tensor,
3464 self_: *mut C_tensor,
3465 output_size_data: *const i64,
3466 output_size_len: c_int,
3467 align_corners_: c_int,
3468 scales_h_v: f64,
3469 scales_h_null: i8,
3470 scales_w_v: f64,
3471 scales_w_null: i8,
3472 );
3473 pub fn atg__upsample_bicubic2d_aa_vec(
3474 out__: *mut *mut C_tensor,
3475 input_: *mut C_tensor,
3476 output_size_data: *const i64,
3477 output_size_len: c_int,
3478 align_corners_: c_int,
3479 scale_factors_data: *const f64,
3480 scale_factors_len: c_int,
3481 );
3482 pub fn atg__upsample_bilinear2d_aa(
3483 out__: *mut *mut C_tensor,
3484 self_: *mut C_tensor,
3485 output_size_data: *const i64,
3486 output_size_len: c_int,
3487 align_corners_: c_int,
3488 scales_h_v: f64,
3489 scales_h_null: i8,
3490 scales_w_v: f64,
3491 scales_w_null: i8,
3492 );
3493 pub fn atg__upsample_bilinear2d_aa_backward(
3494 out__: *mut *mut C_tensor,
3495 grad_output_: *mut C_tensor,
3496 output_size_data: *const i64,
3497 output_size_len: c_int,
3498 input_size_data: *const i64,
3499 input_size_len: c_int,
3500 align_corners_: c_int,
3501 scales_h_v: f64,
3502 scales_h_null: i8,
3503 scales_w_v: f64,
3504 scales_w_null: i8,
3505 );
3506 pub fn atg__upsample_bilinear2d_aa_backward_grad_input(
3507 out__: *mut *mut C_tensor,
3508 grad_input_: *mut C_tensor,
3509 grad_output_: *mut C_tensor,
3510 output_size_data: *const i64,
3511 output_size_len: c_int,
3512 input_size_data: *const i64,
3513 input_size_len: c_int,
3514 align_corners_: c_int,
3515 scales_h_v: f64,
3516 scales_h_null: i8,
3517 scales_w_v: f64,
3518 scales_w_null: i8,
3519 );
3520 pub fn atg__upsample_bilinear2d_aa_out(
3521 out__: *mut *mut C_tensor,
3522 out_: *mut C_tensor,
3523 self_: *mut C_tensor,
3524 output_size_data: *const i64,
3525 output_size_len: c_int,
3526 align_corners_: c_int,
3527 scales_h_v: f64,
3528 scales_h_null: i8,
3529 scales_w_v: f64,
3530 scales_w_null: i8,
3531 );
3532 pub fn atg__upsample_bilinear2d_aa_vec(
3533 out__: *mut *mut C_tensor,
3534 input_: *mut C_tensor,
3535 output_size_data: *const i64,
3536 output_size_len: c_int,
3537 align_corners_: c_int,
3538 scale_factors_data: *const f64,
3539 scale_factors_len: c_int,
3540 );
3541 pub fn atg__upsample_nearest_exact1d(
3542 out__: *mut *mut C_tensor,
3543 self_: *mut C_tensor,
3544 output_size_data: *const i64,
3545 output_size_len: c_int,
3546 scales_v: f64,
3547 scales_null: i8,
3548 );
3549 pub fn atg__upsample_nearest_exact1d_backward(
3550 out__: *mut *mut C_tensor,
3551 grad_output_: *mut C_tensor,
3552 output_size_data: *const i64,
3553 output_size_len: c_int,
3554 input_size_data: *const i64,
3555 input_size_len: c_int,
3556 scales_v: f64,
3557 scales_null: i8,
3558 );
3559 pub fn atg__upsample_nearest_exact1d_backward_grad_input(
3560 out__: *mut *mut C_tensor,
3561 grad_input_: *mut C_tensor,
3562 grad_output_: *mut C_tensor,
3563 output_size_data: *const i64,
3564 output_size_len: c_int,
3565 input_size_data: *const i64,
3566 input_size_len: c_int,
3567 scales_v: f64,
3568 scales_null: i8,
3569 );
3570 pub fn atg__upsample_nearest_exact1d_out(
3571 out__: *mut *mut C_tensor,
3572 out_: *mut C_tensor,
3573 self_: *mut C_tensor,
3574 output_size_data: *const i64,
3575 output_size_len: c_int,
3576 scales_v: f64,
3577 scales_null: i8,
3578 );
3579 pub fn atg__upsample_nearest_exact1d_vec(
3580 out__: *mut *mut C_tensor,
3581 input_: *mut C_tensor,
3582 output_size_data: *const i64,
3583 output_size_len: c_int,
3584 scale_factors_data: *const f64,
3585 scale_factors_len: c_int,
3586 );
3587 pub fn atg__upsample_nearest_exact2d(
3588 out__: *mut *mut C_tensor,
3589 self_: *mut C_tensor,
3590 output_size_data: *const i64,
3591 output_size_len: c_int,
3592 scales_h_v: f64,
3593 scales_h_null: i8,
3594 scales_w_v: f64,
3595 scales_w_null: i8,
3596 );
3597 pub fn atg__upsample_nearest_exact2d_backward(
3598 out__: *mut *mut C_tensor,
3599 grad_output_: *mut C_tensor,
3600 output_size_data: *const i64,
3601 output_size_len: c_int,
3602 input_size_data: *const i64,
3603 input_size_len: c_int,
3604 scales_h_v: f64,
3605 scales_h_null: i8,
3606 scales_w_v: f64,
3607 scales_w_null: i8,
3608 );
3609 pub fn atg__upsample_nearest_exact2d_backward_grad_input(
3610 out__: *mut *mut C_tensor,
3611 grad_input_: *mut C_tensor,
3612 grad_output_: *mut C_tensor,
3613 output_size_data: *const i64,
3614 output_size_len: c_int,
3615 input_size_data: *const i64,
3616 input_size_len: c_int,
3617 scales_h_v: f64,
3618 scales_h_null: i8,
3619 scales_w_v: f64,
3620 scales_w_null: i8,
3621 );
3622 pub fn atg__upsample_nearest_exact2d_out(
3623 out__: *mut *mut C_tensor,
3624 out_: *mut C_tensor,
3625 self_: *mut C_tensor,
3626 output_size_data: *const i64,
3627 output_size_len: c_int,
3628 scales_h_v: f64,
3629 scales_h_null: i8,
3630 scales_w_v: f64,
3631 scales_w_null: i8,
3632 );
3633 pub fn atg__upsample_nearest_exact2d_vec(
3634 out__: *mut *mut C_tensor,
3635 input_: *mut C_tensor,
3636 output_size_data: *const i64,
3637 output_size_len: c_int,
3638 scale_factors_data: *const f64,
3639 scale_factors_len: c_int,
3640 );
3641 pub fn atg__upsample_nearest_exact3d(
3642 out__: *mut *mut C_tensor,
3643 self_: *mut C_tensor,
3644 output_size_data: *const i64,
3645 output_size_len: c_int,
3646 scales_d_v: f64,
3647 scales_d_null: i8,
3648 scales_h_v: f64,
3649 scales_h_null: i8,
3650 scales_w_v: f64,
3651 scales_w_null: i8,
3652 );
3653 pub fn atg__upsample_nearest_exact3d_backward(
3654 out__: *mut *mut C_tensor,
3655 grad_output_: *mut C_tensor,
3656 output_size_data: *const i64,
3657 output_size_len: c_int,
3658 input_size_data: *const i64,
3659 input_size_len: c_int,
3660 scales_d_v: f64,
3661 scales_d_null: i8,
3662 scales_h_v: f64,
3663 scales_h_null: i8,
3664 scales_w_v: f64,
3665 scales_w_null: i8,
3666 );
3667 pub fn atg__upsample_nearest_exact3d_backward_grad_input(
3668 out__: *mut *mut C_tensor,
3669 grad_input_: *mut C_tensor,
3670 grad_output_: *mut C_tensor,
3671 output_size_data: *const i64,
3672 output_size_len: c_int,
3673 input_size_data: *const i64,
3674 input_size_len: c_int,
3675 scales_d_v: f64,
3676 scales_d_null: i8,
3677 scales_h_v: f64,
3678 scales_h_null: i8,
3679 scales_w_v: f64,
3680 scales_w_null: i8,
3681 );
3682 pub fn atg__upsample_nearest_exact3d_out(
3683 out__: *mut *mut C_tensor,
3684 out_: *mut C_tensor,
3685 self_: *mut C_tensor,
3686 output_size_data: *const i64,
3687 output_size_len: c_int,
3688 scales_d_v: f64,
3689 scales_d_null: i8,
3690 scales_h_v: f64,
3691 scales_h_null: i8,
3692 scales_w_v: f64,
3693 scales_w_null: i8,
3694 );
3695 pub fn atg__upsample_nearest_exact3d_vec(
3696 out__: *mut *mut C_tensor,
3697 input_: *mut C_tensor,
3698 output_size_data: *const i64,
3699 output_size_len: c_int,
3700 scale_factors_data: *const f64,
3701 scale_factors_len: c_int,
3702 );
3703 pub fn atg__use_cudnn_ctc_loss(
3704 log_probs_: *mut C_tensor,
3705 targets_: *mut C_tensor,
3706 input_lengths_data: *const i64,
3707 input_lengths_len: c_int,
3708 target_lengths_data: *const i64,
3709 target_lengths_len: c_int,
3710 blank_: i64,
3711 ) -> c_int;
3712 pub fn atg__use_cudnn_ctc_loss_tensor(
3713 log_probs_: *mut C_tensor,
3714 targets_: *mut C_tensor,
3715 input_lengths_: *mut C_tensor,
3716 target_lengths_: *mut C_tensor,
3717 blank_: i64,
3718 ) -> c_int;
3719 pub fn atg__use_cudnn_rnn_flatten_weight() -> c_int;
3720 pub fn atg__validate_compressed_sparse_indices(
3721 is_crow_: c_int,
3722 compressed_idx_: *mut C_tensor,
3723 plain_idx_: *mut C_tensor,
3724 cdim_: i64,
3725 dim_: i64,
3726 nnz_: i64,
3727 );
3728 pub fn atg__validate_sparse_bsc_tensor_args(
3729 ccol_indices_: *mut C_tensor,
3730 row_indices_: *mut C_tensor,
3731 values_: *mut C_tensor,
3732 size_data: *const i64,
3733 size_len: c_int,
3734 check_pinning_: c_int,
3735 );
3736 pub fn atg__validate_sparse_bsr_tensor_args(
3737 crow_indices_: *mut C_tensor,
3738 col_indices_: *mut C_tensor,
3739 values_: *mut C_tensor,
3740 size_data: *const i64,
3741 size_len: c_int,
3742 check_pinning_: c_int,
3743 );
3744 pub fn atg__validate_sparse_compressed_tensor_args(
3745 compressed_indices_: *mut C_tensor,
3746 plain_indices_: *mut C_tensor,
3747 values_: *mut C_tensor,
3748 size_data: *const i64,
3749 size_len: c_int,
3750 layout_: i8,
3751 check_pinning_: c_int,
3752 );
3753 pub fn atg__validate_sparse_csc_tensor_args(
3754 ccol_indices_: *mut C_tensor,
3755 row_indices_: *mut C_tensor,
3756 values_: *mut C_tensor,
3757 size_data: *const i64,
3758 size_len: c_int,
3759 check_pinning_: c_int,
3760 );
3761 pub fn atg__validate_sparse_csr_tensor_args(
3762 crow_indices_: *mut C_tensor,
3763 col_indices_: *mut C_tensor,
3764 values_: *mut C_tensor,
3765 size_data: *const i64,
3766 size_len: c_int,
3767 check_pinning_: c_int,
3768 );
3769 pub fn atg__values(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3770 pub fn atg__values_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3771 pub fn atg__values_copy_out(
3772 out__: *mut *mut C_tensor,
3773 out_: *mut C_tensor,
3774 self_: *mut C_tensor,
3775 );
3776 pub fn atg__version(self_: *mut C_tensor) -> i64;
3777 pub fn atg__weight_int4pack_mm(
3778 out__: *mut *mut C_tensor,
3779 self_: *mut C_tensor,
3780 mat2_: *mut C_tensor,
3781 qGroupSize_: i64,
3782 qScaleAndZeros_: *mut C_tensor,
3783 );
3784 pub fn atg__weight_int4pack_mm_for_cpu(
3785 out__: *mut *mut C_tensor,
3786 self_: *mut C_tensor,
3787 mat2_: *mut C_tensor,
3788 qGroupSize_: i64,
3789 qScaleAndZeros_: *mut C_tensor,
3790 );
3791 pub fn atg__weight_int4pack_mm_with_scales_and_zeros(
3792 out__: *mut *mut C_tensor,
3793 self_: *mut C_tensor,
3794 mat2_: *mut C_tensor,
3795 qGroupSize_: i64,
3796 qScale_: *mut C_tensor,
3797 qZeros_: *mut C_tensor,
3798 );
3799 pub fn atg__weight_int8pack_mm(
3800 out__: *mut *mut C_tensor,
3801 self_: *mut C_tensor,
3802 mat2_: *mut C_tensor,
3803 scales_: *mut C_tensor,
3804 );
3805 pub fn atg__weight_norm(
3806 out__: *mut *mut C_tensor,
3807 v_: *mut C_tensor,
3808 g_: *mut C_tensor,
3809 dim_: i64,
3810 );
3811 pub fn atg__weight_norm_differentiable_backward(
3812 out__: *mut *mut C_tensor,
3813 grad_w_: *mut C_tensor,
3814 saved_v_: *mut C_tensor,
3815 saved_g_: *mut C_tensor,
3816 saved_norms_: *mut C_tensor,
3817 dim_: i64,
3818 );
3819 pub fn atg__weight_norm_interface(
3820 out__: *mut *mut C_tensor,
3821 v_: *mut C_tensor,
3822 g_: *mut C_tensor,
3823 dim_: i64,
3824 );
3825 pub fn atg__weight_norm_interface_backward(
3826 out__: *mut *mut C_tensor,
3827 grad_w_: *mut C_tensor,
3828 saved_v_: *mut C_tensor,
3829 saved_g_: *mut C_tensor,
3830 saved_norms_: *mut C_tensor,
3831 dim_: i64,
3832 );
3833 pub fn atg__weight_norm_interface_backward_out(
3834 out__: *mut *mut C_tensor,
3835 out0_: *mut C_tensor,
3836 out1_: *mut C_tensor,
3837 grad_w_: *mut C_tensor,
3838 saved_v_: *mut C_tensor,
3839 saved_g_: *mut C_tensor,
3840 saved_norms_: *mut C_tensor,
3841 dim_: i64,
3842 );
3843 pub fn atg__weight_norm_interface_out(
3844 out__: *mut *mut C_tensor,
3845 out0_: *mut C_tensor,
3846 out1_: *mut C_tensor,
3847 v_: *mut C_tensor,
3848 g_: *mut C_tensor,
3849 dim_: i64,
3850 );
3851 pub fn atg__wrapped_linear_prepack(
3852 out__: *mut *mut C_tensor,
3853 weight_: *mut C_tensor,
3854 weight_scale_: *mut C_tensor,
3855 weight_zero_point_: *mut C_tensor,
3856 bias_: *mut C_tensor,
3857 );
3858 pub fn atg__wrapped_quantized_linear_prepacked(
3859 out__: *mut *mut C_tensor,
3860 input_: *mut C_tensor,
3861 input_scale_: *mut C_tensor,
3862 input_zero_point_: *mut C_tensor,
3863 packed_weight_: *mut C_tensor,
3864 output_scale_: *mut C_tensor,
3865 output_zero_point_: *mut C_tensor,
3866 out_channel_: i64,
3867 );
3868 pub fn atg_abs(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3869 pub fn atg_abs_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3870 pub fn atg_abs_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
3871 pub fn atg_absolute(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3872 pub fn atg_absolute_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3873 pub fn atg_absolute_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
3874 pub fn atg_acos(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3875 pub fn atg_acos_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3876 pub fn atg_acos_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
3877 pub fn atg_acosh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3878 pub fn atg_acosh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
3879 pub fn atg_acosh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
3880 pub fn atg_adaptive_avg_pool1d(
3881 out__: *mut *mut C_tensor,
3882 self_: *mut C_tensor,
3883 output_size_data: *const i64,
3884 output_size_len: c_int,
3885 );
3886 pub fn atg_adaptive_avg_pool1d_out(
3887 out__: *mut *mut C_tensor,
3888 out_: *mut C_tensor,
3889 self_: *mut C_tensor,
3890 output_size_data: *const i64,
3891 output_size_len: c_int,
3892 );
3893 pub fn atg_adaptive_avg_pool2d(
3894 out__: *mut *mut C_tensor,
3895 self_: *mut C_tensor,
3896 output_size_data: *const i64,
3897 output_size_len: c_int,
3898 );
3899 pub fn atg_adaptive_avg_pool2d_out(
3900 out__: *mut *mut C_tensor,
3901 out_: *mut C_tensor,
3902 self_: *mut C_tensor,
3903 output_size_data: *const i64,
3904 output_size_len: c_int,
3905 );
3906 pub fn atg_adaptive_avg_pool3d(
3907 out__: *mut *mut C_tensor,
3908 self_: *mut C_tensor,
3909 output_size_data: *const i64,
3910 output_size_len: c_int,
3911 );
3912 pub fn atg_adaptive_avg_pool3d_backward(
3913 out__: *mut *mut C_tensor,
3914 grad_input_: *mut C_tensor,
3915 grad_output_: *mut C_tensor,
3916 self_: *mut C_tensor,
3917 );
3918 pub fn atg_adaptive_avg_pool3d_out(
3919 out__: *mut *mut C_tensor,
3920 out_: *mut C_tensor,
3921 self_: *mut C_tensor,
3922 output_size_data: *const i64,
3923 output_size_len: c_int,
3924 );
3925 pub fn atg_adaptive_max_pool1d(
3926 out__: *mut *mut C_tensor,
3927 self_: *mut C_tensor,
3928 output_size_data: *const i64,
3929 output_size_len: c_int,
3930 );
3931 pub fn atg_adaptive_max_pool2d(
3932 out__: *mut *mut C_tensor,
3933 self_: *mut C_tensor,
3934 output_size_data: *const i64,
3935 output_size_len: c_int,
3936 );
3937 pub fn atg_adaptive_max_pool2d_backward(
3938 out__: *mut *mut C_tensor,
3939 grad_output_: *mut C_tensor,
3940 self_: *mut C_tensor,
3941 indices_: *mut C_tensor,
3942 );
3943 pub fn atg_adaptive_max_pool2d_backward_grad_input(
3944 out__: *mut *mut C_tensor,
3945 grad_input_: *mut C_tensor,
3946 grad_output_: *mut C_tensor,
3947 self_: *mut C_tensor,
3948 indices_: *mut C_tensor,
3949 );
3950 pub fn atg_adaptive_max_pool2d_out(
3951 out__: *mut *mut C_tensor,
3952 out_: *mut C_tensor,
3953 indices_: *mut C_tensor,
3954 self_: *mut C_tensor,
3955 output_size_data: *const i64,
3956 output_size_len: c_int,
3957 );
3958 pub fn atg_adaptive_max_pool3d(
3959 out__: *mut *mut C_tensor,
3960 self_: *mut C_tensor,
3961 output_size_data: *const i64,
3962 output_size_len: c_int,
3963 );
3964 pub fn atg_adaptive_max_pool3d_backward(
3965 out__: *mut *mut C_tensor,
3966 grad_output_: *mut C_tensor,
3967 self_: *mut C_tensor,
3968 indices_: *mut C_tensor,
3969 );
3970 pub fn atg_adaptive_max_pool3d_backward_grad_input(
3971 out__: *mut *mut C_tensor,
3972 grad_input_: *mut C_tensor,
3973 grad_output_: *mut C_tensor,
3974 self_: *mut C_tensor,
3975 indices_: *mut C_tensor,
3976 );
3977 pub fn atg_adaptive_max_pool3d_out(
3978 out__: *mut *mut C_tensor,
3979 out_: *mut C_tensor,
3980 indices_: *mut C_tensor,
3981 self_: *mut C_tensor,
3982 output_size_data: *const i64,
3983 output_size_len: c_int,
3984 );
3985 pub fn atg_add(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
3986 pub fn atg_add_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
3987 pub fn atg_add_out(
3988 out__: *mut *mut C_tensor,
3989 out_: *mut C_tensor,
3990 self_: *mut C_tensor,
3991 other_: *mut C_tensor,
3992 );
3993 pub fn atg_add_scalar(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
3994 pub fn atg_add_scalar_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
3995 pub fn atg_add_scalar_out(
3996 out__: *mut *mut C_tensor,
3997 out_: *mut C_tensor,
3998 self_: *mut C_tensor,
3999 other_: *mut C_scalar,
4000 );
4001 pub fn atg_addbmm(
4002 out__: *mut *mut C_tensor,
4003 self_: *mut C_tensor,
4004 batch1_: *mut C_tensor,
4005 batch2_: *mut C_tensor,
4006 );
4007 pub fn atg_addbmm_(
4008 out__: *mut *mut C_tensor,
4009 self_: *mut C_tensor,
4010 batch1_: *mut C_tensor,
4011 batch2_: *mut C_tensor,
4012 );
4013 pub fn atg_addbmm_out(
4014 out__: *mut *mut C_tensor,
4015 out_: *mut C_tensor,
4016 self_: *mut C_tensor,
4017 batch1_: *mut C_tensor,
4018 batch2_: *mut C_tensor,
4019 );
4020 pub fn atg_addcdiv(
4021 out__: *mut *mut C_tensor,
4022 self_: *mut C_tensor,
4023 tensor1_: *mut C_tensor,
4024 tensor2_: *mut C_tensor,
4025 );
4026 pub fn atg_addcdiv_(
4027 out__: *mut *mut C_tensor,
4028 self_: *mut C_tensor,
4029 tensor1_: *mut C_tensor,
4030 tensor2_: *mut C_tensor,
4031 );
4032 pub fn atg_addcdiv_out(
4033 out__: *mut *mut C_tensor,
4034 out_: *mut C_tensor,
4035 self_: *mut C_tensor,
4036 tensor1_: *mut C_tensor,
4037 tensor2_: *mut C_tensor,
4038 );
4039 pub fn atg_addcmul(
4040 out__: *mut *mut C_tensor,
4041 self_: *mut C_tensor,
4042 tensor1_: *mut C_tensor,
4043 tensor2_: *mut C_tensor,
4044 );
4045 pub fn atg_addcmul_(
4046 out__: *mut *mut C_tensor,
4047 self_: *mut C_tensor,
4048 tensor1_: *mut C_tensor,
4049 tensor2_: *mut C_tensor,
4050 );
4051 pub fn atg_addcmul_out(
4052 out__: *mut *mut C_tensor,
4053 out_: *mut C_tensor,
4054 self_: *mut C_tensor,
4055 tensor1_: *mut C_tensor,
4056 tensor2_: *mut C_tensor,
4057 );
4058 pub fn atg_addmm(
4059 out__: *mut *mut C_tensor,
4060 self_: *mut C_tensor,
4061 mat1_: *mut C_tensor,
4062 mat2_: *mut C_tensor,
4063 );
4064 pub fn atg_addmm_(
4065 out__: *mut *mut C_tensor,
4066 self_: *mut C_tensor,
4067 mat1_: *mut C_tensor,
4068 mat2_: *mut C_tensor,
4069 );
4070 pub fn atg_addmm_dtype(
4071 out__: *mut *mut C_tensor,
4072 self_: *mut C_tensor,
4073 mat1_: *mut C_tensor,
4074 mat2_: *mut C_tensor,
4075 out_dtype_: c_int,
4076 );
4077 pub fn atg_addmm_dtype_out(
4078 out__: *mut *mut C_tensor,
4079 out_: *mut C_tensor,
4080 self_: *mut C_tensor,
4081 mat1_: *mut C_tensor,
4082 mat2_: *mut C_tensor,
4083 out_dtype_: c_int,
4084 );
4085 pub fn atg_addmm_out(
4086 out__: *mut *mut C_tensor,
4087 out_: *mut C_tensor,
4088 self_: *mut C_tensor,
4089 mat1_: *mut C_tensor,
4090 mat2_: *mut C_tensor,
4091 );
4092 pub fn atg_addmv(
4093 out__: *mut *mut C_tensor,
4094 self_: *mut C_tensor,
4095 mat_: *mut C_tensor,
4096 vec_: *mut C_tensor,
4097 );
4098 pub fn atg_addmv_(
4099 out__: *mut *mut C_tensor,
4100 self_: *mut C_tensor,
4101 mat_: *mut C_tensor,
4102 vec_: *mut C_tensor,
4103 );
4104 pub fn atg_addmv_out(
4105 out__: *mut *mut C_tensor,
4106 out_: *mut C_tensor,
4107 self_: *mut C_tensor,
4108 mat_: *mut C_tensor,
4109 vec_: *mut C_tensor,
4110 );
4111 pub fn atg_addr(
4112 out__: *mut *mut C_tensor,
4113 self_: *mut C_tensor,
4114 vec1_: *mut C_tensor,
4115 vec2_: *mut C_tensor,
4116 );
4117 pub fn atg_addr_(
4118 out__: *mut *mut C_tensor,
4119 self_: *mut C_tensor,
4120 vec1_: *mut C_tensor,
4121 vec2_: *mut C_tensor,
4122 );
4123 pub fn atg_addr_out(
4124 out__: *mut *mut C_tensor,
4125 out_: *mut C_tensor,
4126 self_: *mut C_tensor,
4127 vec1_: *mut C_tensor,
4128 vec2_: *mut C_tensor,
4129 );
4130 pub fn atg_adjoint(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4131 pub fn atg_affine_grid_generator(
4132 out__: *mut *mut C_tensor,
4133 theta_: *mut C_tensor,
4134 size_data: *const i64,
4135 size_len: c_int,
4136 align_corners_: c_int,
4137 );
4138 pub fn atg_affine_grid_generator_backward(
4139 out__: *mut *mut C_tensor,
4140 grad_: *mut C_tensor,
4141 size_data: *const i64,
4142 size_len: c_int,
4143 align_corners_: c_int,
4144 );
4145 pub fn atg_affine_grid_generator_out(
4146 out__: *mut *mut C_tensor,
4147 out_: *mut C_tensor,
4148 theta_: *mut C_tensor,
4149 size_data: *const i64,
4150 size_len: c_int,
4151 align_corners_: c_int,
4152 );
4153 pub fn atg_alias(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4154 pub fn atg_alias_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4155 pub fn atg_alias_copy_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4156 pub fn atg_align_as(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
4157 pub fn atg_align_tensors(
4158 tensors_data: *const *mut C_tensor,
4159 tensors_len: c_int,
4160 ) -> *mut *mut C_tensor;
4161 pub fn atg_all(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4162 pub fn atg_all_all_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4163 pub fn atg_all_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, keepdim_: c_int);
4164 pub fn atg_all_dims(
4165 out__: *mut *mut C_tensor,
4166 self_: *mut C_tensor,
4167 dim_data: *const i64,
4168 dim_len: c_int,
4169 keepdim_: c_int,
4170 );
4171 pub fn atg_all_dims_out(
4172 out__: *mut *mut C_tensor,
4173 out_: *mut C_tensor,
4174 self_: *mut C_tensor,
4175 dim_data: *const i64,
4176 dim_len: c_int,
4177 keepdim_: c_int,
4178 );
4179 pub fn atg_all_out(
4180 out__: *mut *mut C_tensor,
4181 out_: *mut C_tensor,
4182 self_: *mut C_tensor,
4183 dim_: i64,
4184 keepdim_: c_int,
4185 );
4186 pub fn atg_allclose(
4187 self_: *mut C_tensor,
4188 other_: *mut C_tensor,
4189 rtol_: f64,
4190 atol_: f64,
4191 equal_nan_: c_int,
4192 ) -> c_int;
4193 pub fn atg_alpha_dropout(
4194 out__: *mut *mut C_tensor,
4195 input_: *mut C_tensor,
4196 p_: f64,
4197 train_: c_int,
4198 );
4199 pub fn atg_alpha_dropout_(
4200 out__: *mut *mut C_tensor,
4201 self_: *mut C_tensor,
4202 p_: f64,
4203 train_: c_int,
4204 );
4205 pub fn atg_amax(
4206 out__: *mut *mut C_tensor,
4207 self_: *mut C_tensor,
4208 dim_data: *const i64,
4209 dim_len: c_int,
4210 keepdim_: c_int,
4211 );
4212 pub fn atg_amax_out(
4213 out__: *mut *mut C_tensor,
4214 out_: *mut C_tensor,
4215 self_: *mut C_tensor,
4216 dim_data: *const i64,
4217 dim_len: c_int,
4218 keepdim_: c_int,
4219 );
4220 pub fn atg_amin(
4221 out__: *mut *mut C_tensor,
4222 self_: *mut C_tensor,
4223 dim_data: *const i64,
4224 dim_len: c_int,
4225 keepdim_: c_int,
4226 );
4227 pub fn atg_amin_out(
4228 out__: *mut *mut C_tensor,
4229 out_: *mut C_tensor,
4230 self_: *mut C_tensor,
4231 dim_data: *const i64,
4232 dim_len: c_int,
4233 keepdim_: c_int,
4234 );
4235 pub fn atg_aminmax(
4236 out__: *mut *mut C_tensor,
4237 self_: *mut C_tensor,
4238 dim_v: i64,
4239 dim_null: i8,
4240 keepdim_: c_int,
4241 );
4242 pub fn atg_aminmax_out(
4243 out__: *mut *mut C_tensor,
4244 min_: *mut C_tensor,
4245 max_: *mut C_tensor,
4246 self_: *mut C_tensor,
4247 dim_v: i64,
4248 dim_null: i8,
4249 keepdim_: c_int,
4250 );
4251 pub fn atg_angle(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4252 pub fn atg_angle_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4253 pub fn atg_any(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4254 pub fn atg_any_all_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4255 pub fn atg_any_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, keepdim_: c_int);
4256 pub fn atg_any_dims(
4257 out__: *mut *mut C_tensor,
4258 self_: *mut C_tensor,
4259 dim_data: *const i64,
4260 dim_len: c_int,
4261 keepdim_: c_int,
4262 );
4263 pub fn atg_any_dims_out(
4264 out__: *mut *mut C_tensor,
4265 out_: *mut C_tensor,
4266 self_: *mut C_tensor,
4267 dim_data: *const i64,
4268 dim_len: c_int,
4269 keepdim_: c_int,
4270 );
4271 pub fn atg_any_out(
4272 out__: *mut *mut C_tensor,
4273 out_: *mut C_tensor,
4274 self_: *mut C_tensor,
4275 dim_: i64,
4276 keepdim_: c_int,
4277 );
4278 pub fn atg_arange(
4279 out__: *mut *mut C_tensor,
4280 end_: *mut C_scalar,
4281 options_kind: c_int,
4282 options_device: c_int,
4283 );
4284 pub fn atg_arange_start(
4285 out__: *mut *mut C_tensor,
4286 start_: *mut C_scalar,
4287 end_: *mut C_scalar,
4288 options_kind: c_int,
4289 options_device: c_int,
4290 );
4291 pub fn atg_arange_start_step(
4292 out__: *mut *mut C_tensor,
4293 start_: *mut C_scalar,
4294 end_: *mut C_scalar,
4295 step_: *mut C_scalar,
4296 options_kind: c_int,
4297 options_device: c_int,
4298 );
4299 pub fn atg_arccos(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4300 pub fn atg_arccos_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4301 pub fn atg_arccos_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4302 pub fn atg_arccosh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4303 pub fn atg_arccosh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4304 pub fn atg_arccosh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4305 pub fn atg_arcsin(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4306 pub fn atg_arcsin_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4307 pub fn atg_arcsin_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4308 pub fn atg_arcsinh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4309 pub fn atg_arcsinh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4310 pub fn atg_arcsinh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4311 pub fn atg_arctan(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4312 pub fn atg_arctan2(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
4313 pub fn atg_arctan2_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
4314 pub fn atg_arctan2_out(
4315 out__: *mut *mut C_tensor,
4316 out_: *mut C_tensor,
4317 self_: *mut C_tensor,
4318 other_: *mut C_tensor,
4319 );
4320 pub fn atg_arctan_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4321 pub fn atg_arctan_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4322 pub fn atg_arctanh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4323 pub fn atg_arctanh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4324 pub fn atg_arctanh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4325 pub fn atg_argmax(
4326 out__: *mut *mut C_tensor,
4327 self_: *mut C_tensor,
4328 dim_v: i64,
4329 dim_null: i8,
4330 keepdim_: c_int,
4331 );
4332 pub fn atg_argmax_out(
4333 out__: *mut *mut C_tensor,
4334 out_: *mut C_tensor,
4335 self_: *mut C_tensor,
4336 dim_v: i64,
4337 dim_null: i8,
4338 keepdim_: c_int,
4339 );
4340 pub fn atg_argmin(
4341 out__: *mut *mut C_tensor,
4342 self_: *mut C_tensor,
4343 dim_v: i64,
4344 dim_null: i8,
4345 keepdim_: c_int,
4346 );
4347 pub fn atg_argmin_out(
4348 out__: *mut *mut C_tensor,
4349 out_: *mut C_tensor,
4350 self_: *mut C_tensor,
4351 dim_v: i64,
4352 dim_null: i8,
4353 keepdim_: c_int,
4354 );
4355 pub fn atg_argsort(
4356 out__: *mut *mut C_tensor,
4357 self_: *mut C_tensor,
4358 dim_: i64,
4359 descending_: c_int,
4360 );
4361 pub fn atg_argsort_stable(
4362 out__: *mut *mut C_tensor,
4363 self_: *mut C_tensor,
4364 stable_: c_int,
4365 dim_: i64,
4366 descending_: c_int,
4367 );
4368 pub fn atg_argsort_stable_out(
4369 out__: *mut *mut C_tensor,
4370 out_: *mut C_tensor,
4371 self_: *mut C_tensor,
4372 stable_: c_int,
4373 dim_: i64,
4374 descending_: c_int,
4375 );
4376 pub fn atg_argwhere(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4377 pub fn atg_as_strided(
4378 out__: *mut *mut C_tensor,
4379 self_: *mut C_tensor,
4380 size_data: *const i64,
4381 size_len: c_int,
4382 stride_data: *const i64,
4383 stride_len: c_int,
4384 storage_offset_v: i64,
4385 storage_offset_null: i8,
4386 );
4387 pub fn atg_as_strided_(
4388 out__: *mut *mut C_tensor,
4389 self_: *mut C_tensor,
4390 size_data: *const i64,
4391 size_len: c_int,
4392 stride_data: *const i64,
4393 stride_len: c_int,
4394 storage_offset_v: i64,
4395 storage_offset_null: i8,
4396 );
4397 pub fn atg_as_strided_copy(
4398 out__: *mut *mut C_tensor,
4399 self_: *mut C_tensor,
4400 size_data: *const i64,
4401 size_len: c_int,
4402 stride_data: *const i64,
4403 stride_len: c_int,
4404 storage_offset_v: i64,
4405 storage_offset_null: i8,
4406 );
4407 pub fn atg_as_strided_copy_out(
4408 out__: *mut *mut C_tensor,
4409 out_: *mut C_tensor,
4410 self_: *mut C_tensor,
4411 size_data: *const i64,
4412 size_len: c_int,
4413 stride_data: *const i64,
4414 stride_len: c_int,
4415 storage_offset_v: i64,
4416 storage_offset_null: i8,
4417 );
4418 pub fn atg_as_strided_scatter(
4419 out__: *mut *mut C_tensor,
4420 self_: *mut C_tensor,
4421 src_: *mut C_tensor,
4422 size_data: *const i64,
4423 size_len: c_int,
4424 stride_data: *const i64,
4425 stride_len: c_int,
4426 storage_offset_v: i64,
4427 storage_offset_null: i8,
4428 );
4429 pub fn atg_as_strided_scatter_out(
4430 out__: *mut *mut C_tensor,
4431 out_: *mut C_tensor,
4432 self_: *mut C_tensor,
4433 src_: *mut C_tensor,
4434 size_data: *const i64,
4435 size_len: c_int,
4436 stride_data: *const i64,
4437 stride_len: c_int,
4438 storage_offset_v: i64,
4439 storage_offset_null: i8,
4440 );
4441 pub fn atg_asin(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4442 pub fn atg_asin_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4443 pub fn atg_asin_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4444 pub fn atg_asinh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4445 pub fn atg_asinh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4446 pub fn atg_asinh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4447 pub fn atg_atan(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4448 pub fn atg_atan2(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
4449 pub fn atg_atan2_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
4450 pub fn atg_atan2_out(
4451 out__: *mut *mut C_tensor,
4452 out_: *mut C_tensor,
4453 self_: *mut C_tensor,
4454 other_: *mut C_tensor,
4455 );
4456 pub fn atg_atan_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4457 pub fn atg_atan_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4458 pub fn atg_atanh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4459 pub fn atg_atanh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4460 pub fn atg_atanh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
4461 pub fn atg_atleast_1d(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4462 pub fn atg_atleast_1d_sequence(
4463 tensors_data: *const *mut C_tensor,
4464 tensors_len: c_int,
4465 ) -> *mut *mut C_tensor;
4466 pub fn atg_atleast_2d(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4467 pub fn atg_atleast_2d_sequence(
4468 tensors_data: *const *mut C_tensor,
4469 tensors_len: c_int,
4470 ) -> *mut *mut C_tensor;
4471 pub fn atg_atleast_3d(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4472 pub fn atg_atleast_3d_sequence(
4473 tensors_data: *const *mut C_tensor,
4474 tensors_len: c_int,
4475 ) -> *mut *mut C_tensor;
4476 pub fn atg_avg_pool1d(
4477 out__: *mut *mut C_tensor,
4478 self_: *mut C_tensor,
4479 kernel_size_data: *const i64,
4480 kernel_size_len: c_int,
4481 stride_data: *const i64,
4482 stride_len: c_int,
4483 padding_data: *const i64,
4484 padding_len: c_int,
4485 ceil_mode_: c_int,
4486 count_include_pad_: c_int,
4487 );
4488 pub fn atg_avg_pool1d_out(
4489 out__: *mut *mut C_tensor,
4490 out_: *mut C_tensor,
4491 self_: *mut C_tensor,
4492 kernel_size_data: *const i64,
4493 kernel_size_len: c_int,
4494 stride_data: *const i64,
4495 stride_len: c_int,
4496 padding_data: *const i64,
4497 padding_len: c_int,
4498 ceil_mode_: c_int,
4499 count_include_pad_: c_int,
4500 );
4501 pub fn atg_avg_pool2d(
4502 out__: *mut *mut C_tensor,
4503 self_: *mut C_tensor,
4504 kernel_size_data: *const i64,
4505 kernel_size_len: c_int,
4506 stride_data: *const i64,
4507 stride_len: c_int,
4508 padding_data: *const i64,
4509 padding_len: c_int,
4510 ceil_mode_: c_int,
4511 count_include_pad_: c_int,
4512 divisor_override_v: i64,
4513 divisor_override_null: i8,
4514 );
4515 pub fn atg_avg_pool2d_backward(
4516 out__: *mut *mut C_tensor,
4517 grad_output_: *mut C_tensor,
4518 self_: *mut C_tensor,
4519 kernel_size_data: *const i64,
4520 kernel_size_len: c_int,
4521 stride_data: *const i64,
4522 stride_len: c_int,
4523 padding_data: *const i64,
4524 padding_len: c_int,
4525 ceil_mode_: c_int,
4526 count_include_pad_: c_int,
4527 divisor_override_v: i64,
4528 divisor_override_null: i8,
4529 );
4530 pub fn atg_avg_pool2d_backward_grad_input(
4531 out__: *mut *mut C_tensor,
4532 grad_input_: *mut C_tensor,
4533 grad_output_: *mut C_tensor,
4534 self_: *mut C_tensor,
4535 kernel_size_data: *const i64,
4536 kernel_size_len: c_int,
4537 stride_data: *const i64,
4538 stride_len: c_int,
4539 padding_data: *const i64,
4540 padding_len: c_int,
4541 ceil_mode_: c_int,
4542 count_include_pad_: c_int,
4543 divisor_override_v: i64,
4544 divisor_override_null: i8,
4545 );
4546 pub fn atg_avg_pool2d_out(
4547 out__: *mut *mut C_tensor,
4548 out_: *mut C_tensor,
4549 self_: *mut C_tensor,
4550 kernel_size_data: *const i64,
4551 kernel_size_len: c_int,
4552 stride_data: *const i64,
4553 stride_len: c_int,
4554 padding_data: *const i64,
4555 padding_len: c_int,
4556 ceil_mode_: c_int,
4557 count_include_pad_: c_int,
4558 divisor_override_v: i64,
4559 divisor_override_null: i8,
4560 );
4561 pub fn atg_avg_pool3d(
4562 out__: *mut *mut C_tensor,
4563 self_: *mut C_tensor,
4564 kernel_size_data: *const i64,
4565 kernel_size_len: c_int,
4566 stride_data: *const i64,
4567 stride_len: c_int,
4568 padding_data: *const i64,
4569 padding_len: c_int,
4570 ceil_mode_: c_int,
4571 count_include_pad_: c_int,
4572 divisor_override_v: i64,
4573 divisor_override_null: i8,
4574 );
4575 pub fn atg_avg_pool3d_backward(
4576 out__: *mut *mut C_tensor,
4577 grad_output_: *mut C_tensor,
4578 self_: *mut C_tensor,
4579 kernel_size_data: *const i64,
4580 kernel_size_len: c_int,
4581 stride_data: *const i64,
4582 stride_len: c_int,
4583 padding_data: *const i64,
4584 padding_len: c_int,
4585 ceil_mode_: c_int,
4586 count_include_pad_: c_int,
4587 divisor_override_v: i64,
4588 divisor_override_null: i8,
4589 );
4590 pub fn atg_avg_pool3d_backward_grad_input(
4591 out__: *mut *mut C_tensor,
4592 grad_input_: *mut C_tensor,
4593 grad_output_: *mut C_tensor,
4594 self_: *mut C_tensor,
4595 kernel_size_data: *const i64,
4596 kernel_size_len: c_int,
4597 stride_data: *const i64,
4598 stride_len: c_int,
4599 padding_data: *const i64,
4600 padding_len: c_int,
4601 ceil_mode_: c_int,
4602 count_include_pad_: c_int,
4603 divisor_override_v: i64,
4604 divisor_override_null: i8,
4605 );
4606 pub fn atg_avg_pool3d_out(
4607 out__: *mut *mut C_tensor,
4608 out_: *mut C_tensor,
4609 self_: *mut C_tensor,
4610 kernel_size_data: *const i64,
4611 kernel_size_len: c_int,
4612 stride_data: *const i64,
4613 stride_len: c_int,
4614 padding_data: *const i64,
4615 padding_len: c_int,
4616 ceil_mode_: c_int,
4617 count_include_pad_: c_int,
4618 divisor_override_v: i64,
4619 divisor_override_null: i8,
4620 );
4621 pub fn atg_baddbmm(
4622 out__: *mut *mut C_tensor,
4623 self_: *mut C_tensor,
4624 batch1_: *mut C_tensor,
4625 batch2_: *mut C_tensor,
4626 beta_: *mut C_scalar,
4627 alpha_: *mut C_scalar,
4628 );
4629 pub fn atg_baddbmm_(
4630 out__: *mut *mut C_tensor,
4631 self_: *mut C_tensor,
4632 batch1_: *mut C_tensor,
4633 batch2_: *mut C_tensor,
4634 );
4635 pub fn atg_baddbmm_dtype(
4636 out__: *mut *mut C_tensor,
4637 self_: *mut C_tensor,
4638 batch1_: *mut C_tensor,
4639 batch2_: *mut C_tensor,
4640 out_dtype_: c_int,
4641 beta_: *mut C_scalar,
4642 alpha_: *mut C_scalar,
4643 );
4644 pub fn atg_baddbmm_dtype_out(
4645 out__: *mut *mut C_tensor,
4646 out_: *mut C_tensor,
4647 self_: *mut C_tensor,
4648 batch1_: *mut C_tensor,
4649 batch2_: *mut C_tensor,
4650 out_dtype_: c_int,
4651 );
4652 pub fn atg_baddbmm_out(
4653 out__: *mut *mut C_tensor,
4654 out_: *mut C_tensor,
4655 self_: *mut C_tensor,
4656 batch1_: *mut C_tensor,
4657 batch2_: *mut C_tensor,
4658 );
4659 pub fn atg_bartlett_window(
4660 out__: *mut *mut C_tensor,
4661 window_length_: i64,
4662 options_kind: c_int,
4663 options_device: c_int,
4664 );
4665 pub fn atg_bartlett_window_out(
4666 out__: *mut *mut C_tensor,
4667 out_: *mut C_tensor,
4668 window_length_: i64,
4669 );
4670 pub fn atg_bartlett_window_periodic(
4671 out__: *mut *mut C_tensor,
4672 window_length_: i64,
4673 periodic_: c_int,
4674 options_kind: c_int,
4675 options_device: c_int,
4676 );
4677 pub fn atg_bartlett_window_periodic_out(
4678 out__: *mut *mut C_tensor,
4679 out_: *mut C_tensor,
4680 window_length_: i64,
4681 periodic_: c_int,
4682 );
4683 pub fn atg_batch_norm(
4684 out__: *mut *mut C_tensor,
4685 input_: *mut C_tensor,
4686 weight_: *mut C_tensor,
4687 bias_: *mut C_tensor,
4688 running_mean_: *mut C_tensor,
4689 running_var_: *mut C_tensor,
4690 training_: c_int,
4691 momentum_: f64,
4692 eps_: f64,
4693 cudnn_enabled_: c_int,
4694 );
4695 pub fn atg_batch_norm_backward_elemt(
4696 out__: *mut *mut C_tensor,
4697 grad_out_: *mut C_tensor,
4698 input_: *mut C_tensor,
4699 mean_: *mut C_tensor,
4700 invstd_: *mut C_tensor,
4701 weight_: *mut C_tensor,
4702 sum_dy_: *mut C_tensor,
4703 sum_dy_xmu_: *mut C_tensor,
4704 count_: *mut C_tensor,
4705 );
4706 pub fn atg_batch_norm_backward_elemt_out(
4707 out__: *mut *mut C_tensor,
4708 out_: *mut C_tensor,
4709 grad_out_: *mut C_tensor,
4710 input_: *mut C_tensor,
4711 mean_: *mut C_tensor,
4712 invstd_: *mut C_tensor,
4713 weight_: *mut C_tensor,
4714 sum_dy_: *mut C_tensor,
4715 sum_dy_xmu_: *mut C_tensor,
4716 count_: *mut C_tensor,
4717 );
4718 pub fn atg_batch_norm_backward_reduce(
4719 out__: *mut *mut C_tensor,
4720 grad_out_: *mut C_tensor,
4721 input_: *mut C_tensor,
4722 mean_: *mut C_tensor,
4723 invstd_: *mut C_tensor,
4724 weight_: *mut C_tensor,
4725 input_g_: c_int,
4726 weight_g_: c_int,
4727 bias_g_: c_int,
4728 );
4729 pub fn atg_batch_norm_backward_reduce_out(
4730 out__: *mut *mut C_tensor,
4731 out0_: *mut C_tensor,
4732 out1_: *mut C_tensor,
4733 out2_: *mut C_tensor,
4734 out3_: *mut C_tensor,
4735 grad_out_: *mut C_tensor,
4736 input_: *mut C_tensor,
4737 mean_: *mut C_tensor,
4738 invstd_: *mut C_tensor,
4739 weight_: *mut C_tensor,
4740 input_g_: c_int,
4741 weight_g_: c_int,
4742 bias_g_: c_int,
4743 );
4744 pub fn atg_batch_norm_elemt(
4745 out__: *mut *mut C_tensor,
4746 input_: *mut C_tensor,
4747 weight_: *mut C_tensor,
4748 bias_: *mut C_tensor,
4749 mean_: *mut C_tensor,
4750 invstd_: *mut C_tensor,
4751 eps_: f64,
4752 );
4753 pub fn atg_batch_norm_elemt_out(
4754 out__: *mut *mut C_tensor,
4755 out_: *mut C_tensor,
4756 input_: *mut C_tensor,
4757 weight_: *mut C_tensor,
4758 bias_: *mut C_tensor,
4759 mean_: *mut C_tensor,
4760 invstd_: *mut C_tensor,
4761 eps_: f64,
4762 );
4763 pub fn atg_batch_norm_gather_stats(
4764 out__: *mut *mut C_tensor,
4765 input_: *mut C_tensor,
4766 mean_: *mut C_tensor,
4767 invstd_: *mut C_tensor,
4768 running_mean_: *mut C_tensor,
4769 running_var_: *mut C_tensor,
4770 momentum_: f64,
4771 eps_: f64,
4772 count_: i64,
4773 );
4774 pub fn atg_batch_norm_gather_stats_out(
4775 out__: *mut *mut C_tensor,
4776 out0_: *mut C_tensor,
4777 out1_: *mut C_tensor,
4778 input_: *mut C_tensor,
4779 mean_: *mut C_tensor,
4780 invstd_: *mut C_tensor,
4781 running_mean_: *mut C_tensor,
4782 running_var_: *mut C_tensor,
4783 momentum_: f64,
4784 eps_: f64,
4785 count_: i64,
4786 );
4787 pub fn atg_batch_norm_gather_stats_with_counts(
4788 out__: *mut *mut C_tensor,
4789 input_: *mut C_tensor,
4790 mean_: *mut C_tensor,
4791 invstd_: *mut C_tensor,
4792 running_mean_: *mut C_tensor,
4793 running_var_: *mut C_tensor,
4794 momentum_: f64,
4795 eps_: f64,
4796 counts_: *mut C_tensor,
4797 );
4798 pub fn atg_batch_norm_gather_stats_with_counts_out(
4799 out__: *mut *mut C_tensor,
4800 out0_: *mut C_tensor,
4801 out1_: *mut C_tensor,
4802 input_: *mut C_tensor,
4803 mean_: *mut C_tensor,
4804 invstd_: *mut C_tensor,
4805 running_mean_: *mut C_tensor,
4806 running_var_: *mut C_tensor,
4807 momentum_: f64,
4808 eps_: f64,
4809 counts_: *mut C_tensor,
4810 );
4811 pub fn atg_batch_norm_stats(out__: *mut *mut C_tensor, input_: *mut C_tensor, eps_: f64);
4812 pub fn atg_batch_norm_stats_out(
4813 out__: *mut *mut C_tensor,
4814 out0_: *mut C_tensor,
4815 out1_: *mut C_tensor,
4816 input_: *mut C_tensor,
4817 eps_: f64,
4818 );
4819 pub fn atg_batch_norm_update_stats(
4820 out__: *mut *mut C_tensor,
4821 input_: *mut C_tensor,
4822 running_mean_: *mut C_tensor,
4823 running_var_: *mut C_tensor,
4824 momentum_: f64,
4825 );
4826 pub fn atg_batch_norm_update_stats_out(
4827 out__: *mut *mut C_tensor,
4828 out0_: *mut C_tensor,
4829 out1_: *mut C_tensor,
4830 input_: *mut C_tensor,
4831 running_mean_: *mut C_tensor,
4832 running_var_: *mut C_tensor,
4833 momentum_: f64,
4834 );
4835 pub fn atg_bernoulli(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4836 pub fn atg_bernoulli_(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: *mut C_tensor);
4837 pub fn atg_bernoulli_float_(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
4838 pub fn atg_bernoulli_p(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
4839 pub fn atg_bernoulli_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: *mut C_tensor);
4840 pub fn atg_bilinear(
4841 out__: *mut *mut C_tensor,
4842 input1_: *mut C_tensor,
4843 input2_: *mut C_tensor,
4844 weight_: *mut C_tensor,
4845 bias_: *mut C_tensor,
4846 );
4847 pub fn atg_binary_cross_entropy(
4848 out__: *mut *mut C_tensor,
4849 self_: *mut C_tensor,
4850 target_: *mut C_tensor,
4851 weight_: *mut C_tensor,
4852 reduction_: i64,
4853 );
4854 pub fn atg_binary_cross_entropy_backward(
4855 out__: *mut *mut C_tensor,
4856 grad_output_: *mut C_tensor,
4857 self_: *mut C_tensor,
4858 target_: *mut C_tensor,
4859 weight_: *mut C_tensor,
4860 reduction_: i64,
4861 );
4862 pub fn atg_binary_cross_entropy_backward_grad_input(
4863 out__: *mut *mut C_tensor,
4864 grad_input_: *mut C_tensor,
4865 grad_output_: *mut C_tensor,
4866 self_: *mut C_tensor,
4867 target_: *mut C_tensor,
4868 weight_: *mut C_tensor,
4869 reduction_: i64,
4870 );
4871 pub fn atg_binary_cross_entropy_out(
4872 out__: *mut *mut C_tensor,
4873 out_: *mut C_tensor,
4874 self_: *mut C_tensor,
4875 target_: *mut C_tensor,
4876 weight_: *mut C_tensor,
4877 reduction_: i64,
4878 );
4879 pub fn atg_binary_cross_entropy_with_logits(
4880 out__: *mut *mut C_tensor,
4881 self_: *mut C_tensor,
4882 target_: *mut C_tensor,
4883 weight_: *mut C_tensor,
4884 pos_weight_: *mut C_tensor,
4885 reduction_: i64,
4886 );
4887 pub fn atg_binary_cross_entropy_with_logits_out(
4888 out__: *mut *mut C_tensor,
4889 out_: *mut C_tensor,
4890 self_: *mut C_tensor,
4891 target_: *mut C_tensor,
4892 weight_: *mut C_tensor,
4893 pos_weight_: *mut C_tensor,
4894 reduction_: i64,
4895 );
4896 pub fn atg_bincount(
4897 out__: *mut *mut C_tensor,
4898 self_: *mut C_tensor,
4899 weights_: *mut C_tensor,
4900 minlength_: i64,
4901 );
4902 pub fn atg_bincount_out(
4903 out__: *mut *mut C_tensor,
4904 out_: *mut C_tensor,
4905 self_: *mut C_tensor,
4906 weights_: *mut C_tensor,
4907 minlength_: i64,
4908 );
4909 pub fn atg_binomial(out__: *mut *mut C_tensor, count_: *mut C_tensor, prob_: *mut C_tensor);
4910 pub fn atg_binomial_out(
4911 out__: *mut *mut C_tensor,
4912 out_: *mut C_tensor,
4913 count_: *mut C_tensor,
4914 prob_: *mut C_tensor,
4915 );
4916 pub fn atg_bitwise_and(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
4917 pub fn atg_bitwise_and_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
4918 pub fn atg_bitwise_and_scalar_out(
4919 out__: *mut *mut C_tensor,
4920 out_: *mut C_tensor,
4921 self_: *mut C_tensor,
4922 other_: *mut C_scalar,
4923 );
4924 pub fn atg_bitwise_and_scalar_tensor(
4925 out__: *mut *mut C_tensor,
4926 self_scalar_: *mut C_scalar,
4927 other_: *mut C_tensor,
4928 );
4929 pub fn atg_bitwise_and_scalar_tensor_out(
4930 out__: *mut *mut C_tensor,
4931 out_: *mut C_tensor,
4932 self_scalar_: *mut C_scalar,
4933 other_: *mut C_tensor,
4934 );
4935 pub fn atg_bitwise_and_tensor(
4936 out__: *mut *mut C_tensor,
4937 self_: *mut C_tensor,
4938 other_: *mut C_tensor,
4939 );
4940 pub fn atg_bitwise_and_tensor_(
4941 out__: *mut *mut C_tensor,
4942 self_: *mut C_tensor,
4943 other_: *mut C_tensor,
4944 );
4945 pub fn atg_bitwise_and_tensor_out(
4946 out__: *mut *mut C_tensor,
4947 out_: *mut C_tensor,
4948 self_: *mut C_tensor,
4949 other_: *mut C_tensor,
4950 );
4951 pub fn atg_bitwise_left_shift(
4952 out__: *mut *mut C_tensor,
4953 self_: *mut C_tensor,
4954 other_: *mut C_tensor,
4955 );
4956 pub fn atg_bitwise_left_shift_(
4957 out__: *mut *mut C_tensor,
4958 self_: *mut C_tensor,
4959 other_: *mut C_tensor,
4960 );
4961 pub fn atg_bitwise_left_shift_scalar_tensor(
4962 out__: *mut *mut C_tensor,
4963 self_scalar_: *mut C_scalar,
4964 other_: *mut C_tensor,
4965 );
4966 pub fn atg_bitwise_left_shift_scalar_tensor_out(
4967 out__: *mut *mut C_tensor,
4968 out_: *mut C_tensor,
4969 self_scalar_: *mut C_scalar,
4970 other_: *mut C_tensor,
4971 );
4972 pub fn atg_bitwise_left_shift_tensor_out(
4973 out__: *mut *mut C_tensor,
4974 out_: *mut C_tensor,
4975 self_: *mut C_tensor,
4976 other_: *mut C_tensor,
4977 );
4978 pub fn atg_bitwise_left_shift_tensor_scalar(
4979 out__: *mut *mut C_tensor,
4980 self_: *mut C_tensor,
4981 other_: *mut C_scalar,
4982 );
4983 pub fn atg_bitwise_left_shift_tensor_scalar_(
4984 out__: *mut *mut C_tensor,
4985 self_: *mut C_tensor,
4986 other_: *mut C_scalar,
4987 );
4988 pub fn atg_bitwise_left_shift_tensor_scalar_out(
4989 out__: *mut *mut C_tensor,
4990 out_: *mut C_tensor,
4991 self_: *mut C_tensor,
4992 other_: *mut C_scalar,
4993 );
4994 pub fn atg_bitwise_not(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4995 pub fn atg_bitwise_not_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
4996 pub fn atg_bitwise_not_out(
4997 out__: *mut *mut C_tensor,
4998 out_: *mut C_tensor,
4999 self_: *mut C_tensor,
5000 );
5001 pub fn atg_bitwise_or(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
5002 pub fn atg_bitwise_or_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
5003 pub fn atg_bitwise_or_scalar_out(
5004 out__: *mut *mut C_tensor,
5005 out_: *mut C_tensor,
5006 self_: *mut C_tensor,
5007 other_: *mut C_scalar,
5008 );
5009 pub fn atg_bitwise_or_scalar_tensor(
5010 out__: *mut *mut C_tensor,
5011 self_scalar_: *mut C_scalar,
5012 other_: *mut C_tensor,
5013 );
5014 pub fn atg_bitwise_or_scalar_tensor_out(
5015 out__: *mut *mut C_tensor,
5016 out_: *mut C_tensor,
5017 self_scalar_: *mut C_scalar,
5018 other_: *mut C_tensor,
5019 );
5020 pub fn atg_bitwise_or_tensor(
5021 out__: *mut *mut C_tensor,
5022 self_: *mut C_tensor,
5023 other_: *mut C_tensor,
5024 );
5025 pub fn atg_bitwise_or_tensor_(
5026 out__: *mut *mut C_tensor,
5027 self_: *mut C_tensor,
5028 other_: *mut C_tensor,
5029 );
5030 pub fn atg_bitwise_or_tensor_out(
5031 out__: *mut *mut C_tensor,
5032 out_: *mut C_tensor,
5033 self_: *mut C_tensor,
5034 other_: *mut C_tensor,
5035 );
5036 pub fn atg_bitwise_right_shift(
5037 out__: *mut *mut C_tensor,
5038 self_: *mut C_tensor,
5039 other_: *mut C_tensor,
5040 );
5041 pub fn atg_bitwise_right_shift_(
5042 out__: *mut *mut C_tensor,
5043 self_: *mut C_tensor,
5044 other_: *mut C_tensor,
5045 );
5046 pub fn atg_bitwise_right_shift_scalar_tensor(
5047 out__: *mut *mut C_tensor,
5048 self_scalar_: *mut C_scalar,
5049 other_: *mut C_tensor,
5050 );
5051 pub fn atg_bitwise_right_shift_scalar_tensor_out(
5052 out__: *mut *mut C_tensor,
5053 out_: *mut C_tensor,
5054 self_scalar_: *mut C_scalar,
5055 other_: *mut C_tensor,
5056 );
5057 pub fn atg_bitwise_right_shift_tensor_out(
5058 out__: *mut *mut C_tensor,
5059 out_: *mut C_tensor,
5060 self_: *mut C_tensor,
5061 other_: *mut C_tensor,
5062 );
5063 pub fn atg_bitwise_right_shift_tensor_scalar(
5064 out__: *mut *mut C_tensor,
5065 self_: *mut C_tensor,
5066 other_: *mut C_scalar,
5067 );
5068 pub fn atg_bitwise_right_shift_tensor_scalar_(
5069 out__: *mut *mut C_tensor,
5070 self_: *mut C_tensor,
5071 other_: *mut C_scalar,
5072 );
5073 pub fn atg_bitwise_right_shift_tensor_scalar_out(
5074 out__: *mut *mut C_tensor,
5075 out_: *mut C_tensor,
5076 self_: *mut C_tensor,
5077 other_: *mut C_scalar,
5078 );
5079 pub fn atg_bitwise_xor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
5080 pub fn atg_bitwise_xor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
5081 pub fn atg_bitwise_xor_scalar_out(
5082 out__: *mut *mut C_tensor,
5083 out_: *mut C_tensor,
5084 self_: *mut C_tensor,
5085 other_: *mut C_scalar,
5086 );
5087 pub fn atg_bitwise_xor_scalar_tensor(
5088 out__: *mut *mut C_tensor,
5089 self_scalar_: *mut C_scalar,
5090 other_: *mut C_tensor,
5091 );
5092 pub fn atg_bitwise_xor_scalar_tensor_out(
5093 out__: *mut *mut C_tensor,
5094 out_: *mut C_tensor,
5095 self_scalar_: *mut C_scalar,
5096 other_: *mut C_tensor,
5097 );
5098 pub fn atg_bitwise_xor_tensor(
5099 out__: *mut *mut C_tensor,
5100 self_: *mut C_tensor,
5101 other_: *mut C_tensor,
5102 );
5103 pub fn atg_bitwise_xor_tensor_(
5104 out__: *mut *mut C_tensor,
5105 self_: *mut C_tensor,
5106 other_: *mut C_tensor,
5107 );
5108 pub fn atg_bitwise_xor_tensor_out(
5109 out__: *mut *mut C_tensor,
5110 out_: *mut C_tensor,
5111 self_: *mut C_tensor,
5112 other_: *mut C_tensor,
5113 );
5114 pub fn atg_blackman_window(
5115 out__: *mut *mut C_tensor,
5116 window_length_: i64,
5117 options_kind: c_int,
5118 options_device: c_int,
5119 );
5120 pub fn atg_blackman_window_out(
5121 out__: *mut *mut C_tensor,
5122 out_: *mut C_tensor,
5123 window_length_: i64,
5124 );
5125 pub fn atg_blackman_window_periodic(
5126 out__: *mut *mut C_tensor,
5127 window_length_: i64,
5128 periodic_: c_int,
5129 options_kind: c_int,
5130 options_device: c_int,
5131 );
5132 pub fn atg_blackman_window_periodic_out(
5133 out__: *mut *mut C_tensor,
5134 out_: *mut C_tensor,
5135 window_length_: i64,
5136 periodic_: c_int,
5137 );
5138 pub fn atg_block_diag(
5139 out__: *mut *mut C_tensor,
5140 tensors_data: *const *mut C_tensor,
5141 tensors_len: c_int,
5142 );
5143 pub fn atg_block_diag_out(
5144 out__: *mut *mut C_tensor,
5145 out_: *mut C_tensor,
5146 tensors_data: *const *mut C_tensor,
5147 tensors_len: c_int,
5148 );
5149 pub fn atg_bmm(out__: *mut *mut C_tensor, self_: *mut C_tensor, mat2_: *mut C_tensor);
5150 pub fn atg_bmm_dtype(
5151 out__: *mut *mut C_tensor,
5152 self_: *mut C_tensor,
5153 mat2_: *mut C_tensor,
5154 out_dtype_: c_int,
5155 );
5156 pub fn atg_bmm_dtype_out(
5157 out__: *mut *mut C_tensor,
5158 out_: *mut C_tensor,
5159 self_: *mut C_tensor,
5160 mat2_: *mut C_tensor,
5161 out_dtype_: c_int,
5162 );
5163 pub fn atg_bmm_out(
5164 out__: *mut *mut C_tensor,
5165 out_: *mut C_tensor,
5166 self_: *mut C_tensor,
5167 mat2_: *mut C_tensor,
5168 );
5169 pub fn atg_broadcast_tensors(
5170 tensors_data: *const *mut C_tensor,
5171 tensors_len: c_int,
5172 ) -> *mut *mut C_tensor;
5173 pub fn atg_broadcast_to(
5174 out__: *mut *mut C_tensor,
5175 self_: *mut C_tensor,
5176 size_data: *const i64,
5177 size_len: c_int,
5178 );
5179 pub fn atg_bucketize(
5180 out__: *mut *mut C_tensor,
5181 self_: *mut C_tensor,
5182 boundaries_: *mut C_tensor,
5183 out_int32_: c_int,
5184 right_: c_int,
5185 );
5186 pub fn atg_bucketize_scalar(
5187 out__: *mut *mut C_tensor,
5188 self_scalar_: *mut C_scalar,
5189 boundaries_: *mut C_tensor,
5190 out_int32_: c_int,
5191 right_: c_int,
5192 );
5193 pub fn atg_bucketize_scalar_out(
5194 out__: *mut *mut C_tensor,
5195 out_: *mut C_tensor,
5196 self_scalar_: *mut C_scalar,
5197 boundaries_: *mut C_tensor,
5198 out_int32_: c_int,
5199 right_: c_int,
5200 );
5201 pub fn atg_bucketize_tensor_out(
5202 out__: *mut *mut C_tensor,
5203 out_: *mut C_tensor,
5204 self_: *mut C_tensor,
5205 boundaries_: *mut C_tensor,
5206 out_int32_: c_int,
5207 right_: c_int,
5208 );
5209 pub fn atg_can_cast(from__: c_int, to_: c_int) -> c_int;
5210 pub fn atg_cartesian_prod(
5211 out__: *mut *mut C_tensor,
5212 tensors_data: *const *mut C_tensor,
5213 tensors_len: c_int,
5214 );
5215 pub fn atg_cat(
5216 out__: *mut *mut C_tensor,
5217 tensors_data: *const *mut C_tensor,
5218 tensors_len: c_int,
5219 dim_: i64,
5220 );
5221 pub fn atg_cat_out(
5222 out__: *mut *mut C_tensor,
5223 out_: *mut C_tensor,
5224 tensors_data: *const *mut C_tensor,
5225 tensors_len: c_int,
5226 dim_: i64,
5227 );
5228 pub fn atg_cauchy(out__: *mut *mut C_tensor, self_: *mut C_tensor, median_: f64, sigma_: f64);
5229 pub fn atg_cauchy_(out__: *mut *mut C_tensor, self_: *mut C_tensor, median_: f64, sigma_: f64);
5230 pub fn atg_cauchy_out(
5231 out__: *mut *mut C_tensor,
5232 out_: *mut C_tensor,
5233 self_: *mut C_tensor,
5234 median_: f64,
5235 sigma_: f64,
5236 );
5237 pub fn atg_ccol_indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5238 pub fn atg_ccol_indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5239 pub fn atg_ccol_indices_copy_out(
5240 out__: *mut *mut C_tensor,
5241 out_: *mut C_tensor,
5242 self_: *mut C_tensor,
5243 );
5244 pub fn atg_cdist(
5245 out__: *mut *mut C_tensor,
5246 x1_: *mut C_tensor,
5247 x2_: *mut C_tensor,
5248 p_: f64,
5249 compute_mode_v: i64,
5250 compute_mode_null: i8,
5251 );
5252 pub fn atg_ceil(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5253 pub fn atg_ceil_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5254 pub fn atg_ceil_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
5255 pub fn atg_celu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5256 pub fn atg_celu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5257 pub fn atg_celu_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
5258 pub fn atg_chain_matmul(
5259 out__: *mut *mut C_tensor,
5260 matrices_data: *const *mut C_tensor,
5261 matrices_len: c_int,
5262 );
5263 pub fn atg_chain_matmul_out(
5264 out__: *mut *mut C_tensor,
5265 out_: *mut C_tensor,
5266 matrices_data: *const *mut C_tensor,
5267 matrices_len: c_int,
5268 );
5269 pub fn atg_chalf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5270 pub fn atg_channel_shuffle(out__: *mut *mut C_tensor, self_: *mut C_tensor, groups_: i64);
5271 pub fn atg_channel_shuffle_out(
5272 out__: *mut *mut C_tensor,
5273 out_: *mut C_tensor,
5274 self_: *mut C_tensor,
5275 groups_: i64,
5276 );
5277 pub fn atg_cholesky(out__: *mut *mut C_tensor, self_: *mut C_tensor, upper_: c_int);
5278 pub fn atg_cholesky_inverse(out__: *mut *mut C_tensor, self_: *mut C_tensor, upper_: c_int);
5279 pub fn atg_cholesky_inverse_out(
5280 out__: *mut *mut C_tensor,
5281 out_: *mut C_tensor,
5282 self_: *mut C_tensor,
5283 upper_: c_int,
5284 );
5285 pub fn atg_cholesky_out(
5286 out__: *mut *mut C_tensor,
5287 out_: *mut C_tensor,
5288 self_: *mut C_tensor,
5289 upper_: c_int,
5290 );
5291 pub fn atg_cholesky_solve(
5292 out__: *mut *mut C_tensor,
5293 self_: *mut C_tensor,
5294 input2_: *mut C_tensor,
5295 upper_: c_int,
5296 );
5297 pub fn atg_cholesky_solve_out(
5298 out__: *mut *mut C_tensor,
5299 out_: *mut C_tensor,
5300 self_: *mut C_tensor,
5301 input2_: *mut C_tensor,
5302 upper_: c_int,
5303 );
5304 pub fn atg_choose_qparams_optimized(
5305 out__: *mut *mut C_tensor,
5306 input_: *mut C_tensor,
5307 numel_: i64,
5308 n_bins_: i64,
5309 ratio_: f64,
5310 bit_width_: i64,
5311 );
5312 pub fn atg_chunk(self_: *mut C_tensor, chunks_: i64, dim_: i64) -> *mut *mut C_tensor;
5313 pub fn atg_clamp(
5314 out__: *mut *mut C_tensor,
5315 self_: *mut C_tensor,
5316 min_: *mut C_scalar,
5317 max_: *mut C_scalar,
5318 );
5319 pub fn atg_clamp_(
5320 out__: *mut *mut C_tensor,
5321 self_: *mut C_tensor,
5322 min_: *mut C_scalar,
5323 max_: *mut C_scalar,
5324 );
5325 pub fn atg_clamp_max(out__: *mut *mut C_tensor, self_: *mut C_tensor, max_: *mut C_scalar);
5326 pub fn atg_clamp_max_(out__: *mut *mut C_tensor, self_: *mut C_tensor, max_: *mut C_scalar);
5327 pub fn atg_clamp_max_out(
5328 out__: *mut *mut C_tensor,
5329 out_: *mut C_tensor,
5330 self_: *mut C_tensor,
5331 max_: *mut C_scalar,
5332 );
5333 pub fn atg_clamp_max_tensor(
5334 out__: *mut *mut C_tensor,
5335 self_: *mut C_tensor,
5336 max_: *mut C_tensor,
5337 );
5338 pub fn atg_clamp_max_tensor_(
5339 out__: *mut *mut C_tensor,
5340 self_: *mut C_tensor,
5341 max_: *mut C_tensor,
5342 );
5343 pub fn atg_clamp_max_tensor_out(
5344 out__: *mut *mut C_tensor,
5345 out_: *mut C_tensor,
5346 self_: *mut C_tensor,
5347 max_: *mut C_tensor,
5348 );
5349 pub fn atg_clamp_min(out__: *mut *mut C_tensor, self_: *mut C_tensor, min_: *mut C_scalar);
5350 pub fn atg_clamp_min_(out__: *mut *mut C_tensor, self_: *mut C_tensor, min_: *mut C_scalar);
5351 pub fn atg_clamp_min_out(
5352 out__: *mut *mut C_tensor,
5353 out_: *mut C_tensor,
5354 self_: *mut C_tensor,
5355 min_: *mut C_scalar,
5356 );
5357 pub fn atg_clamp_min_tensor(
5358 out__: *mut *mut C_tensor,
5359 self_: *mut C_tensor,
5360 min_: *mut C_tensor,
5361 );
5362 pub fn atg_clamp_min_tensor_(
5363 out__: *mut *mut C_tensor,
5364 self_: *mut C_tensor,
5365 min_: *mut C_tensor,
5366 );
5367 pub fn atg_clamp_min_tensor_out(
5368 out__: *mut *mut C_tensor,
5369 out_: *mut C_tensor,
5370 self_: *mut C_tensor,
5371 min_: *mut C_tensor,
5372 );
5373 pub fn atg_clamp_out(
5374 out__: *mut *mut C_tensor,
5375 out_: *mut C_tensor,
5376 self_: *mut C_tensor,
5377 min_: *mut C_scalar,
5378 max_: *mut C_scalar,
5379 );
5380 pub fn atg_clamp_tensor(
5381 out__: *mut *mut C_tensor,
5382 self_: *mut C_tensor,
5383 min_: *mut C_tensor,
5384 max_: *mut C_tensor,
5385 );
5386 pub fn atg_clamp_tensor_(
5387 out__: *mut *mut C_tensor,
5388 self_: *mut C_tensor,
5389 min_: *mut C_tensor,
5390 max_: *mut C_tensor,
5391 );
5392 pub fn atg_clamp_tensor_out(
5393 out__: *mut *mut C_tensor,
5394 out_: *mut C_tensor,
5395 self_: *mut C_tensor,
5396 min_: *mut C_tensor,
5397 max_: *mut C_tensor,
5398 );
5399 pub fn atg_clip(
5400 out__: *mut *mut C_tensor,
5401 self_: *mut C_tensor,
5402 min_: *mut C_scalar,
5403 max_: *mut C_scalar,
5404 );
5405 pub fn atg_clip_(
5406 out__: *mut *mut C_tensor,
5407 self_: *mut C_tensor,
5408 min_: *mut C_scalar,
5409 max_: *mut C_scalar,
5410 );
5411 pub fn atg_clip_out(
5412 out__: *mut *mut C_tensor,
5413 out_: *mut C_tensor,
5414 self_: *mut C_tensor,
5415 min_: *mut C_scalar,
5416 max_: *mut C_scalar,
5417 );
5418 pub fn atg_clip_tensor(
5419 out__: *mut *mut C_tensor,
5420 self_: *mut C_tensor,
5421 min_: *mut C_tensor,
5422 max_: *mut C_tensor,
5423 );
5424 pub fn atg_clip_tensor_(
5425 out__: *mut *mut C_tensor,
5426 self_: *mut C_tensor,
5427 min_: *mut C_tensor,
5428 max_: *mut C_tensor,
5429 );
5430 pub fn atg_clip_tensor_out(
5431 out__: *mut *mut C_tensor,
5432 out_: *mut C_tensor,
5433 self_: *mut C_tensor,
5434 min_: *mut C_tensor,
5435 max_: *mut C_tensor,
5436 );
5437 pub fn atg_clone(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
5438 pub fn atg_coalesce(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5439 pub fn atg_col2im(
5440 out__: *mut *mut C_tensor,
5441 self_: *mut C_tensor,
5442 output_size_data: *const i64,
5443 output_size_len: c_int,
5444 kernel_size_data: *const i64,
5445 kernel_size_len: c_int,
5446 dilation_data: *const i64,
5447 dilation_len: c_int,
5448 padding_data: *const i64,
5449 padding_len: c_int,
5450 stride_data: *const i64,
5451 stride_len: c_int,
5452 );
5453 pub fn atg_col2im_out(
5454 out__: *mut *mut C_tensor,
5455 out_: *mut C_tensor,
5456 self_: *mut C_tensor,
5457 output_size_data: *const i64,
5458 output_size_len: c_int,
5459 kernel_size_data: *const i64,
5460 kernel_size_len: c_int,
5461 dilation_data: *const i64,
5462 dilation_len: c_int,
5463 padding_data: *const i64,
5464 padding_len: c_int,
5465 stride_data: *const i64,
5466 stride_len: c_int,
5467 );
5468 pub fn atg_col_indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5469 pub fn atg_col_indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5470 pub fn atg_col_indices_copy_out(
5471 out__: *mut *mut C_tensor,
5472 out_: *mut C_tensor,
5473 self_: *mut C_tensor,
5474 );
5475 pub fn atg_column_stack(
5476 out__: *mut *mut C_tensor,
5477 tensors_data: *const *mut C_tensor,
5478 tensors_len: c_int,
5479 );
5480 pub fn atg_column_stack_out(
5481 out__: *mut *mut C_tensor,
5482 out_: *mut C_tensor,
5483 tensors_data: *const *mut C_tensor,
5484 tensors_len: c_int,
5485 );
5486 pub fn atg_combinations(
5487 out__: *mut *mut C_tensor,
5488 self_: *mut C_tensor,
5489 r_: i64,
5490 with_replacement_: c_int,
5491 );
5492 pub fn atg_complex(out__: *mut *mut C_tensor, real_: *mut C_tensor, imag_: *mut C_tensor);
5493 pub fn atg_complex_out(
5494 out__: *mut *mut C_tensor,
5495 out_: *mut C_tensor,
5496 real_: *mut C_tensor,
5497 imag_: *mut C_tensor,
5498 );
5499 pub fn atg_concat(
5500 out__: *mut *mut C_tensor,
5501 tensors_data: *const *mut C_tensor,
5502 tensors_len: c_int,
5503 dim_: i64,
5504 );
5505 pub fn atg_concat_out(
5506 out__: *mut *mut C_tensor,
5507 out_: *mut C_tensor,
5508 tensors_data: *const *mut C_tensor,
5509 tensors_len: c_int,
5510 dim_: i64,
5511 );
5512 pub fn atg_concatenate(
5513 out__: *mut *mut C_tensor,
5514 tensors_data: *const *mut C_tensor,
5515 tensors_len: c_int,
5516 dim_: i64,
5517 );
5518 pub fn atg_concatenate_out(
5519 out__: *mut *mut C_tensor,
5520 out_: *mut C_tensor,
5521 tensors_data: *const *mut C_tensor,
5522 tensors_len: c_int,
5523 dim_: i64,
5524 );
5525 pub fn atg_conj(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5526 pub fn atg_conj_physical(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5527 pub fn atg_conj_physical_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5528 pub fn atg_conj_physical_out(
5529 out__: *mut *mut C_tensor,
5530 out_: *mut C_tensor,
5531 self_: *mut C_tensor,
5532 );
5533 pub fn atg_constant_pad_nd(
5534 out__: *mut *mut C_tensor,
5535 self_: *mut C_tensor,
5536 pad_data: *const i64,
5537 pad_len: c_int,
5538 );
5539 pub fn atg_constant_pad_nd_out(
5540 out__: *mut *mut C_tensor,
5541 out_: *mut C_tensor,
5542 self_: *mut C_tensor,
5543 pad_data: *const i64,
5544 pad_len: c_int,
5545 );
5546 pub fn atg_contiguous(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5547 pub fn atg_conv1d(
5548 out__: *mut *mut C_tensor,
5549 input_: *mut C_tensor,
5550 weight_: *mut C_tensor,
5551 bias_: *mut C_tensor,
5552 stride_data: *const i64,
5553 stride_len: c_int,
5554 padding_data: *const i64,
5555 padding_len: c_int,
5556 dilation_data: *const i64,
5557 dilation_len: c_int,
5558 groups_: i64,
5559 );
5560 pub fn atg_conv1d_padding(
5561 out__: *mut *mut C_tensor,
5562 input_: *mut C_tensor,
5563 weight_: *mut C_tensor,
5564 bias_: *mut C_tensor,
5565 stride_data: *const i64,
5566 stride_len: c_int,
5567 padding_ptr: *const u8,
5568 padding_len: c_int,
5569 dilation_data: *const i64,
5570 dilation_len: c_int,
5571 groups_: i64,
5572 );
5573 pub fn atg_conv2d(
5574 out__: *mut *mut C_tensor,
5575 input_: *mut C_tensor,
5576 weight_: *mut C_tensor,
5577 bias_: *mut C_tensor,
5578 stride_data: *const i64,
5579 stride_len: c_int,
5580 padding_data: *const i64,
5581 padding_len: c_int,
5582 dilation_data: *const i64,
5583 dilation_len: c_int,
5584 groups_: i64,
5585 );
5586 pub fn atg_conv2d_padding(
5587 out__: *mut *mut C_tensor,
5588 input_: *mut C_tensor,
5589 weight_: *mut C_tensor,
5590 bias_: *mut C_tensor,
5591 stride_data: *const i64,
5592 stride_len: c_int,
5593 padding_ptr: *const u8,
5594 padding_len: c_int,
5595 dilation_data: *const i64,
5596 dilation_len: c_int,
5597 groups_: i64,
5598 );
5599 pub fn atg_conv3d(
5600 out__: *mut *mut C_tensor,
5601 input_: *mut C_tensor,
5602 weight_: *mut C_tensor,
5603 bias_: *mut C_tensor,
5604 stride_data: *const i64,
5605 stride_len: c_int,
5606 padding_data: *const i64,
5607 padding_len: c_int,
5608 dilation_data: *const i64,
5609 dilation_len: c_int,
5610 groups_: i64,
5611 );
5612 pub fn atg_conv3d_padding(
5613 out__: *mut *mut C_tensor,
5614 input_: *mut C_tensor,
5615 weight_: *mut C_tensor,
5616 bias_: *mut C_tensor,
5617 stride_data: *const i64,
5618 stride_len: c_int,
5619 padding_ptr: *const u8,
5620 padding_len: c_int,
5621 dilation_data: *const i64,
5622 dilation_len: c_int,
5623 groups_: i64,
5624 );
5625 pub fn atg_conv_depthwise3d(
5626 out__: *mut *mut C_tensor,
5627 self_: *mut C_tensor,
5628 weight_: *mut C_tensor,
5629 kernel_size_data: *const i64,
5630 kernel_size_len: c_int,
5631 bias_: *mut C_tensor,
5632 stride_data: *const i64,
5633 stride_len: c_int,
5634 padding_data: *const i64,
5635 padding_len: c_int,
5636 dilation_data: *const i64,
5637 dilation_len: c_int,
5638 );
5639 pub fn atg_conv_depthwise3d_out(
5640 out__: *mut *mut C_tensor,
5641 out_: *mut C_tensor,
5642 self_: *mut C_tensor,
5643 weight_: *mut C_tensor,
5644 kernel_size_data: *const i64,
5645 kernel_size_len: c_int,
5646 bias_: *mut C_tensor,
5647 stride_data: *const i64,
5648 stride_len: c_int,
5649 padding_data: *const i64,
5650 padding_len: c_int,
5651 dilation_data: *const i64,
5652 dilation_len: c_int,
5653 );
5654 pub fn atg_conv_tbc(
5655 out__: *mut *mut C_tensor,
5656 self_: *mut C_tensor,
5657 weight_: *mut C_tensor,
5658 bias_: *mut C_tensor,
5659 pad_: i64,
5660 );
5661 pub fn atg_conv_tbc_backward(
5662 out__: *mut *mut C_tensor,
5663 self_: *mut C_tensor,
5664 input_: *mut C_tensor,
5665 weight_: *mut C_tensor,
5666 bias_: *mut C_tensor,
5667 pad_: i64,
5668 );
5669 pub fn atg_conv_tbc_out(
5670 out__: *mut *mut C_tensor,
5671 out_: *mut C_tensor,
5672 self_: *mut C_tensor,
5673 weight_: *mut C_tensor,
5674 bias_: *mut C_tensor,
5675 pad_: i64,
5676 );
5677 pub fn atg_conv_transpose1d(
5678 out__: *mut *mut C_tensor,
5679 input_: *mut C_tensor,
5680 weight_: *mut C_tensor,
5681 bias_: *mut C_tensor,
5682 stride_data: *const i64,
5683 stride_len: c_int,
5684 padding_data: *const i64,
5685 padding_len: c_int,
5686 output_padding_data: *const i64,
5687 output_padding_len: c_int,
5688 groups_: i64,
5689 dilation_data: *const i64,
5690 dilation_len: c_int,
5691 );
5692 pub fn atg_conv_transpose2d(
5693 out__: *mut *mut C_tensor,
5694 input_: *mut C_tensor,
5695 weight_: *mut C_tensor,
5696 bias_: *mut C_tensor,
5697 stride_data: *const i64,
5698 stride_len: c_int,
5699 padding_data: *const i64,
5700 padding_len: c_int,
5701 output_padding_data: *const i64,
5702 output_padding_len: c_int,
5703 groups_: i64,
5704 dilation_data: *const i64,
5705 dilation_len: c_int,
5706 );
5707 pub fn atg_conv_transpose3d(
5708 out__: *mut *mut C_tensor,
5709 input_: *mut C_tensor,
5710 weight_: *mut C_tensor,
5711 bias_: *mut C_tensor,
5712 stride_data: *const i64,
5713 stride_len: c_int,
5714 padding_data: *const i64,
5715 padding_len: c_int,
5716 output_padding_data: *const i64,
5717 output_padding_len: c_int,
5718 groups_: i64,
5719 dilation_data: *const i64,
5720 dilation_len: c_int,
5721 );
5722 pub fn atg_convolution(
5723 out__: *mut *mut C_tensor,
5724 input_: *mut C_tensor,
5725 weight_: *mut C_tensor,
5726 bias_: *mut C_tensor,
5727 stride_data: *const i64,
5728 stride_len: c_int,
5729 padding_data: *const i64,
5730 padding_len: c_int,
5731 dilation_data: *const i64,
5732 dilation_len: c_int,
5733 transposed_: c_int,
5734 output_padding_data: *const i64,
5735 output_padding_len: c_int,
5736 groups_: i64,
5737 );
5738 pub fn atg_convolution_out(
5739 out__: *mut *mut C_tensor,
5740 out_: *mut C_tensor,
5741 input_: *mut C_tensor,
5742 weight_: *mut C_tensor,
5743 bias_: *mut C_tensor,
5744 stride_data: *const i64,
5745 stride_len: c_int,
5746 padding_data: *const i64,
5747 padding_len: c_int,
5748 dilation_data: *const i64,
5749 dilation_len: c_int,
5750 transposed_: c_int,
5751 output_padding_data: *const i64,
5752 output_padding_len: c_int,
5753 groups_: i64,
5754 );
5755 pub fn atg_convolution_overrideable(
5756 out__: *mut *mut C_tensor,
5757 input_: *mut C_tensor,
5758 weight_: *mut C_tensor,
5759 bias_: *mut C_tensor,
5760 stride_data: *const i64,
5761 stride_len: c_int,
5762 padding_data: *const i64,
5763 padding_len: c_int,
5764 dilation_data: *const i64,
5765 dilation_len: c_int,
5766 transposed_: c_int,
5767 output_padding_data: *const i64,
5768 output_padding_len: c_int,
5769 groups_: i64,
5770 );
5771 pub fn atg_convolution_overrideable_out(
5772 out__: *mut *mut C_tensor,
5773 out_: *mut C_tensor,
5774 input_: *mut C_tensor,
5775 weight_: *mut C_tensor,
5776 bias_: *mut C_tensor,
5777 stride_data: *const i64,
5778 stride_len: c_int,
5779 padding_data: *const i64,
5780 padding_len: c_int,
5781 dilation_data: *const i64,
5782 dilation_len: c_int,
5783 transposed_: c_int,
5784 output_padding_data: *const i64,
5785 output_padding_len: c_int,
5786 groups_: i64,
5787 );
5788 pub fn atg_copy_sparse_to_sparse(
5789 out__: *mut *mut C_tensor,
5790 self_: *mut C_tensor,
5791 src_: *mut C_tensor,
5792 non_blocking_: c_int,
5793 );
5794 pub fn atg_copy_sparse_to_sparse_(
5795 out__: *mut *mut C_tensor,
5796 self_: *mut C_tensor,
5797 src_: *mut C_tensor,
5798 non_blocking_: c_int,
5799 );
5800 pub fn atg_copy_sparse_to_sparse_out(
5801 out__: *mut *mut C_tensor,
5802 out_: *mut C_tensor,
5803 self_: *mut C_tensor,
5804 src_: *mut C_tensor,
5805 non_blocking_: c_int,
5806 );
5807 pub fn atg_copysign(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
5808 pub fn atg_copysign_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
5809 pub fn atg_copysign_out(
5810 out__: *mut *mut C_tensor,
5811 out_: *mut C_tensor,
5812 self_: *mut C_tensor,
5813 other_: *mut C_tensor,
5814 );
5815 pub fn atg_copysign_scalar(
5816 out__: *mut *mut C_tensor,
5817 self_: *mut C_tensor,
5818 other_: *mut C_scalar,
5819 );
5820 pub fn atg_copysign_scalar_(
5821 out__: *mut *mut C_tensor,
5822 self_: *mut C_tensor,
5823 other_: *mut C_scalar,
5824 );
5825 pub fn atg_copysign_scalar_out(
5826 out__: *mut *mut C_tensor,
5827 out_: *mut C_tensor,
5828 self_: *mut C_tensor,
5829 other_: *mut C_scalar,
5830 );
5831 pub fn atg_corrcoef(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5832 pub fn atg_cos(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5833 pub fn atg_cos_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5834 pub fn atg_cos_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
5835 pub fn atg_cosh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5836 pub fn atg_cosh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5837 pub fn atg_cosh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
5838 pub fn atg_cosine_embedding_loss(
5839 out__: *mut *mut C_tensor,
5840 input1_: *mut C_tensor,
5841 input2_: *mut C_tensor,
5842 target_: *mut C_tensor,
5843 margin_: f64,
5844 reduction_: i64,
5845 );
5846 pub fn atg_cosine_similarity(
5847 out__: *mut *mut C_tensor,
5848 x1_: *mut C_tensor,
5849 x2_: *mut C_tensor,
5850 dim_: i64,
5851 eps_: f64,
5852 );
5853 pub fn atg_count_nonzero(
5854 out__: *mut *mut C_tensor,
5855 self_: *mut C_tensor,
5856 dim_v: i64,
5857 dim_null: i8,
5858 );
5859 pub fn atg_count_nonzero_dim_intlist(
5860 out__: *mut *mut C_tensor,
5861 self_: *mut C_tensor,
5862 dim_data: *const i64,
5863 dim_len: c_int,
5864 );
5865 pub fn atg_count_nonzero_dim_intlist_out(
5866 out__: *mut *mut C_tensor,
5867 out_: *mut C_tensor,
5868 self_: *mut C_tensor,
5869 dim_data: *const i64,
5870 dim_len: c_int,
5871 );
5872 pub fn atg_count_nonzero_out(
5873 out__: *mut *mut C_tensor,
5874 out_: *mut C_tensor,
5875 self_: *mut C_tensor,
5876 dim_v: i64,
5877 dim_null: i8,
5878 );
5879 pub fn atg_cov(
5880 out__: *mut *mut C_tensor,
5881 self_: *mut C_tensor,
5882 correction_: i64,
5883 fweights_: *mut C_tensor,
5884 aweights_: *mut C_tensor,
5885 );
5886 pub fn atg_cross(
5887 out__: *mut *mut C_tensor,
5888 self_: *mut C_tensor,
5889 other_: *mut C_tensor,
5890 dim_v: i64,
5891 dim_null: i8,
5892 );
5893 pub fn atg_cross_entropy_loss(
5894 out__: *mut *mut C_tensor,
5895 self_: *mut C_tensor,
5896 target_: *mut C_tensor,
5897 weight_: *mut C_tensor,
5898 reduction_: i64,
5899 ignore_index_: i64,
5900 label_smoothing_: f64,
5901 );
5902 pub fn atg_cross_out(
5903 out__: *mut *mut C_tensor,
5904 out_: *mut C_tensor,
5905 self_: *mut C_tensor,
5906 other_: *mut C_tensor,
5907 dim_v: i64,
5908 dim_null: i8,
5909 );
5910 pub fn atg_crow_indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5911 pub fn atg_crow_indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
5912 pub fn atg_crow_indices_copy_out(
5913 out__: *mut *mut C_tensor,
5914 out_: *mut C_tensor,
5915 self_: *mut C_tensor,
5916 );
5917 pub fn atg_ctc_loss(
5918 out__: *mut *mut C_tensor,
5919 log_probs_: *mut C_tensor,
5920 targets_: *mut C_tensor,
5921 input_lengths_data: *const i64,
5922 input_lengths_len: c_int,
5923 target_lengths_data: *const i64,
5924 target_lengths_len: c_int,
5925 blank_: i64,
5926 reduction_: i64,
5927 zero_infinity_: c_int,
5928 );
5929 pub fn atg_ctc_loss_tensor(
5930 out__: *mut *mut C_tensor,
5931 log_probs_: *mut C_tensor,
5932 targets_: *mut C_tensor,
5933 input_lengths_: *mut C_tensor,
5934 target_lengths_: *mut C_tensor,
5935 blank_: i64,
5936 reduction_: i64,
5937 zero_infinity_: c_int,
5938 );
5939 pub fn atg_cudnn_affine_grid_generator(
5940 out__: *mut *mut C_tensor,
5941 theta_: *mut C_tensor,
5942 n_: i64,
5943 C_: i64,
5944 H_: i64,
5945 W_: i64,
5946 );
5947 pub fn atg_cudnn_affine_grid_generator_backward(
5948 out__: *mut *mut C_tensor,
5949 grad_: *mut C_tensor,
5950 n_: i64,
5951 C_: i64,
5952 H_: i64,
5953 W_: i64,
5954 );
5955 pub fn atg_cudnn_affine_grid_generator_backward_out(
5956 out__: *mut *mut C_tensor,
5957 out_: *mut C_tensor,
5958 grad_: *mut C_tensor,
5959 n_: i64,
5960 C_: i64,
5961 H_: i64,
5962 W_: i64,
5963 );
5964 pub fn atg_cudnn_affine_grid_generator_out(
5965 out__: *mut *mut C_tensor,
5966 out_: *mut C_tensor,
5967 theta_: *mut C_tensor,
5968 n_: i64,
5969 C_: i64,
5970 H_: i64,
5971 W_: i64,
5972 );
5973 pub fn atg_cudnn_batch_norm(
5974 out__: *mut *mut C_tensor,
5975 input_: *mut C_tensor,
5976 weight_: *mut C_tensor,
5977 bias_: *mut C_tensor,
5978 running_mean_: *mut C_tensor,
5979 running_var_: *mut C_tensor,
5980 training_: c_int,
5981 exponential_average_factor_: f64,
5982 epsilon_: f64,
5983 );
5984 pub fn atg_cudnn_batch_norm_backward(
5985 out__: *mut *mut C_tensor,
5986 input_: *mut C_tensor,
5987 grad_output_: *mut C_tensor,
5988 weight_: *mut C_tensor,
5989 running_mean_: *mut C_tensor,
5990 running_var_: *mut C_tensor,
5991 save_mean_: *mut C_tensor,
5992 save_var_: *mut C_tensor,
5993 epsilon_: f64,
5994 reserveSpace_: *mut C_tensor,
5995 );
5996 pub fn atg_cudnn_batch_norm_backward_out(
5997 out__: *mut *mut C_tensor,
5998 out0_: *mut C_tensor,
5999 out1_: *mut C_tensor,
6000 out2_: *mut C_tensor,
6001 input_: *mut C_tensor,
6002 grad_output_: *mut C_tensor,
6003 weight_: *mut C_tensor,
6004 running_mean_: *mut C_tensor,
6005 running_var_: *mut C_tensor,
6006 save_mean_: *mut C_tensor,
6007 save_var_: *mut C_tensor,
6008 epsilon_: f64,
6009 reserveSpace_: *mut C_tensor,
6010 );
6011 pub fn atg_cudnn_batch_norm_out(
6012 out__: *mut *mut C_tensor,
6013 out0_: *mut C_tensor,
6014 out1_: *mut C_tensor,
6015 out2_: *mut C_tensor,
6016 out3_: *mut C_tensor,
6017 input_: *mut C_tensor,
6018 weight_: *mut C_tensor,
6019 bias_: *mut C_tensor,
6020 running_mean_: *mut C_tensor,
6021 running_var_: *mut C_tensor,
6022 training_: c_int,
6023 exponential_average_factor_: f64,
6024 epsilon_: f64,
6025 );
6026 pub fn atg_cudnn_convolution(
6027 out__: *mut *mut C_tensor,
6028 self_: *mut C_tensor,
6029 weight_: *mut C_tensor,
6030 padding_data: *const i64,
6031 padding_len: c_int,
6032 stride_data: *const i64,
6033 stride_len: c_int,
6034 dilation_data: *const i64,
6035 dilation_len: c_int,
6036 groups_: i64,
6037 benchmark_: c_int,
6038 deterministic_: c_int,
6039 allow_tf32_: c_int,
6040 );
6041 pub fn atg_cudnn_convolution_add_relu(
6042 out__: *mut *mut C_tensor,
6043 self_: *mut C_tensor,
6044 weight_: *mut C_tensor,
6045 z_: *mut C_tensor,
6046 alpha_: *mut C_scalar,
6047 bias_: *mut C_tensor,
6048 stride_data: *const i64,
6049 stride_len: c_int,
6050 padding_data: *const i64,
6051 padding_len: c_int,
6052 dilation_data: *const i64,
6053 dilation_len: c_int,
6054 groups_: i64,
6055 );
6056 pub fn atg_cudnn_convolution_add_relu_out(
6057 out__: *mut *mut C_tensor,
6058 out_: *mut C_tensor,
6059 self_: *mut C_tensor,
6060 weight_: *mut C_tensor,
6061 z_: *mut C_tensor,
6062 alpha_: *mut C_scalar,
6063 bias_: *mut C_tensor,
6064 stride_data: *const i64,
6065 stride_len: c_int,
6066 padding_data: *const i64,
6067 padding_len: c_int,
6068 dilation_data: *const i64,
6069 dilation_len: c_int,
6070 groups_: i64,
6071 );
6072 pub fn atg_cudnn_convolution_out(
6073 out__: *mut *mut C_tensor,
6074 out_: *mut C_tensor,
6075 self_: *mut C_tensor,
6076 weight_: *mut C_tensor,
6077 padding_data: *const i64,
6078 padding_len: c_int,
6079 stride_data: *const i64,
6080 stride_len: c_int,
6081 dilation_data: *const i64,
6082 dilation_len: c_int,
6083 groups_: i64,
6084 benchmark_: c_int,
6085 deterministic_: c_int,
6086 allow_tf32_: c_int,
6087 );
6088 pub fn atg_cudnn_convolution_relu(
6089 out__: *mut *mut C_tensor,
6090 self_: *mut C_tensor,
6091 weight_: *mut C_tensor,
6092 bias_: *mut C_tensor,
6093 stride_data: *const i64,
6094 stride_len: c_int,
6095 padding_data: *const i64,
6096 padding_len: c_int,
6097 dilation_data: *const i64,
6098 dilation_len: c_int,
6099 groups_: i64,
6100 );
6101 pub fn atg_cudnn_convolution_relu_out(
6102 out__: *mut *mut C_tensor,
6103 out_: *mut C_tensor,
6104 self_: *mut C_tensor,
6105 weight_: *mut C_tensor,
6106 bias_: *mut C_tensor,
6107 stride_data: *const i64,
6108 stride_len: c_int,
6109 padding_data: *const i64,
6110 padding_len: c_int,
6111 dilation_data: *const i64,
6112 dilation_len: c_int,
6113 groups_: i64,
6114 );
6115 pub fn atg_cudnn_convolution_transpose(
6116 out__: *mut *mut C_tensor,
6117 self_: *mut C_tensor,
6118 weight_: *mut C_tensor,
6119 padding_data: *const i64,
6120 padding_len: c_int,
6121 output_padding_data: *const i64,
6122 output_padding_len: c_int,
6123 stride_data: *const i64,
6124 stride_len: c_int,
6125 dilation_data: *const i64,
6126 dilation_len: c_int,
6127 groups_: i64,
6128 benchmark_: c_int,
6129 deterministic_: c_int,
6130 allow_tf32_: c_int,
6131 );
6132 pub fn atg_cudnn_convolution_transpose_out(
6133 out__: *mut *mut C_tensor,
6134 out_: *mut C_tensor,
6135 self_: *mut C_tensor,
6136 weight_: *mut C_tensor,
6137 padding_data: *const i64,
6138 padding_len: c_int,
6139 output_padding_data: *const i64,
6140 output_padding_len: c_int,
6141 stride_data: *const i64,
6142 stride_len: c_int,
6143 dilation_data: *const i64,
6144 dilation_len: c_int,
6145 groups_: i64,
6146 benchmark_: c_int,
6147 deterministic_: c_int,
6148 allow_tf32_: c_int,
6149 );
6150 pub fn atg_cudnn_grid_sampler(
6151 out__: *mut *mut C_tensor,
6152 self_: *mut C_tensor,
6153 grid_: *mut C_tensor,
6154 );
6155 pub fn atg_cudnn_grid_sampler_backward(
6156 out__: *mut *mut C_tensor,
6157 self_: *mut C_tensor,
6158 grid_: *mut C_tensor,
6159 grad_output_: *mut C_tensor,
6160 );
6161 pub fn atg_cudnn_grid_sampler_backward_out(
6162 out__: *mut *mut C_tensor,
6163 out0_: *mut C_tensor,
6164 out1_: *mut C_tensor,
6165 self_: *mut C_tensor,
6166 grid_: *mut C_tensor,
6167 grad_output_: *mut C_tensor,
6168 );
6169 pub fn atg_cudnn_grid_sampler_out(
6170 out__: *mut *mut C_tensor,
6171 out_: *mut C_tensor,
6172 self_: *mut C_tensor,
6173 grid_: *mut C_tensor,
6174 );
6175 pub fn atg_cudnn_is_acceptable(self_: *mut C_tensor) -> c_int;
6176 pub fn atg_cummax(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
6177 pub fn atg_cummax_out(
6178 out__: *mut *mut C_tensor,
6179 values_: *mut C_tensor,
6180 indices_: *mut C_tensor,
6181 self_: *mut C_tensor,
6182 dim_: i64,
6183 );
6184 pub fn atg_cummaxmin_backward(
6185 out__: *mut *mut C_tensor,
6186 grad_: *mut C_tensor,
6187 input_: *mut C_tensor,
6188 indices_: *mut C_tensor,
6189 dim_: i64,
6190 );
6191 pub fn atg_cummin(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
6192 pub fn atg_cummin_out(
6193 out__: *mut *mut C_tensor,
6194 values_: *mut C_tensor,
6195 indices_: *mut C_tensor,
6196 self_: *mut C_tensor,
6197 dim_: i64,
6198 );
6199 pub fn atg_cumprod(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, dtype_: c_int);
6200 pub fn atg_cumprod_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, dtype_: c_int);
6201 pub fn atg_cumprod_backward(
6202 out__: *mut *mut C_tensor,
6203 grad_: *mut C_tensor,
6204 input_: *mut C_tensor,
6205 dim_: i64,
6206 output_: *mut C_tensor,
6207 );
6208 pub fn atg_cumprod_out(
6209 out__: *mut *mut C_tensor,
6210 out_: *mut C_tensor,
6211 self_: *mut C_tensor,
6212 dim_: i64,
6213 dtype_: c_int,
6214 );
6215 pub fn atg_cumsum(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, dtype_: c_int);
6216 pub fn atg_cumsum_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, dtype_: c_int);
6217 pub fn atg_cumsum_out(
6218 out__: *mut *mut C_tensor,
6219 out_: *mut C_tensor,
6220 self_: *mut C_tensor,
6221 dim_: i64,
6222 dtype_: c_int,
6223 );
6224 pub fn atg_cumulative_trapezoid(out__: *mut *mut C_tensor, y_: *mut C_tensor, dim_: i64);
6225 pub fn atg_cumulative_trapezoid_x(
6226 out__: *mut *mut C_tensor,
6227 y_: *mut C_tensor,
6228 x_: *mut C_tensor,
6229 dim_: i64,
6230 );
6231 pub fn atg_data(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6232 pub fn atg_deg2rad(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6233 pub fn atg_deg2rad_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6234 pub fn atg_deg2rad_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6235 pub fn atg_dense_dim(self_: *mut C_tensor) -> i64;
6236 pub fn atg_dequantize(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6237 pub fn atg_dequantize_self_out(
6238 out__: *mut *mut C_tensor,
6239 out_: *mut C_tensor,
6240 self_: *mut C_tensor,
6241 );
6242 pub fn atg_dequantize_tensors(
6243 tensors_data: *const *mut C_tensor,
6244 tensors_len: c_int,
6245 ) -> *mut *mut C_tensor;
6246 pub fn atg_dequantize_tensors_out(
6247 out_data: *const *mut C_tensor,
6248 out_len: c_int,
6249 tensors_data: *const *mut C_tensor,
6250 tensors_len: c_int,
6251 );
6252 pub fn atg_det(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6253 pub fn atg_detach(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6254 pub fn atg_detach_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6255 pub fn atg_detach_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6256 pub fn atg_detach_copy_out(
6257 out__: *mut *mut C_tensor,
6258 out_: *mut C_tensor,
6259 self_: *mut C_tensor,
6260 );
6261 pub fn atg_diag(out__: *mut *mut C_tensor, self_: *mut C_tensor, diagonal_: i64);
6262 pub fn atg_diag_embed(
6263 out__: *mut *mut C_tensor,
6264 self_: *mut C_tensor,
6265 offset_: i64,
6266 dim1_: i64,
6267 dim2_: i64,
6268 );
6269 pub fn atg_diag_embed_out(
6270 out__: *mut *mut C_tensor,
6271 out_: *mut C_tensor,
6272 self_: *mut C_tensor,
6273 offset_: i64,
6274 dim1_: i64,
6275 dim2_: i64,
6276 );
6277 pub fn atg_diag_out(
6278 out__: *mut *mut C_tensor,
6279 out_: *mut C_tensor,
6280 self_: *mut C_tensor,
6281 diagonal_: i64,
6282 );
6283 pub fn atg_diagflat(out__: *mut *mut C_tensor, self_: *mut C_tensor, offset_: i64);
6284 pub fn atg_diagonal(
6285 out__: *mut *mut C_tensor,
6286 self_: *mut C_tensor,
6287 offset_: i64,
6288 dim1_: i64,
6289 dim2_: i64,
6290 );
6291 pub fn atg_diagonal_backward(
6292 out__: *mut *mut C_tensor,
6293 grad_output_: *mut C_tensor,
6294 input_sizes_data: *const i64,
6295 input_sizes_len: c_int,
6296 offset_: i64,
6297 dim1_: i64,
6298 dim2_: i64,
6299 );
6300 pub fn atg_diagonal_backward_out(
6301 out__: *mut *mut C_tensor,
6302 out_: *mut C_tensor,
6303 grad_output_: *mut C_tensor,
6304 input_sizes_data: *const i64,
6305 input_sizes_len: c_int,
6306 offset_: i64,
6307 dim1_: i64,
6308 dim2_: i64,
6309 );
6310 pub fn atg_diagonal_copy(
6311 out__: *mut *mut C_tensor,
6312 self_: *mut C_tensor,
6313 offset_: i64,
6314 dim1_: i64,
6315 dim2_: i64,
6316 );
6317 pub fn atg_diagonal_copy_out(
6318 out__: *mut *mut C_tensor,
6319 out_: *mut C_tensor,
6320 self_: *mut C_tensor,
6321 offset_: i64,
6322 dim1_: i64,
6323 dim2_: i64,
6324 );
6325 pub fn atg_diagonal_scatter(
6326 out__: *mut *mut C_tensor,
6327 self_: *mut C_tensor,
6328 src_: *mut C_tensor,
6329 offset_: i64,
6330 dim1_: i64,
6331 dim2_: i64,
6332 );
6333 pub fn atg_diagonal_scatter_out(
6334 out__: *mut *mut C_tensor,
6335 out_: *mut C_tensor,
6336 self_: *mut C_tensor,
6337 src_: *mut C_tensor,
6338 offset_: i64,
6339 dim1_: i64,
6340 dim2_: i64,
6341 );
6342 pub fn atg_diff(
6343 out__: *mut *mut C_tensor,
6344 self_: *mut C_tensor,
6345 n_: i64,
6346 dim_: i64,
6347 prepend_: *mut C_tensor,
6348 append_: *mut C_tensor,
6349 );
6350 pub fn atg_diff_out(
6351 out__: *mut *mut C_tensor,
6352 out_: *mut C_tensor,
6353 self_: *mut C_tensor,
6354 n_: i64,
6355 dim_: i64,
6356 prepend_: *mut C_tensor,
6357 append_: *mut C_tensor,
6358 );
6359 pub fn atg_digamma(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6360 pub fn atg_digamma_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6361 pub fn atg_digamma_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6362 pub fn atg_dist(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6363 pub fn atg_dist_out(
6364 out__: *mut *mut C_tensor,
6365 out_: *mut C_tensor,
6366 self_: *mut C_tensor,
6367 other_: *mut C_tensor,
6368 );
6369 pub fn atg_div(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6370 pub fn atg_div_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6371 pub fn atg_div_out(
6372 out__: *mut *mut C_tensor,
6373 out_: *mut C_tensor,
6374 self_: *mut C_tensor,
6375 other_: *mut C_tensor,
6376 );
6377 pub fn atg_div_out_mode(
6378 out__: *mut *mut C_tensor,
6379 out_: *mut C_tensor,
6380 self_: *mut C_tensor,
6381 other_: *mut C_tensor,
6382 rounding_mode_ptr: *const u8,
6383 rounding_mode_len: c_int,
6384 );
6385 pub fn atg_div_scalar(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
6386 pub fn atg_div_scalar_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
6387 pub fn atg_div_scalar_mode(
6388 out__: *mut *mut C_tensor,
6389 self_: *mut C_tensor,
6390 other_: *mut C_scalar,
6391 rounding_mode_ptr: *const u8,
6392 rounding_mode_len: c_int,
6393 );
6394 pub fn atg_div_scalar_mode_(
6395 out__: *mut *mut C_tensor,
6396 self_: *mut C_tensor,
6397 other_: *mut C_scalar,
6398 rounding_mode_ptr: *const u8,
6399 rounding_mode_len: c_int,
6400 );
6401 pub fn atg_div_scalar_mode_out(
6402 out__: *mut *mut C_tensor,
6403 out_: *mut C_tensor,
6404 self_: *mut C_tensor,
6405 other_: *mut C_scalar,
6406 rounding_mode_ptr: *const u8,
6407 rounding_mode_len: c_int,
6408 );
6409 pub fn atg_div_scalar_out(
6410 out__: *mut *mut C_tensor,
6411 out_: *mut C_tensor,
6412 self_: *mut C_tensor,
6413 other_: *mut C_scalar,
6414 );
6415 pub fn atg_div_tensor_mode(
6416 out__: *mut *mut C_tensor,
6417 self_: *mut C_tensor,
6418 other_: *mut C_tensor,
6419 rounding_mode_ptr: *const u8,
6420 rounding_mode_len: c_int,
6421 );
6422 pub fn atg_div_tensor_mode_(
6423 out__: *mut *mut C_tensor,
6424 self_: *mut C_tensor,
6425 other_: *mut C_tensor,
6426 rounding_mode_ptr: *const u8,
6427 rounding_mode_len: c_int,
6428 );
6429 pub fn atg_divide(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6430 pub fn atg_divide_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6431 pub fn atg_divide_out(
6432 out__: *mut *mut C_tensor,
6433 out_: *mut C_tensor,
6434 self_: *mut C_tensor,
6435 other_: *mut C_tensor,
6436 );
6437 pub fn atg_divide_out_mode(
6438 out__: *mut *mut C_tensor,
6439 out_: *mut C_tensor,
6440 self_: *mut C_tensor,
6441 other_: *mut C_tensor,
6442 rounding_mode_ptr: *const u8,
6443 rounding_mode_len: c_int,
6444 );
6445 pub fn atg_divide_scalar(
6446 out__: *mut *mut C_tensor,
6447 self_: *mut C_tensor,
6448 other_: *mut C_scalar,
6449 );
6450 pub fn atg_divide_scalar_(
6451 out__: *mut *mut C_tensor,
6452 self_: *mut C_tensor,
6453 other_: *mut C_scalar,
6454 );
6455 pub fn atg_divide_scalar_mode(
6456 out__: *mut *mut C_tensor,
6457 self_: *mut C_tensor,
6458 other_: *mut C_scalar,
6459 rounding_mode_ptr: *const u8,
6460 rounding_mode_len: c_int,
6461 );
6462 pub fn atg_divide_scalar_mode_(
6463 out__: *mut *mut C_tensor,
6464 self_: *mut C_tensor,
6465 other_: *mut C_scalar,
6466 rounding_mode_ptr: *const u8,
6467 rounding_mode_len: c_int,
6468 );
6469 pub fn atg_divide_tensor_mode(
6470 out__: *mut *mut C_tensor,
6471 self_: *mut C_tensor,
6472 other_: *mut C_tensor,
6473 rounding_mode_ptr: *const u8,
6474 rounding_mode_len: c_int,
6475 );
6476 pub fn atg_divide_tensor_mode_(
6477 out__: *mut *mut C_tensor,
6478 self_: *mut C_tensor,
6479 other_: *mut C_tensor,
6480 rounding_mode_ptr: *const u8,
6481 rounding_mode_len: c_int,
6482 );
6483 pub fn atg_dot(out__: *mut *mut C_tensor, self_: *mut C_tensor, tensor_: *mut C_tensor);
6484 pub fn atg_dot_out(
6485 out__: *mut *mut C_tensor,
6486 out_: *mut C_tensor,
6487 self_: *mut C_tensor,
6488 tensor_: *mut C_tensor,
6489 );
6490 pub fn atg_dropout(out__: *mut *mut C_tensor, input_: *mut C_tensor, p_: f64, train_: c_int);
6491 pub fn atg_dropout_(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64, train_: c_int);
6492 pub fn atg_dsplit(self_: *mut C_tensor, sections_: i64) -> *mut *mut C_tensor;
6493 pub fn atg_dsplit_array(
6494 self_: *mut C_tensor,
6495 indices_data: *const i64,
6496 indices_len: c_int,
6497 ) -> *mut *mut C_tensor;
6498 pub fn atg_dstack(
6499 out__: *mut *mut C_tensor,
6500 tensors_data: *const *mut C_tensor,
6501 tensors_len: c_int,
6502 );
6503 pub fn atg_dstack_out(
6504 out__: *mut *mut C_tensor,
6505 out_: *mut C_tensor,
6506 tensors_data: *const *mut C_tensor,
6507 tensors_len: c_int,
6508 );
6509 pub fn atg_einsum(
6510 out__: *mut *mut C_tensor,
6511 equation_ptr: *const u8,
6512 equation_len: c_int,
6513 tensors_data: *const *mut C_tensor,
6514 tensors_len: c_int,
6515 path_data: *const i64,
6516 path_len: c_int,
6517 );
6518 pub fn atg_elu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6519 pub fn atg_elu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6520 pub fn atg_elu_backward(
6521 out__: *mut *mut C_tensor,
6522 grad_output_: *mut C_tensor,
6523 alpha_: *mut C_scalar,
6524 scale_: *mut C_scalar,
6525 input_scale_: *mut C_scalar,
6526 is_result_: c_int,
6527 self_or_result_: *mut C_tensor,
6528 );
6529 pub fn atg_elu_backward_grad_input(
6530 out__: *mut *mut C_tensor,
6531 grad_input_: *mut C_tensor,
6532 grad_output_: *mut C_tensor,
6533 alpha_: *mut C_scalar,
6534 scale_: *mut C_scalar,
6535 input_scale_: *mut C_scalar,
6536 is_result_: c_int,
6537 self_or_result_: *mut C_tensor,
6538 );
6539 pub fn atg_elu_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6540 pub fn atg_embedding(
6541 out__: *mut *mut C_tensor,
6542 weight_: *mut C_tensor,
6543 indices_: *mut C_tensor,
6544 padding_idx_: i64,
6545 scale_grad_by_freq_: c_int,
6546 sparse_: c_int,
6547 );
6548 pub fn atg_embedding_backward(
6549 out__: *mut *mut C_tensor,
6550 grad_: *mut C_tensor,
6551 indices_: *mut C_tensor,
6552 num_weights_: i64,
6553 padding_idx_: i64,
6554 scale_grad_by_freq_: c_int,
6555 sparse_: c_int,
6556 );
6557 pub fn atg_embedding_bag(
6558 out__: *mut *mut C_tensor,
6559 weight_: *mut C_tensor,
6560 indices_: *mut C_tensor,
6561 offsets_: *mut C_tensor,
6562 scale_grad_by_freq_: c_int,
6563 mode_: i64,
6564 sparse_: c_int,
6565 per_sample_weights_: *mut C_tensor,
6566 include_last_offset_: c_int,
6567 );
6568 pub fn atg_embedding_bag_padding_idx(
6569 out__: *mut *mut C_tensor,
6570 weight_: *mut C_tensor,
6571 indices_: *mut C_tensor,
6572 offsets_: *mut C_tensor,
6573 scale_grad_by_freq_: c_int,
6574 mode_: i64,
6575 sparse_: c_int,
6576 per_sample_weights_: *mut C_tensor,
6577 include_last_offset_: c_int,
6578 padding_idx_v: i64,
6579 padding_idx_null: i8,
6580 );
6581 pub fn atg_embedding_dense_backward(
6582 out__: *mut *mut C_tensor,
6583 grad_output_: *mut C_tensor,
6584 indices_: *mut C_tensor,
6585 num_weights_: i64,
6586 padding_idx_: i64,
6587 scale_grad_by_freq_: c_int,
6588 );
6589 pub fn atg_embedding_dense_backward_out(
6590 out__: *mut *mut C_tensor,
6591 out_: *mut C_tensor,
6592 grad_output_: *mut C_tensor,
6593 indices_: *mut C_tensor,
6594 num_weights_: i64,
6595 padding_idx_: i64,
6596 scale_grad_by_freq_: c_int,
6597 );
6598 pub fn atg_embedding_out(
6599 out__: *mut *mut C_tensor,
6600 out_: *mut C_tensor,
6601 weight_: *mut C_tensor,
6602 indices_: *mut C_tensor,
6603 padding_idx_: i64,
6604 scale_grad_by_freq_: c_int,
6605 sparse_: c_int,
6606 );
6607 pub fn atg_embedding_renorm(
6608 out__: *mut *mut C_tensor,
6609 self_: *mut C_tensor,
6610 indices_: *mut C_tensor,
6611 max_norm_: f64,
6612 norm_type_: f64,
6613 );
6614 pub fn atg_embedding_renorm_(
6615 out__: *mut *mut C_tensor,
6616 self_: *mut C_tensor,
6617 indices_: *mut C_tensor,
6618 max_norm_: f64,
6619 norm_type_: f64,
6620 );
6621 pub fn atg_embedding_renorm_out(
6622 out__: *mut *mut C_tensor,
6623 out_: *mut C_tensor,
6624 self_: *mut C_tensor,
6625 indices_: *mut C_tensor,
6626 max_norm_: f64,
6627 norm_type_: f64,
6628 );
6629 pub fn atg_embedding_sparse_backward(
6630 out__: *mut *mut C_tensor,
6631 grad_: *mut C_tensor,
6632 indices_: *mut C_tensor,
6633 num_weights_: i64,
6634 padding_idx_: i64,
6635 scale_grad_by_freq_: c_int,
6636 );
6637 pub fn atg_empty(
6638 out__: *mut *mut C_tensor,
6639 size_data: *const i64,
6640 size_len: c_int,
6641 options_kind: c_int,
6642 options_device: c_int,
6643 );
6644 pub fn atg_empty_like(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6645 pub fn atg_empty_like_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6646 pub fn atg_empty_out(
6647 out__: *mut *mut C_tensor,
6648 out_: *mut C_tensor,
6649 size_data: *const i64,
6650 size_len: c_int,
6651 );
6652 pub fn atg_empty_permuted(
6653 out__: *mut *mut C_tensor,
6654 size_data: *const i64,
6655 size_len: c_int,
6656 physical_layout_data: *const i64,
6657 physical_layout_len: c_int,
6658 options_kind: c_int,
6659 options_device: c_int,
6660 );
6661 pub fn atg_empty_permuted_out(
6662 out__: *mut *mut C_tensor,
6663 out_: *mut C_tensor,
6664 size_data: *const i64,
6665 size_len: c_int,
6666 physical_layout_data: *const i64,
6667 physical_layout_len: c_int,
6668 );
6669 pub fn atg_empty_quantized(
6670 out__: *mut *mut C_tensor,
6671 size_data: *const i64,
6672 size_len: c_int,
6673 qtensor_: *mut C_tensor,
6674 options_kind: c_int,
6675 options_device: c_int,
6676 );
6677 pub fn atg_empty_quantized_out(
6678 out__: *mut *mut C_tensor,
6679 out_: *mut C_tensor,
6680 size_data: *const i64,
6681 size_len: c_int,
6682 qtensor_: *mut C_tensor,
6683 );
6684 pub fn atg_empty_strided(
6685 out__: *mut *mut C_tensor,
6686 size_data: *const i64,
6687 size_len: c_int,
6688 stride_data: *const i64,
6689 stride_len: c_int,
6690 options_kind: c_int,
6691 options_device: c_int,
6692 );
6693 pub fn atg_empty_strided_out(
6694 out__: *mut *mut C_tensor,
6695 out_: *mut C_tensor,
6696 size_data: *const i64,
6697 size_len: c_int,
6698 stride_data: *const i64,
6699 stride_len: c_int,
6700 );
6701 pub fn atg_eq(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
6702 pub fn atg_eq_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
6703 pub fn atg_eq_scalar_out(
6704 out__: *mut *mut C_tensor,
6705 out_: *mut C_tensor,
6706 self_: *mut C_tensor,
6707 other_: *mut C_scalar,
6708 );
6709 pub fn atg_eq_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6710 pub fn atg_eq_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6711 pub fn atg_eq_tensor_out(
6712 out__: *mut *mut C_tensor,
6713 out_: *mut C_tensor,
6714 self_: *mut C_tensor,
6715 other_: *mut C_tensor,
6716 );
6717 pub fn atg_equal(self_: *mut C_tensor, other_: *mut C_tensor) -> c_int;
6718 pub fn atg_erf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6719 pub fn atg_erf_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6720 pub fn atg_erf_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6721 pub fn atg_erfc(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6722 pub fn atg_erfc_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6723 pub fn atg_erfc_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6724 pub fn atg_erfinv(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6725 pub fn atg_erfinv_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6726 pub fn atg_erfinv_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6727 pub fn atg_exp(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6728 pub fn atg_exp2(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6729 pub fn atg_exp2_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6730 pub fn atg_exp2_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6731 pub fn atg_exp_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6732 pub fn atg_exp_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6733 pub fn atg_expand(
6734 out__: *mut *mut C_tensor,
6735 self_: *mut C_tensor,
6736 size_data: *const i64,
6737 size_len: c_int,
6738 implicit_: c_int,
6739 );
6740 pub fn atg_expand_as(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
6741 pub fn atg_expand_copy(
6742 out__: *mut *mut C_tensor,
6743 self_: *mut C_tensor,
6744 size_data: *const i64,
6745 size_len: c_int,
6746 implicit_: c_int,
6747 );
6748 pub fn atg_expand_copy_out(
6749 out__: *mut *mut C_tensor,
6750 out_: *mut C_tensor,
6751 self_: *mut C_tensor,
6752 size_data: *const i64,
6753 size_len: c_int,
6754 implicit_: c_int,
6755 );
6756 pub fn atg_expm1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6757 pub fn atg_expm1_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
6758 pub fn atg_expm1_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
6759 pub fn atg_exponential(out__: *mut *mut C_tensor, self_: *mut C_tensor, lambd_: f64);
6760 pub fn atg_exponential_(out__: *mut *mut C_tensor, self_: *mut C_tensor, lambd_: f64);
6761 pub fn atg_exponential_out(
6762 out__: *mut *mut C_tensor,
6763 out_: *mut C_tensor,
6764 self_: *mut C_tensor,
6765 lambd_: f64,
6766 );
6767 pub fn atg_eye(out__: *mut *mut C_tensor, n_: i64, options_kind: c_int, options_device: c_int);
6768 pub fn atg_eye_m(
6769 out__: *mut *mut C_tensor,
6770 n_: i64,
6771 m_: i64,
6772 options_kind: c_int,
6773 options_device: c_int,
6774 );
6775 pub fn atg_eye_m_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, n_: i64, m_: i64);
6776 pub fn atg_eye_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, n_: i64);
6777 pub fn atg_fake_quantize_per_channel_affine(
6778 out__: *mut *mut C_tensor,
6779 self_: *mut C_tensor,
6780 scale_: *mut C_tensor,
6781 zero_point_: *mut C_tensor,
6782 axis_: i64,
6783 quant_min_: i64,
6784 quant_max_: i64,
6785 );
6786 pub fn atg_fake_quantize_per_channel_affine_cachemask(
6787 out__: *mut *mut C_tensor,
6788 self_: *mut C_tensor,
6789 scale_: *mut C_tensor,
6790 zero_point_: *mut C_tensor,
6791 axis_: i64,
6792 quant_min_: i64,
6793 quant_max_: i64,
6794 );
6795 pub fn atg_fake_quantize_per_channel_affine_cachemask_backward(
6796 out__: *mut *mut C_tensor,
6797 grad_: *mut C_tensor,
6798 mask_: *mut C_tensor,
6799 );
6800 pub fn atg_fake_quantize_per_channel_affine_cachemask_out(
6801 out__: *mut *mut C_tensor,
6802 out0_: *mut C_tensor,
6803 out1_: *mut C_tensor,
6804 self_: *mut C_tensor,
6805 scale_: *mut C_tensor,
6806 zero_point_: *mut C_tensor,
6807 axis_: i64,
6808 quant_min_: i64,
6809 quant_max_: i64,
6810 );
6811 pub fn atg_fake_quantize_per_tensor_affine(
6812 out__: *mut *mut C_tensor,
6813 self_: *mut C_tensor,
6814 scale_: f64,
6815 zero_point_: i64,
6816 quant_min_: i64,
6817 quant_max_: i64,
6818 );
6819 pub fn atg_fake_quantize_per_tensor_affine_cachemask(
6820 out__: *mut *mut C_tensor,
6821 self_: *mut C_tensor,
6822 scale_: f64,
6823 zero_point_: i64,
6824 quant_min_: i64,
6825 quant_max_: i64,
6826 );
6827 pub fn atg_fake_quantize_per_tensor_affine_cachemask_backward(
6828 out__: *mut *mut C_tensor,
6829 grad_: *mut C_tensor,
6830 mask_: *mut C_tensor,
6831 );
6832 pub fn atg_fake_quantize_per_tensor_affine_cachemask_out(
6833 out__: *mut *mut C_tensor,
6834 out0_: *mut C_tensor,
6835 out1_: *mut C_tensor,
6836 self_: *mut C_tensor,
6837 scale_: f64,
6838 zero_point_: i64,
6839 quant_min_: i64,
6840 quant_max_: i64,
6841 );
6842 pub fn atg_fake_quantize_per_tensor_affine_tensor_qparams(
6843 out__: *mut *mut C_tensor,
6844 self_: *mut C_tensor,
6845 scale_: *mut C_tensor,
6846 zero_point_: *mut C_tensor,
6847 quant_min_: i64,
6848 quant_max_: i64,
6849 );
6850 pub fn atg_feature_alpha_dropout(
6851 out__: *mut *mut C_tensor,
6852 input_: *mut C_tensor,
6853 p_: f64,
6854 train_: c_int,
6855 );
6856 pub fn atg_feature_alpha_dropout_(
6857 out__: *mut *mut C_tensor,
6858 self_: *mut C_tensor,
6859 p_: f64,
6860 train_: c_int,
6861 );
6862 pub fn atg_feature_dropout(
6863 out__: *mut *mut C_tensor,
6864 input_: *mut C_tensor,
6865 p_: f64,
6866 train_: c_int,
6867 );
6868 pub fn atg_feature_dropout_(
6869 out__: *mut *mut C_tensor,
6870 self_: *mut C_tensor,
6871 p_: f64,
6872 train_: c_int,
6873 );
6874 pub fn atg_fft_fft(
6875 out__: *mut *mut C_tensor,
6876 self_: *mut C_tensor,
6877 n_v: i64,
6878 n_null: i8,
6879 dim_: i64,
6880 norm_ptr: *const u8,
6881 norm_len: c_int,
6882 );
6883 pub fn atg_fft_fft2(
6884 out__: *mut *mut C_tensor,
6885 self_: *mut C_tensor,
6886 s_data: *const i64,
6887 s_len: c_int,
6888 dim_data: *const i64,
6889 dim_len: c_int,
6890 norm_ptr: *const u8,
6891 norm_len: c_int,
6892 );
6893 pub fn atg_fft_fft2_out(
6894 out__: *mut *mut C_tensor,
6895 out_: *mut C_tensor,
6896 self_: *mut C_tensor,
6897 s_data: *const i64,
6898 s_len: c_int,
6899 dim_data: *const i64,
6900 dim_len: c_int,
6901 norm_ptr: *const u8,
6902 norm_len: c_int,
6903 );
6904 pub fn atg_fft_fft_out(
6905 out__: *mut *mut C_tensor,
6906 out_: *mut C_tensor,
6907 self_: *mut C_tensor,
6908 n_v: i64,
6909 n_null: i8,
6910 dim_: i64,
6911 norm_ptr: *const u8,
6912 norm_len: c_int,
6913 );
6914 pub fn atg_fft_fftfreq(
6915 out__: *mut *mut C_tensor,
6916 n_: i64,
6917 d_: f64,
6918 options_kind: c_int,
6919 options_device: c_int,
6920 );
6921 pub fn atg_fft_fftfreq_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, n_: i64, d_: f64);
6922 pub fn atg_fft_fftn(
6923 out__: *mut *mut C_tensor,
6924 self_: *mut C_tensor,
6925 s_data: *const i64,
6926 s_len: c_int,
6927 dim_data: *const i64,
6928 dim_len: c_int,
6929 norm_ptr: *const u8,
6930 norm_len: c_int,
6931 );
6932 pub fn atg_fft_fftn_out(
6933 out__: *mut *mut C_tensor,
6934 out_: *mut C_tensor,
6935 self_: *mut C_tensor,
6936 s_data: *const i64,
6937 s_len: c_int,
6938 dim_data: *const i64,
6939 dim_len: c_int,
6940 norm_ptr: *const u8,
6941 norm_len: c_int,
6942 );
6943 pub fn atg_fft_fftshift(
6944 out__: *mut *mut C_tensor,
6945 self_: *mut C_tensor,
6946 dim_data: *const i64,
6947 dim_len: c_int,
6948 );
6949 pub fn atg_fft_hfft(
6950 out__: *mut *mut C_tensor,
6951 self_: *mut C_tensor,
6952 n_v: i64,
6953 n_null: i8,
6954 dim_: i64,
6955 norm_ptr: *const u8,
6956 norm_len: c_int,
6957 );
6958 pub fn atg_fft_hfft2(
6959 out__: *mut *mut C_tensor,
6960 self_: *mut C_tensor,
6961 s_data: *const i64,
6962 s_len: c_int,
6963 dim_data: *const i64,
6964 dim_len: c_int,
6965 norm_ptr: *const u8,
6966 norm_len: c_int,
6967 );
6968 pub fn atg_fft_hfft2_out(
6969 out__: *mut *mut C_tensor,
6970 out_: *mut C_tensor,
6971 self_: *mut C_tensor,
6972 s_data: *const i64,
6973 s_len: c_int,
6974 dim_data: *const i64,
6975 dim_len: c_int,
6976 norm_ptr: *const u8,
6977 norm_len: c_int,
6978 );
6979 pub fn atg_fft_hfft_out(
6980 out__: *mut *mut C_tensor,
6981 out_: *mut C_tensor,
6982 self_: *mut C_tensor,
6983 n_v: i64,
6984 n_null: i8,
6985 dim_: i64,
6986 norm_ptr: *const u8,
6987 norm_len: c_int,
6988 );
6989 pub fn atg_fft_hfftn(
6990 out__: *mut *mut C_tensor,
6991 self_: *mut C_tensor,
6992 s_data: *const i64,
6993 s_len: c_int,
6994 dim_data: *const i64,
6995 dim_len: c_int,
6996 norm_ptr: *const u8,
6997 norm_len: c_int,
6998 );
6999 pub fn atg_fft_hfftn_out(
7000 out__: *mut *mut C_tensor,
7001 out_: *mut C_tensor,
7002 self_: *mut C_tensor,
7003 s_data: *const i64,
7004 s_len: c_int,
7005 dim_data: *const i64,
7006 dim_len: c_int,
7007 norm_ptr: *const u8,
7008 norm_len: c_int,
7009 );
7010 pub fn atg_fft_ifft(
7011 out__: *mut *mut C_tensor,
7012 self_: *mut C_tensor,
7013 n_v: i64,
7014 n_null: i8,
7015 dim_: i64,
7016 norm_ptr: *const u8,
7017 norm_len: c_int,
7018 );
7019 pub fn atg_fft_ifft2(
7020 out__: *mut *mut C_tensor,
7021 self_: *mut C_tensor,
7022 s_data: *const i64,
7023 s_len: c_int,
7024 dim_data: *const i64,
7025 dim_len: c_int,
7026 norm_ptr: *const u8,
7027 norm_len: c_int,
7028 );
7029 pub fn atg_fft_ifft2_out(
7030 out__: *mut *mut C_tensor,
7031 out_: *mut C_tensor,
7032 self_: *mut C_tensor,
7033 s_data: *const i64,
7034 s_len: c_int,
7035 dim_data: *const i64,
7036 dim_len: c_int,
7037 norm_ptr: *const u8,
7038 norm_len: c_int,
7039 );
7040 pub fn atg_fft_ifft_out(
7041 out__: *mut *mut C_tensor,
7042 out_: *mut C_tensor,
7043 self_: *mut C_tensor,
7044 n_v: i64,
7045 n_null: i8,
7046 dim_: i64,
7047 norm_ptr: *const u8,
7048 norm_len: c_int,
7049 );
7050 pub fn atg_fft_ifftn(
7051 out__: *mut *mut C_tensor,
7052 self_: *mut C_tensor,
7053 s_data: *const i64,
7054 s_len: c_int,
7055 dim_data: *const i64,
7056 dim_len: c_int,
7057 norm_ptr: *const u8,
7058 norm_len: c_int,
7059 );
7060 pub fn atg_fft_ifftn_out(
7061 out__: *mut *mut C_tensor,
7062 out_: *mut C_tensor,
7063 self_: *mut C_tensor,
7064 s_data: *const i64,
7065 s_len: c_int,
7066 dim_data: *const i64,
7067 dim_len: c_int,
7068 norm_ptr: *const u8,
7069 norm_len: c_int,
7070 );
7071 pub fn atg_fft_ifftshift(
7072 out__: *mut *mut C_tensor,
7073 self_: *mut C_tensor,
7074 dim_data: *const i64,
7075 dim_len: c_int,
7076 );
7077 pub fn atg_fft_ihfft(
7078 out__: *mut *mut C_tensor,
7079 self_: *mut C_tensor,
7080 n_v: i64,
7081 n_null: i8,
7082 dim_: i64,
7083 norm_ptr: *const u8,
7084 norm_len: c_int,
7085 );
7086 pub fn atg_fft_ihfft2(
7087 out__: *mut *mut C_tensor,
7088 self_: *mut C_tensor,
7089 s_data: *const i64,
7090 s_len: c_int,
7091 dim_data: *const i64,
7092 dim_len: c_int,
7093 norm_ptr: *const u8,
7094 norm_len: c_int,
7095 );
7096 pub fn atg_fft_ihfft2_out(
7097 out__: *mut *mut C_tensor,
7098 out_: *mut C_tensor,
7099 self_: *mut C_tensor,
7100 s_data: *const i64,
7101 s_len: c_int,
7102 dim_data: *const i64,
7103 dim_len: c_int,
7104 norm_ptr: *const u8,
7105 norm_len: c_int,
7106 );
7107 pub fn atg_fft_ihfft_out(
7108 out__: *mut *mut C_tensor,
7109 out_: *mut C_tensor,
7110 self_: *mut C_tensor,
7111 n_v: i64,
7112 n_null: i8,
7113 dim_: i64,
7114 norm_ptr: *const u8,
7115 norm_len: c_int,
7116 );
7117 pub fn atg_fft_ihfftn(
7118 out__: *mut *mut C_tensor,
7119 self_: *mut C_tensor,
7120 s_data: *const i64,
7121 s_len: c_int,
7122 dim_data: *const i64,
7123 dim_len: c_int,
7124 norm_ptr: *const u8,
7125 norm_len: c_int,
7126 );
7127 pub fn atg_fft_ihfftn_out(
7128 out__: *mut *mut C_tensor,
7129 out_: *mut C_tensor,
7130 self_: *mut C_tensor,
7131 s_data: *const i64,
7132 s_len: c_int,
7133 dim_data: *const i64,
7134 dim_len: c_int,
7135 norm_ptr: *const u8,
7136 norm_len: c_int,
7137 );
7138 pub fn atg_fft_irfft(
7139 out__: *mut *mut C_tensor,
7140 self_: *mut C_tensor,
7141 n_v: i64,
7142 n_null: i8,
7143 dim_: i64,
7144 norm_ptr: *const u8,
7145 norm_len: c_int,
7146 );
7147 pub fn atg_fft_irfft2(
7148 out__: *mut *mut C_tensor,
7149 self_: *mut C_tensor,
7150 s_data: *const i64,
7151 s_len: c_int,
7152 dim_data: *const i64,
7153 dim_len: c_int,
7154 norm_ptr: *const u8,
7155 norm_len: c_int,
7156 );
7157 pub fn atg_fft_irfft2_out(
7158 out__: *mut *mut C_tensor,
7159 out_: *mut C_tensor,
7160 self_: *mut C_tensor,
7161 s_data: *const i64,
7162 s_len: c_int,
7163 dim_data: *const i64,
7164 dim_len: c_int,
7165 norm_ptr: *const u8,
7166 norm_len: c_int,
7167 );
7168 pub fn atg_fft_irfft_out(
7169 out__: *mut *mut C_tensor,
7170 out_: *mut C_tensor,
7171 self_: *mut C_tensor,
7172 n_v: i64,
7173 n_null: i8,
7174 dim_: i64,
7175 norm_ptr: *const u8,
7176 norm_len: c_int,
7177 );
7178 pub fn atg_fft_irfftn(
7179 out__: *mut *mut C_tensor,
7180 self_: *mut C_tensor,
7181 s_data: *const i64,
7182 s_len: c_int,
7183 dim_data: *const i64,
7184 dim_len: c_int,
7185 norm_ptr: *const u8,
7186 norm_len: c_int,
7187 );
7188 pub fn atg_fft_irfftn_out(
7189 out__: *mut *mut C_tensor,
7190 out_: *mut C_tensor,
7191 self_: *mut C_tensor,
7192 s_data: *const i64,
7193 s_len: c_int,
7194 dim_data: *const i64,
7195 dim_len: c_int,
7196 norm_ptr: *const u8,
7197 norm_len: c_int,
7198 );
7199 pub fn atg_fft_rfft(
7200 out__: *mut *mut C_tensor,
7201 self_: *mut C_tensor,
7202 n_v: i64,
7203 n_null: i8,
7204 dim_: i64,
7205 norm_ptr: *const u8,
7206 norm_len: c_int,
7207 );
7208 pub fn atg_fft_rfft2(
7209 out__: *mut *mut C_tensor,
7210 self_: *mut C_tensor,
7211 s_data: *const i64,
7212 s_len: c_int,
7213 dim_data: *const i64,
7214 dim_len: c_int,
7215 norm_ptr: *const u8,
7216 norm_len: c_int,
7217 );
7218 pub fn atg_fft_rfft2_out(
7219 out__: *mut *mut C_tensor,
7220 out_: *mut C_tensor,
7221 self_: *mut C_tensor,
7222 s_data: *const i64,
7223 s_len: c_int,
7224 dim_data: *const i64,
7225 dim_len: c_int,
7226 norm_ptr: *const u8,
7227 norm_len: c_int,
7228 );
7229 pub fn atg_fft_rfft_out(
7230 out__: *mut *mut C_tensor,
7231 out_: *mut C_tensor,
7232 self_: *mut C_tensor,
7233 n_v: i64,
7234 n_null: i8,
7235 dim_: i64,
7236 norm_ptr: *const u8,
7237 norm_len: c_int,
7238 );
7239 pub fn atg_fft_rfftfreq(
7240 out__: *mut *mut C_tensor,
7241 n_: i64,
7242 d_: f64,
7243 options_kind: c_int,
7244 options_device: c_int,
7245 );
7246 pub fn atg_fft_rfftfreq_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, n_: i64, d_: f64);
7247 pub fn atg_fft_rfftn(
7248 out__: *mut *mut C_tensor,
7249 self_: *mut C_tensor,
7250 s_data: *const i64,
7251 s_len: c_int,
7252 dim_data: *const i64,
7253 dim_len: c_int,
7254 norm_ptr: *const u8,
7255 norm_len: c_int,
7256 );
7257 pub fn atg_fft_rfftn_out(
7258 out__: *mut *mut C_tensor,
7259 out_: *mut C_tensor,
7260 self_: *mut C_tensor,
7261 s_data: *const i64,
7262 s_len: c_int,
7263 dim_data: *const i64,
7264 dim_len: c_int,
7265 norm_ptr: *const u8,
7266 norm_len: c_int,
7267 );
7268 pub fn atg_fill(out__: *mut *mut C_tensor, self_: *mut C_tensor, value_: *mut C_scalar);
7269 pub fn atg_fill_(out__: *mut *mut C_tensor, self_: *mut C_tensor, value_: *mut C_scalar);
7270 pub fn atg_fill_diagonal_(
7271 out__: *mut *mut C_tensor,
7272 self_: *mut C_tensor,
7273 fill_value_: *mut C_scalar,
7274 wrap_: c_int,
7275 );
7276 pub fn atg_fill_scalar_out(
7277 out__: *mut *mut C_tensor,
7278 out_: *mut C_tensor,
7279 self_: *mut C_tensor,
7280 value_: *mut C_scalar,
7281 );
7282 pub fn atg_fill_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, value_: *mut C_tensor);
7283 pub fn atg_fill_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, value_: *mut C_tensor);
7284 pub fn atg_fill_tensor_out(
7285 out__: *mut *mut C_tensor,
7286 out_: *mut C_tensor,
7287 self_: *mut C_tensor,
7288 value_: *mut C_tensor,
7289 );
7290 pub fn atg_fix(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7291 pub fn atg_fix_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7292 pub fn atg_fix_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
7293 pub fn atg_flatten(
7294 out__: *mut *mut C_tensor,
7295 self_: *mut C_tensor,
7296 start_dim_: i64,
7297 end_dim_: i64,
7298 );
7299 pub fn atg_flatten_dense_tensors(
7300 out__: *mut *mut C_tensor,
7301 tensors_data: *const *mut C_tensor,
7302 tensors_len: c_int,
7303 );
7304 pub fn atg_flip(
7305 out__: *mut *mut C_tensor,
7306 self_: *mut C_tensor,
7307 dims_data: *const i64,
7308 dims_len: c_int,
7309 );
7310 pub fn atg_flip_out(
7311 out__: *mut *mut C_tensor,
7312 out_: *mut C_tensor,
7313 self_: *mut C_tensor,
7314 dims_data: *const i64,
7315 dims_len: c_int,
7316 );
7317 pub fn atg_fliplr(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7318 pub fn atg_flipud(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7319 pub fn atg_float_power(
7320 out__: *mut *mut C_tensor,
7321 self_: *mut C_tensor,
7322 exponent_: *mut C_tensor,
7323 );
7324 pub fn atg_float_power_(
7325 out__: *mut *mut C_tensor,
7326 self_: *mut C_tensor,
7327 exponent_: *mut C_scalar,
7328 );
7329 pub fn atg_float_power_scalar(
7330 out__: *mut *mut C_tensor,
7331 self_scalar_: *mut C_scalar,
7332 exponent_: *mut C_tensor,
7333 );
7334 pub fn atg_float_power_scalar_out(
7335 out__: *mut *mut C_tensor,
7336 out_: *mut C_tensor,
7337 self_scalar_: *mut C_scalar,
7338 exponent_: *mut C_tensor,
7339 );
7340 pub fn atg_float_power_tensor_(
7341 out__: *mut *mut C_tensor,
7342 self_: *mut C_tensor,
7343 exponent_: *mut C_tensor,
7344 );
7345 pub fn atg_float_power_tensor_scalar(
7346 out__: *mut *mut C_tensor,
7347 self_: *mut C_tensor,
7348 exponent_: *mut C_scalar,
7349 );
7350 pub fn atg_float_power_tensor_scalar_out(
7351 out__: *mut *mut C_tensor,
7352 out_: *mut C_tensor,
7353 self_: *mut C_tensor,
7354 exponent_: *mut C_scalar,
7355 );
7356 pub fn atg_float_power_tensor_tensor_out(
7357 out__: *mut *mut C_tensor,
7358 out_: *mut C_tensor,
7359 self_: *mut C_tensor,
7360 exponent_: *mut C_tensor,
7361 );
7362 pub fn atg_floor(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7363 pub fn atg_floor_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7364 pub fn atg_floor_divide(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7365 pub fn atg_floor_divide_(
7366 out__: *mut *mut C_tensor,
7367 self_: *mut C_tensor,
7368 other_: *mut C_tensor,
7369 );
7370 pub fn atg_floor_divide_out(
7371 out__: *mut *mut C_tensor,
7372 out_: *mut C_tensor,
7373 self_: *mut C_tensor,
7374 other_: *mut C_tensor,
7375 );
7376 pub fn atg_floor_divide_scalar(
7377 out__: *mut *mut C_tensor,
7378 self_: *mut C_tensor,
7379 other_: *mut C_scalar,
7380 );
7381 pub fn atg_floor_divide_scalar_(
7382 out__: *mut *mut C_tensor,
7383 self_: *mut C_tensor,
7384 other_: *mut C_scalar,
7385 );
7386 pub fn atg_floor_divide_scalar_out(
7387 out__: *mut *mut C_tensor,
7388 out_: *mut C_tensor,
7389 self_: *mut C_tensor,
7390 other_: *mut C_scalar,
7391 );
7392 pub fn atg_floor_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
7393 pub fn atg_fmax(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7394 pub fn atg_fmax_out(
7395 out__: *mut *mut C_tensor,
7396 out_: *mut C_tensor,
7397 self_: *mut C_tensor,
7398 other_: *mut C_tensor,
7399 );
7400 pub fn atg_fmin(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7401 pub fn atg_fmin_out(
7402 out__: *mut *mut C_tensor,
7403 out_: *mut C_tensor,
7404 self_: *mut C_tensor,
7405 other_: *mut C_tensor,
7406 );
7407 pub fn atg_fmod(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7408 pub fn atg_fmod_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7409 pub fn atg_fmod_scalar_out(
7410 out__: *mut *mut C_tensor,
7411 out_: *mut C_tensor,
7412 self_: *mut C_tensor,
7413 other_: *mut C_scalar,
7414 );
7415 pub fn atg_fmod_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7416 pub fn atg_fmod_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7417 pub fn atg_fmod_tensor_out(
7418 out__: *mut *mut C_tensor,
7419 out_: *mut C_tensor,
7420 self_: *mut C_tensor,
7421 other_: *mut C_tensor,
7422 );
7423 pub fn atg_frac(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7424 pub fn atg_frac_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7425 pub fn atg_frac_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
7426 pub fn atg_fractional_max_pool2d(
7427 out__: *mut *mut C_tensor,
7428 self_: *mut C_tensor,
7429 kernel_size_data: *const i64,
7430 kernel_size_len: c_int,
7431 output_size_data: *const i64,
7432 output_size_len: c_int,
7433 random_samples_: *mut C_tensor,
7434 );
7435 pub fn atg_fractional_max_pool2d_backward(
7436 out__: *mut *mut C_tensor,
7437 grad_output_: *mut C_tensor,
7438 self_: *mut C_tensor,
7439 kernel_size_data: *const i64,
7440 kernel_size_len: c_int,
7441 output_size_data: *const i64,
7442 output_size_len: c_int,
7443 indices_: *mut C_tensor,
7444 );
7445 pub fn atg_fractional_max_pool2d_backward_grad_input(
7446 out__: *mut *mut C_tensor,
7447 grad_input_: *mut C_tensor,
7448 grad_output_: *mut C_tensor,
7449 self_: *mut C_tensor,
7450 kernel_size_data: *const i64,
7451 kernel_size_len: c_int,
7452 output_size_data: *const i64,
7453 output_size_len: c_int,
7454 indices_: *mut C_tensor,
7455 );
7456 pub fn atg_fractional_max_pool2d_output(
7457 out__: *mut *mut C_tensor,
7458 output_: *mut C_tensor,
7459 indices_: *mut C_tensor,
7460 self_: *mut C_tensor,
7461 kernel_size_data: *const i64,
7462 kernel_size_len: c_int,
7463 output_size_data: *const i64,
7464 output_size_len: c_int,
7465 random_samples_: *mut C_tensor,
7466 );
7467 pub fn atg_fractional_max_pool3d(
7468 out__: *mut *mut C_tensor,
7469 self_: *mut C_tensor,
7470 kernel_size_data: *const i64,
7471 kernel_size_len: c_int,
7472 output_size_data: *const i64,
7473 output_size_len: c_int,
7474 random_samples_: *mut C_tensor,
7475 );
7476 pub fn atg_fractional_max_pool3d_backward(
7477 out__: *mut *mut C_tensor,
7478 grad_output_: *mut C_tensor,
7479 self_: *mut C_tensor,
7480 kernel_size_data: *const i64,
7481 kernel_size_len: c_int,
7482 output_size_data: *const i64,
7483 output_size_len: c_int,
7484 indices_: *mut C_tensor,
7485 );
7486 pub fn atg_fractional_max_pool3d_backward_grad_input(
7487 out__: *mut *mut C_tensor,
7488 grad_input_: *mut C_tensor,
7489 grad_output_: *mut C_tensor,
7490 self_: *mut C_tensor,
7491 kernel_size_data: *const i64,
7492 kernel_size_len: c_int,
7493 output_size_data: *const i64,
7494 output_size_len: c_int,
7495 indices_: *mut C_tensor,
7496 );
7497 pub fn atg_fractional_max_pool3d_output(
7498 out__: *mut *mut C_tensor,
7499 output_: *mut C_tensor,
7500 indices_: *mut C_tensor,
7501 self_: *mut C_tensor,
7502 kernel_size_data: *const i64,
7503 kernel_size_len: c_int,
7504 output_size_data: *const i64,
7505 output_size_len: c_int,
7506 random_samples_: *mut C_tensor,
7507 );
7508 pub fn atg_frexp(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7509 pub fn atg_frexp_tensor_out(
7510 out__: *mut *mut C_tensor,
7511 mantissa_: *mut C_tensor,
7512 exponent_: *mut C_tensor,
7513 self_: *mut C_tensor,
7514 );
7515 pub fn atg_frobenius_norm(
7516 out__: *mut *mut C_tensor,
7517 self_: *mut C_tensor,
7518 dim_data: *const i64,
7519 dim_len: c_int,
7520 keepdim_: c_int,
7521 );
7522 pub fn atg_frobenius_norm_out(
7523 out__: *mut *mut C_tensor,
7524 out_: *mut C_tensor,
7525 self_: *mut C_tensor,
7526 dim_data: *const i64,
7527 dim_len: c_int,
7528 keepdim_: c_int,
7529 );
7530 pub fn atg_from_file(
7531 out__: *mut *mut C_tensor,
7532 filename_ptr: *const u8,
7533 filename_len: c_int,
7534 shared_: c_int,
7535 size_v: i64,
7536 size_null: i8,
7537 options_kind: c_int,
7538 options_device: c_int,
7539 );
7540 pub fn atg_from_file_out(
7541 out__: *mut *mut C_tensor,
7542 out_: *mut C_tensor,
7543 filename_ptr: *const u8,
7544 filename_len: c_int,
7545 shared_: c_int,
7546 size_v: i64,
7547 size_null: i8,
7548 );
7549 pub fn atg_full(
7550 out__: *mut *mut C_tensor,
7551 size_data: *const i64,
7552 size_len: c_int,
7553 fill_value_: *mut C_scalar,
7554 options_kind: c_int,
7555 options_device: c_int,
7556 );
7557 pub fn atg_full_like(
7558 out__: *mut *mut C_tensor,
7559 self_: *mut C_tensor,
7560 fill_value_: *mut C_scalar,
7561 );
7562 pub fn atg_full_like_out(
7563 out__: *mut *mut C_tensor,
7564 out_: *mut C_tensor,
7565 self_: *mut C_tensor,
7566 fill_value_: *mut C_scalar,
7567 );
7568 pub fn atg_full_out(
7569 out__: *mut *mut C_tensor,
7570 out_: *mut C_tensor,
7571 size_data: *const i64,
7572 size_len: c_int,
7573 fill_value_: *mut C_scalar,
7574 );
7575 pub fn atg_fused_moving_avg_obs_fake_quant(
7576 out__: *mut *mut C_tensor,
7577 self_: *mut C_tensor,
7578 observer_on_: *mut C_tensor,
7579 fake_quant_on_: *mut C_tensor,
7580 running_min_: *mut C_tensor,
7581 running_max_: *mut C_tensor,
7582 scale_: *mut C_tensor,
7583 zero_point_: *mut C_tensor,
7584 averaging_const_: f64,
7585 quant_min_: i64,
7586 quant_max_: i64,
7587 ch_axis_: i64,
7588 per_row_fake_quant_: c_int,
7589 symmetric_quant_: c_int,
7590 );
7591 pub fn atg_gather(
7592 out__: *mut *mut C_tensor,
7593 self_: *mut C_tensor,
7594 dim_: i64,
7595 index_: *mut C_tensor,
7596 sparse_grad_: c_int,
7597 );
7598 pub fn atg_gather_backward(
7599 out__: *mut *mut C_tensor,
7600 grad_: *mut C_tensor,
7601 self_: *mut C_tensor,
7602 dim_: i64,
7603 index_: *mut C_tensor,
7604 sparse_grad_: c_int,
7605 );
7606 pub fn atg_gather_out(
7607 out__: *mut *mut C_tensor,
7608 out_: *mut C_tensor,
7609 self_: *mut C_tensor,
7610 dim_: i64,
7611 index_: *mut C_tensor,
7612 sparse_grad_: c_int,
7613 );
7614 pub fn atg_gcd(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7615 pub fn atg_gcd_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7616 pub fn atg_gcd_out(
7617 out__: *mut *mut C_tensor,
7618 out_: *mut C_tensor,
7619 self_: *mut C_tensor,
7620 other_: *mut C_tensor,
7621 );
7622 pub fn atg_ge(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7623 pub fn atg_ge_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7624 pub fn atg_ge_scalar_out(
7625 out__: *mut *mut C_tensor,
7626 out_: *mut C_tensor,
7627 self_: *mut C_tensor,
7628 other_: *mut C_scalar,
7629 );
7630 pub fn atg_ge_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7631 pub fn atg_ge_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7632 pub fn atg_ge_tensor_out(
7633 out__: *mut *mut C_tensor,
7634 out_: *mut C_tensor,
7635 self_: *mut C_tensor,
7636 other_: *mut C_tensor,
7637 );
7638 pub fn atg_gelu(
7639 out__: *mut *mut C_tensor,
7640 self_: *mut C_tensor,
7641 approximate_ptr: *const u8,
7642 approximate_len: c_int,
7643 );
7644 pub fn atg_gelu_(
7645 out__: *mut *mut C_tensor,
7646 self_: *mut C_tensor,
7647 approximate_ptr: *const u8,
7648 approximate_len: c_int,
7649 );
7650 pub fn atg_gelu_backward(
7651 out__: *mut *mut C_tensor,
7652 grad_output_: *mut C_tensor,
7653 self_: *mut C_tensor,
7654 approximate_ptr: *const u8,
7655 approximate_len: c_int,
7656 );
7657 pub fn atg_gelu_backward_grad_input(
7658 out__: *mut *mut C_tensor,
7659 grad_input_: *mut C_tensor,
7660 grad_output_: *mut C_tensor,
7661 self_: *mut C_tensor,
7662 approximate_ptr: *const u8,
7663 approximate_len: c_int,
7664 );
7665 pub fn atg_gelu_out(
7666 out__: *mut *mut C_tensor,
7667 out_: *mut C_tensor,
7668 self_: *mut C_tensor,
7669 approximate_ptr: *const u8,
7670 approximate_len: c_int,
7671 );
7672 pub fn atg_geometric(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
7673 pub fn atg_geometric_(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
7674 pub fn atg_geometric_out(
7675 out__: *mut *mut C_tensor,
7676 out_: *mut C_tensor,
7677 self_: *mut C_tensor,
7678 p_: f64,
7679 );
7680 pub fn atg_geqrf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7681 pub fn atg_geqrf_a(
7682 out__: *mut *mut C_tensor,
7683 a_: *mut C_tensor,
7684 tau_: *mut C_tensor,
7685 self_: *mut C_tensor,
7686 );
7687 pub fn atg_ger(out__: *mut *mut C_tensor, self_: *mut C_tensor, vec2_: *mut C_tensor);
7688 pub fn atg_ger_out(
7689 out__: *mut *mut C_tensor,
7690 out_: *mut C_tensor,
7691 self_: *mut C_tensor,
7692 vec2_: *mut C_tensor,
7693 );
7694 pub fn atg_glu(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
7695 pub fn atg_glu_backward(
7696 out__: *mut *mut C_tensor,
7697 grad_output_: *mut C_tensor,
7698 self_: *mut C_tensor,
7699 dim_: i64,
7700 );
7701 pub fn atg_glu_backward_grad_input(
7702 out__: *mut *mut C_tensor,
7703 grad_input_: *mut C_tensor,
7704 grad_output_: *mut C_tensor,
7705 self_: *mut C_tensor,
7706 dim_: i64,
7707 );
7708 pub fn atg_glu_backward_jvp(
7709 out__: *mut *mut C_tensor,
7710 grad_x_: *mut C_tensor,
7711 grad_glu_: *mut C_tensor,
7712 x_: *mut C_tensor,
7713 dgrad_glu_: *mut C_tensor,
7714 dx_: *mut C_tensor,
7715 dim_: i64,
7716 );
7717 pub fn atg_glu_backward_jvp_out(
7718 out__: *mut *mut C_tensor,
7719 out_: *mut C_tensor,
7720 grad_x_: *mut C_tensor,
7721 grad_glu_: *mut C_tensor,
7722 x_: *mut C_tensor,
7723 dgrad_glu_: *mut C_tensor,
7724 dx_: *mut C_tensor,
7725 dim_: i64,
7726 );
7727 pub fn atg_glu_jvp(
7728 out__: *mut *mut C_tensor,
7729 glu_: *mut C_tensor,
7730 x_: *mut C_tensor,
7731 dx_: *mut C_tensor,
7732 dim_: i64,
7733 );
7734 pub fn atg_glu_jvp_out(
7735 out__: *mut *mut C_tensor,
7736 out_: *mut C_tensor,
7737 glu_: *mut C_tensor,
7738 x_: *mut C_tensor,
7739 dx_: *mut C_tensor,
7740 dim_: i64,
7741 );
7742 pub fn atg_glu_out(
7743 out__: *mut *mut C_tensor,
7744 out_: *mut C_tensor,
7745 self_: *mut C_tensor,
7746 dim_: i64,
7747 );
7748 pub fn atg_grad(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7749 pub fn atg_greater(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7750 pub fn atg_greater_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7751 pub fn atg_greater_equal(
7752 out__: *mut *mut C_tensor,
7753 self_: *mut C_tensor,
7754 other_: *mut C_scalar,
7755 );
7756 pub fn atg_greater_equal_(
7757 out__: *mut *mut C_tensor,
7758 self_: *mut C_tensor,
7759 other_: *mut C_scalar,
7760 );
7761 pub fn atg_greater_equal_scalar_out(
7762 out__: *mut *mut C_tensor,
7763 out_: *mut C_tensor,
7764 self_: *mut C_tensor,
7765 other_: *mut C_scalar,
7766 );
7767 pub fn atg_greater_equal_tensor(
7768 out__: *mut *mut C_tensor,
7769 self_: *mut C_tensor,
7770 other_: *mut C_tensor,
7771 );
7772 pub fn atg_greater_equal_tensor_(
7773 out__: *mut *mut C_tensor,
7774 self_: *mut C_tensor,
7775 other_: *mut C_tensor,
7776 );
7777 pub fn atg_greater_equal_tensor_out(
7778 out__: *mut *mut C_tensor,
7779 out_: *mut C_tensor,
7780 self_: *mut C_tensor,
7781 other_: *mut C_tensor,
7782 );
7783 pub fn atg_greater_scalar_out(
7784 out__: *mut *mut C_tensor,
7785 out_: *mut C_tensor,
7786 self_: *mut C_tensor,
7787 other_: *mut C_scalar,
7788 );
7789 pub fn atg_greater_tensor(
7790 out__: *mut *mut C_tensor,
7791 self_: *mut C_tensor,
7792 other_: *mut C_tensor,
7793 );
7794 pub fn atg_greater_tensor_(
7795 out__: *mut *mut C_tensor,
7796 self_: *mut C_tensor,
7797 other_: *mut C_tensor,
7798 );
7799 pub fn atg_greater_tensor_out(
7800 out__: *mut *mut C_tensor,
7801 out_: *mut C_tensor,
7802 self_: *mut C_tensor,
7803 other_: *mut C_tensor,
7804 );
7805 pub fn atg_grid_sampler(
7806 out__: *mut *mut C_tensor,
7807 input_: *mut C_tensor,
7808 grid_: *mut C_tensor,
7809 interpolation_mode_: i64,
7810 padding_mode_: i64,
7811 align_corners_: c_int,
7812 );
7813 pub fn atg_grid_sampler_2d(
7814 out__: *mut *mut C_tensor,
7815 input_: *mut C_tensor,
7816 grid_: *mut C_tensor,
7817 interpolation_mode_: i64,
7818 padding_mode_: i64,
7819 align_corners_: c_int,
7820 );
7821 pub fn atg_grid_sampler_2d_out(
7822 out__: *mut *mut C_tensor,
7823 out_: *mut C_tensor,
7824 input_: *mut C_tensor,
7825 grid_: *mut C_tensor,
7826 interpolation_mode_: i64,
7827 padding_mode_: i64,
7828 align_corners_: c_int,
7829 );
7830 pub fn atg_grid_sampler_3d(
7831 out__: *mut *mut C_tensor,
7832 input_: *mut C_tensor,
7833 grid_: *mut C_tensor,
7834 interpolation_mode_: i64,
7835 padding_mode_: i64,
7836 align_corners_: c_int,
7837 );
7838 pub fn atg_grid_sampler_3d_out(
7839 out__: *mut *mut C_tensor,
7840 out_: *mut C_tensor,
7841 input_: *mut C_tensor,
7842 grid_: *mut C_tensor,
7843 interpolation_mode_: i64,
7844 padding_mode_: i64,
7845 align_corners_: c_int,
7846 );
7847 pub fn atg_group_norm(
7848 out__: *mut *mut C_tensor,
7849 input_: *mut C_tensor,
7850 num_groups_: i64,
7851 weight_: *mut C_tensor,
7852 bias_: *mut C_tensor,
7853 eps_: f64,
7854 cudnn_enabled_: c_int,
7855 );
7856 pub fn atg_gru(
7857 out__: *mut *mut C_tensor,
7858 input_: *mut C_tensor,
7859 hx_: *mut C_tensor,
7860 params_data: *const *mut C_tensor,
7861 params_len: c_int,
7862 has_biases_: c_int,
7863 num_layers_: i64,
7864 dropout_: f64,
7865 train_: c_int,
7866 bidirectional_: c_int,
7867 batch_first_: c_int,
7868 );
7869 pub fn atg_gru_cell(
7870 out__: *mut *mut C_tensor,
7871 input_: *mut C_tensor,
7872 hx_: *mut C_tensor,
7873 w_ih_: *mut C_tensor,
7874 w_hh_: *mut C_tensor,
7875 b_ih_: *mut C_tensor,
7876 b_hh_: *mut C_tensor,
7877 );
7878 pub fn atg_gru_data(
7879 out__: *mut *mut C_tensor,
7880 data_: *mut C_tensor,
7881 batch_sizes_: *mut C_tensor,
7882 hx_: *mut C_tensor,
7883 params_data: *const *mut C_tensor,
7884 params_len: c_int,
7885 has_biases_: c_int,
7886 num_layers_: i64,
7887 dropout_: f64,
7888 train_: c_int,
7889 bidirectional_: c_int,
7890 );
7891 pub fn atg_gt(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7892 pub fn atg_gt_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
7893 pub fn atg_gt_scalar_out(
7894 out__: *mut *mut C_tensor,
7895 out_: *mut C_tensor,
7896 self_: *mut C_tensor,
7897 other_: *mut C_scalar,
7898 );
7899 pub fn atg_gt_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7900 pub fn atg_gt_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
7901 pub fn atg_gt_tensor_out(
7902 out__: *mut *mut C_tensor,
7903 out_: *mut C_tensor,
7904 self_: *mut C_tensor,
7905 other_: *mut C_tensor,
7906 );
7907 pub fn atg_hamming_window(
7908 out__: *mut *mut C_tensor,
7909 window_length_: i64,
7910 options_kind: c_int,
7911 options_device: c_int,
7912 );
7913 pub fn atg_hamming_window_out(
7914 out__: *mut *mut C_tensor,
7915 out_: *mut C_tensor,
7916 window_length_: i64,
7917 );
7918 pub fn atg_hamming_window_periodic(
7919 out__: *mut *mut C_tensor,
7920 window_length_: i64,
7921 periodic_: c_int,
7922 options_kind: c_int,
7923 options_device: c_int,
7924 );
7925 pub fn atg_hamming_window_periodic_alpha(
7926 out__: *mut *mut C_tensor,
7927 window_length_: i64,
7928 periodic_: c_int,
7929 alpha_: f64,
7930 options_kind: c_int,
7931 options_device: c_int,
7932 );
7933 pub fn atg_hamming_window_periodic_alpha_beta(
7934 out__: *mut *mut C_tensor,
7935 window_length_: i64,
7936 periodic_: c_int,
7937 alpha_: f64,
7938 beta_: f64,
7939 options_kind: c_int,
7940 options_device: c_int,
7941 );
7942 pub fn atg_hamming_window_periodic_alpha_beta_out(
7943 out__: *mut *mut C_tensor,
7944 out_: *mut C_tensor,
7945 window_length_: i64,
7946 periodic_: c_int,
7947 alpha_: f64,
7948 beta_: f64,
7949 );
7950 pub fn atg_hamming_window_periodic_alpha_out(
7951 out__: *mut *mut C_tensor,
7952 out_: *mut C_tensor,
7953 window_length_: i64,
7954 periodic_: c_int,
7955 alpha_: f64,
7956 );
7957 pub fn atg_hamming_window_periodic_out(
7958 out__: *mut *mut C_tensor,
7959 out_: *mut C_tensor,
7960 window_length_: i64,
7961 periodic_: c_int,
7962 );
7963 pub fn atg_hann_window(
7964 out__: *mut *mut C_tensor,
7965 window_length_: i64,
7966 options_kind: c_int,
7967 options_device: c_int,
7968 );
7969 pub fn atg_hann_window_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, window_length_: i64);
7970 pub fn atg_hann_window_periodic(
7971 out__: *mut *mut C_tensor,
7972 window_length_: i64,
7973 periodic_: c_int,
7974 options_kind: c_int,
7975 options_device: c_int,
7976 );
7977 pub fn atg_hann_window_periodic_out(
7978 out__: *mut *mut C_tensor,
7979 out_: *mut C_tensor,
7980 window_length_: i64,
7981 periodic_: c_int,
7982 );
7983 pub fn atg_hardshrink(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7984 pub fn atg_hardshrink_backward(
7985 out__: *mut *mut C_tensor,
7986 grad_out_: *mut C_tensor,
7987 self_: *mut C_tensor,
7988 lambd_: *mut C_scalar,
7989 );
7990 pub fn atg_hardshrink_backward_grad_input(
7991 out__: *mut *mut C_tensor,
7992 grad_input_: *mut C_tensor,
7993 grad_out_: *mut C_tensor,
7994 self_: *mut C_tensor,
7995 lambd_: *mut C_scalar,
7996 );
7997 pub fn atg_hardshrink_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
7998 pub fn atg_hardsigmoid(out__: *mut *mut C_tensor, self_: *mut C_tensor);
7999 pub fn atg_hardsigmoid_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8000 pub fn atg_hardsigmoid_backward(
8001 out__: *mut *mut C_tensor,
8002 grad_output_: *mut C_tensor,
8003 self_: *mut C_tensor,
8004 );
8005 pub fn atg_hardsigmoid_backward_grad_input(
8006 out__: *mut *mut C_tensor,
8007 grad_input_: *mut C_tensor,
8008 grad_output_: *mut C_tensor,
8009 self_: *mut C_tensor,
8010 );
8011 pub fn atg_hardsigmoid_out(
8012 out__: *mut *mut C_tensor,
8013 out_: *mut C_tensor,
8014 self_: *mut C_tensor,
8015 );
8016 pub fn atg_hardswish(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8017 pub fn atg_hardswish_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8018 pub fn atg_hardswish_backward(
8019 out__: *mut *mut C_tensor,
8020 grad_output_: *mut C_tensor,
8021 self_: *mut C_tensor,
8022 );
8023 pub fn atg_hardswish_backward_out(
8024 out__: *mut *mut C_tensor,
8025 out_: *mut C_tensor,
8026 grad_output_: *mut C_tensor,
8027 self_: *mut C_tensor,
8028 );
8029 pub fn atg_hardswish_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8030 pub fn atg_hardtanh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8031 pub fn atg_hardtanh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8032 pub fn atg_hardtanh_backward(
8033 out__: *mut *mut C_tensor,
8034 grad_output_: *mut C_tensor,
8035 self_: *mut C_tensor,
8036 min_val_: *mut C_scalar,
8037 max_val_: *mut C_scalar,
8038 );
8039 pub fn atg_hardtanh_backward_grad_input(
8040 out__: *mut *mut C_tensor,
8041 grad_input_: *mut C_tensor,
8042 grad_output_: *mut C_tensor,
8043 self_: *mut C_tensor,
8044 min_val_: *mut C_scalar,
8045 max_val_: *mut C_scalar,
8046 );
8047 pub fn atg_hardtanh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8048 pub fn atg_hash_tensor(
8049 out__: *mut *mut C_tensor,
8050 self_: *mut C_tensor,
8051 dim_data: *const i64,
8052 dim_len: c_int,
8053 keepdim_: c_int,
8054 mode_: i64,
8055 );
8056 pub fn atg_hash_tensor_out(
8057 out__: *mut *mut C_tensor,
8058 out_: *mut C_tensor,
8059 self_: *mut C_tensor,
8060 dim_data: *const i64,
8061 dim_len: c_int,
8062 keepdim_: c_int,
8063 mode_: i64,
8064 );
8065 pub fn atg_heaviside(out__: *mut *mut C_tensor, self_: *mut C_tensor, values_: *mut C_tensor);
8066 pub fn atg_heaviside_(out__: *mut *mut C_tensor, self_: *mut C_tensor, values_: *mut C_tensor);
8067 pub fn atg_heaviside_out(
8068 out__: *mut *mut C_tensor,
8069 out_: *mut C_tensor,
8070 self_: *mut C_tensor,
8071 values_: *mut C_tensor,
8072 );
8073 pub fn atg_hinge_embedding_loss(
8074 out__: *mut *mut C_tensor,
8075 self_: *mut C_tensor,
8076 target_: *mut C_tensor,
8077 margin_: f64,
8078 reduction_: i64,
8079 );
8080 pub fn atg_histc(out__: *mut *mut C_tensor, self_: *mut C_tensor, bins_: i64);
8081 pub fn atg_histc_out(
8082 out__: *mut *mut C_tensor,
8083 out_: *mut C_tensor,
8084 self_: *mut C_tensor,
8085 bins_: i64,
8086 );
8087 pub fn atg_histogram(
8088 out__: *mut *mut C_tensor,
8089 self_: *mut C_tensor,
8090 bins_: *mut C_tensor,
8091 weight_: *mut C_tensor,
8092 density_: c_int,
8093 );
8094 pub fn atg_histogram_bin_ct(
8095 out__: *mut *mut C_tensor,
8096 self_: *mut C_tensor,
8097 bins_: i64,
8098 range_data: *const f64,
8099 range_len: c_int,
8100 weight_: *mut C_tensor,
8101 density_: c_int,
8102 );
8103 pub fn atg_histogram_bin_ct_out(
8104 out__: *mut *mut C_tensor,
8105 hist_: *mut C_tensor,
8106 bin_edges_: *mut C_tensor,
8107 self_: *mut C_tensor,
8108 bins_: i64,
8109 range_data: *const f64,
8110 range_len: c_int,
8111 weight_: *mut C_tensor,
8112 density_: c_int,
8113 );
8114 pub fn atg_histogram_bins_tensor_out(
8115 out__: *mut *mut C_tensor,
8116 hist_: *mut C_tensor,
8117 bin_edges_: *mut C_tensor,
8118 self_: *mut C_tensor,
8119 bins_: *mut C_tensor,
8120 weight_: *mut C_tensor,
8121 density_: c_int,
8122 );
8123 pub fn atg_hsplit(self_: *mut C_tensor, sections_: i64) -> *mut *mut C_tensor;
8124 pub fn atg_hsplit_array(
8125 self_: *mut C_tensor,
8126 indices_data: *const i64,
8127 indices_len: c_int,
8128 ) -> *mut *mut C_tensor;
8129 pub fn atg_hspmm(out__: *mut *mut C_tensor, mat1_: *mut C_tensor, mat2_: *mut C_tensor);
8130 pub fn atg_hspmm_out(
8131 out__: *mut *mut C_tensor,
8132 out_: *mut C_tensor,
8133 mat1_: *mut C_tensor,
8134 mat2_: *mut C_tensor,
8135 );
8136 pub fn atg_hstack(
8137 out__: *mut *mut C_tensor,
8138 tensors_data: *const *mut C_tensor,
8139 tensors_len: c_int,
8140 );
8141 pub fn atg_hstack_out(
8142 out__: *mut *mut C_tensor,
8143 out_: *mut C_tensor,
8144 tensors_data: *const *mut C_tensor,
8145 tensors_len: c_int,
8146 );
8147 pub fn atg_huber_loss(
8148 out__: *mut *mut C_tensor,
8149 self_: *mut C_tensor,
8150 target_: *mut C_tensor,
8151 reduction_: i64,
8152 delta_: f64,
8153 );
8154 pub fn atg_huber_loss_backward(
8155 out__: *mut *mut C_tensor,
8156 grad_output_: *mut C_tensor,
8157 self_: *mut C_tensor,
8158 target_: *mut C_tensor,
8159 reduction_: i64,
8160 delta_: f64,
8161 );
8162 pub fn atg_huber_loss_backward_out(
8163 out__: *mut *mut C_tensor,
8164 grad_input_: *mut C_tensor,
8165 grad_output_: *mut C_tensor,
8166 self_: *mut C_tensor,
8167 target_: *mut C_tensor,
8168 reduction_: i64,
8169 delta_: f64,
8170 );
8171 pub fn atg_huber_loss_out(
8172 out__: *mut *mut C_tensor,
8173 out_: *mut C_tensor,
8174 self_: *mut C_tensor,
8175 target_: *mut C_tensor,
8176 reduction_: i64,
8177 delta_: f64,
8178 );
8179 pub fn atg_hypot(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8180 pub fn atg_hypot_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8181 pub fn atg_hypot_out(
8182 out__: *mut *mut C_tensor,
8183 out_: *mut C_tensor,
8184 self_: *mut C_tensor,
8185 other_: *mut C_tensor,
8186 );
8187 pub fn atg_i0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8188 pub fn atg_i0_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8189 pub fn atg_i0_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8190 pub fn atg_igamma(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8191 pub fn atg_igamma_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8192 pub fn atg_igamma_out(
8193 out__: *mut *mut C_tensor,
8194 out_: *mut C_tensor,
8195 self_: *mut C_tensor,
8196 other_: *mut C_tensor,
8197 );
8198 pub fn atg_igammac(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8199 pub fn atg_igammac_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8200 pub fn atg_igammac_out(
8201 out__: *mut *mut C_tensor,
8202 out_: *mut C_tensor,
8203 self_: *mut C_tensor,
8204 other_: *mut C_tensor,
8205 );
8206 pub fn atg_im2col(
8207 out__: *mut *mut C_tensor,
8208 self_: *mut C_tensor,
8209 kernel_size_data: *const i64,
8210 kernel_size_len: c_int,
8211 dilation_data: *const i64,
8212 dilation_len: c_int,
8213 padding_data: *const i64,
8214 padding_len: c_int,
8215 stride_data: *const i64,
8216 stride_len: c_int,
8217 );
8218 pub fn atg_im2col_out(
8219 out__: *mut *mut C_tensor,
8220 out_: *mut C_tensor,
8221 self_: *mut C_tensor,
8222 kernel_size_data: *const i64,
8223 kernel_size_len: c_int,
8224 dilation_data: *const i64,
8225 dilation_len: c_int,
8226 padding_data: *const i64,
8227 padding_len: c_int,
8228 stride_data: *const i64,
8229 stride_len: c_int,
8230 );
8231 pub fn atg_imag(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8232 pub fn atg_index(
8233 out__: *mut *mut C_tensor,
8234 self_: *mut C_tensor,
8235 indices_data: *const *mut C_tensor,
8236 indices_len: c_int,
8237 );
8238 pub fn atg_index_add(
8239 out__: *mut *mut C_tensor,
8240 self_: *mut C_tensor,
8241 dim_: i64,
8242 index_: *mut C_tensor,
8243 source_: *mut C_tensor,
8244 );
8245 pub fn atg_index_add_(
8246 out__: *mut *mut C_tensor,
8247 self_: *mut C_tensor,
8248 dim_: i64,
8249 index_: *mut C_tensor,
8250 source_: *mut C_tensor,
8251 );
8252 pub fn atg_index_add_out(
8253 out__: *mut *mut C_tensor,
8254 out_: *mut C_tensor,
8255 self_: *mut C_tensor,
8256 dim_: i64,
8257 index_: *mut C_tensor,
8258 source_: *mut C_tensor,
8259 );
8260 pub fn atg_index_copy(
8261 out__: *mut *mut C_tensor,
8262 self_: *mut C_tensor,
8263 dim_: i64,
8264 index_: *mut C_tensor,
8265 source_: *mut C_tensor,
8266 );
8267 pub fn atg_index_copy_(
8268 out__: *mut *mut C_tensor,
8269 self_: *mut C_tensor,
8270 dim_: i64,
8271 index_: *mut C_tensor,
8272 source_: *mut C_tensor,
8273 );
8274 pub fn atg_index_copy_out(
8275 out__: *mut *mut C_tensor,
8276 out_: *mut C_tensor,
8277 self_: *mut C_tensor,
8278 dim_: i64,
8279 index_: *mut C_tensor,
8280 source_: *mut C_tensor,
8281 );
8282 pub fn atg_index_fill(
8283 out__: *mut *mut C_tensor,
8284 self_: *mut C_tensor,
8285 dim_: i64,
8286 index_: *mut C_tensor,
8287 value_: *mut C_scalar,
8288 );
8289 pub fn atg_index_fill_(
8290 out__: *mut *mut C_tensor,
8291 self_: *mut C_tensor,
8292 dim_: i64,
8293 index_: *mut C_tensor,
8294 value_: *mut C_scalar,
8295 );
8296 pub fn atg_index_fill_int_scalar_out(
8297 out__: *mut *mut C_tensor,
8298 out_: *mut C_tensor,
8299 self_: *mut C_tensor,
8300 dim_: i64,
8301 index_: *mut C_tensor,
8302 value_: *mut C_scalar,
8303 );
8304 pub fn atg_index_fill_int_tensor(
8305 out__: *mut *mut C_tensor,
8306 self_: *mut C_tensor,
8307 dim_: i64,
8308 index_: *mut C_tensor,
8309 value_: *mut C_tensor,
8310 );
8311 pub fn atg_index_fill_int_tensor_(
8312 out__: *mut *mut C_tensor,
8313 self_: *mut C_tensor,
8314 dim_: i64,
8315 index_: *mut C_tensor,
8316 value_: *mut C_tensor,
8317 );
8318 pub fn atg_index_fill_int_tensor_out(
8319 out__: *mut *mut C_tensor,
8320 out_: *mut C_tensor,
8321 self_: *mut C_tensor,
8322 dim_: i64,
8323 index_: *mut C_tensor,
8324 value_: *mut C_tensor,
8325 );
8326 pub fn atg_index_put(
8327 out__: *mut *mut C_tensor,
8328 self_: *mut C_tensor,
8329 indices_data: *const *mut C_tensor,
8330 indices_len: c_int,
8331 values_: *mut C_tensor,
8332 accumulate_: c_int,
8333 );
8334 pub fn atg_index_put_(
8335 out__: *mut *mut C_tensor,
8336 self_: *mut C_tensor,
8337 indices_data: *const *mut C_tensor,
8338 indices_len: c_int,
8339 values_: *mut C_tensor,
8340 accumulate_: c_int,
8341 );
8342 pub fn atg_index_put_out(
8343 out__: *mut *mut C_tensor,
8344 out_: *mut C_tensor,
8345 self_: *mut C_tensor,
8346 indices_data: *const *mut C_tensor,
8347 indices_len: c_int,
8348 values_: *mut C_tensor,
8349 accumulate_: c_int,
8350 );
8351 pub fn atg_index_reduce(
8352 out__: *mut *mut C_tensor,
8353 self_: *mut C_tensor,
8354 dim_: i64,
8355 index_: *mut C_tensor,
8356 source_: *mut C_tensor,
8357 reduce_ptr: *const u8,
8358 reduce_len: c_int,
8359 include_self_: c_int,
8360 );
8361 pub fn atg_index_reduce_(
8362 out__: *mut *mut C_tensor,
8363 self_: *mut C_tensor,
8364 dim_: i64,
8365 index_: *mut C_tensor,
8366 source_: *mut C_tensor,
8367 reduce_ptr: *const u8,
8368 reduce_len: c_int,
8369 include_self_: c_int,
8370 );
8371 pub fn atg_index_reduce_out(
8372 out__: *mut *mut C_tensor,
8373 out_: *mut C_tensor,
8374 self_: *mut C_tensor,
8375 dim_: i64,
8376 index_: *mut C_tensor,
8377 source_: *mut C_tensor,
8378 reduce_ptr: *const u8,
8379 reduce_len: c_int,
8380 include_self_: c_int,
8381 );
8382 pub fn atg_index_select(
8383 out__: *mut *mut C_tensor,
8384 self_: *mut C_tensor,
8385 dim_: i64,
8386 index_: *mut C_tensor,
8387 );
8388 pub fn atg_index_select_backward(
8389 out__: *mut *mut C_tensor,
8390 grad_: *mut C_tensor,
8391 self_sizes_data: *const i64,
8392 self_sizes_len: c_int,
8393 dim_: i64,
8394 index_: *mut C_tensor,
8395 );
8396 pub fn atg_index_select_out(
8397 out__: *mut *mut C_tensor,
8398 out_: *mut C_tensor,
8399 self_: *mut C_tensor,
8400 dim_: i64,
8401 index_: *mut C_tensor,
8402 );
8403 pub fn atg_index_tensor_out(
8404 out__: *mut *mut C_tensor,
8405 out_: *mut C_tensor,
8406 self_: *mut C_tensor,
8407 indices_data: *const *mut C_tensor,
8408 indices_len: c_int,
8409 );
8410 pub fn atg_indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8411 pub fn atg_indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8412 pub fn atg_indices_copy_out(
8413 out__: *mut *mut C_tensor,
8414 out_: *mut C_tensor,
8415 self_: *mut C_tensor,
8416 );
8417 pub fn atg_infinitely_differentiable_gelu_backward(
8418 out__: *mut *mut C_tensor,
8419 grad_: *mut C_tensor,
8420 self_: *mut C_tensor,
8421 );
8422 pub fn atg_inner(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8423 pub fn atg_inner_out(
8424 out__: *mut *mut C_tensor,
8425 out_: *mut C_tensor,
8426 self_: *mut C_tensor,
8427 other_: *mut C_tensor,
8428 );
8429 pub fn atg_instance_norm(
8430 out__: *mut *mut C_tensor,
8431 input_: *mut C_tensor,
8432 weight_: *mut C_tensor,
8433 bias_: *mut C_tensor,
8434 running_mean_: *mut C_tensor,
8435 running_var_: *mut C_tensor,
8436 use_input_stats_: c_int,
8437 momentum_: f64,
8438 eps_: f64,
8439 cudnn_enabled_: c_int,
8440 );
8441 pub fn atg_int_repr(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8442 pub fn atg_int_repr_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8443 pub fn atg_inverse(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8444 pub fn atg_inverse_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8445 pub fn atg_is_coalesced(self_: *mut C_tensor) -> c_int;
8446 pub fn atg_is_complex(self_: *mut C_tensor) -> c_int;
8447 pub fn atg_is_conj(self_: *mut C_tensor) -> c_int;
8448 pub fn atg_is_distributed(self_: *mut C_tensor) -> c_int;
8449 pub fn atg_is_floating_point(self_: *mut C_tensor) -> c_int;
8450 pub fn atg_is_inference(self_: *mut C_tensor) -> c_int;
8451 pub fn atg_is_leaf(self_: *mut C_tensor) -> c_int;
8452 pub fn atg_is_neg(self_: *mut C_tensor) -> c_int;
8453 pub fn atg_is_nonzero(self_: *mut C_tensor) -> c_int;
8454 pub fn atg_is_pinned(self_: *mut C_tensor, device_: c_int) -> c_int;
8455 pub fn atg_is_same_size(self_: *mut C_tensor, other_: *mut C_tensor) -> c_int;
8456 pub fn atg_is_set_to(self_: *mut C_tensor, tensor_: *mut C_tensor) -> c_int;
8457 pub fn atg_is_signed(self_: *mut C_tensor) -> c_int;
8458 pub fn atg_is_vulkan_available() -> c_int;
8459 pub fn atg_isclose(
8460 out__: *mut *mut C_tensor,
8461 self_: *mut C_tensor,
8462 other_: *mut C_tensor,
8463 rtol_: f64,
8464 atol_: f64,
8465 equal_nan_: c_int,
8466 );
8467 pub fn atg_isfinite(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8468 pub fn atg_isin(
8469 out__: *mut *mut C_tensor,
8470 elements_: *mut C_tensor,
8471 test_elements_: *mut C_tensor,
8472 assume_unique_: c_int,
8473 invert_: c_int,
8474 );
8475 pub fn atg_isin_scalar_tensor(
8476 out__: *mut *mut C_tensor,
8477 element_: *mut C_scalar,
8478 test_elements_: *mut C_tensor,
8479 assume_unique_: c_int,
8480 invert_: c_int,
8481 );
8482 pub fn atg_isin_scalar_tensor_out(
8483 out__: *mut *mut C_tensor,
8484 out_: *mut C_tensor,
8485 element_: *mut C_scalar,
8486 test_elements_: *mut C_tensor,
8487 assume_unique_: c_int,
8488 invert_: c_int,
8489 );
8490 pub fn atg_isin_tensor_scalar(
8491 out__: *mut *mut C_tensor,
8492 elements_: *mut C_tensor,
8493 test_element_: *mut C_scalar,
8494 assume_unique_: c_int,
8495 invert_: c_int,
8496 );
8497 pub fn atg_isin_tensor_scalar_out(
8498 out__: *mut *mut C_tensor,
8499 out_: *mut C_tensor,
8500 elements_: *mut C_tensor,
8501 test_element_: *mut C_scalar,
8502 assume_unique_: c_int,
8503 invert_: c_int,
8504 );
8505 pub fn atg_isin_tensor_tensor_out(
8506 out__: *mut *mut C_tensor,
8507 out_: *mut C_tensor,
8508 elements_: *mut C_tensor,
8509 test_elements_: *mut C_tensor,
8510 assume_unique_: c_int,
8511 invert_: c_int,
8512 );
8513 pub fn atg_isinf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8514 pub fn atg_isinf_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8515 pub fn atg_isnan(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8516 pub fn atg_isnan_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8517 pub fn atg_isneginf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8518 pub fn atg_isneginf_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8519 pub fn atg_isposinf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8520 pub fn atg_isposinf_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8521 pub fn atg_isreal(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8522 pub fn atg_istft(
8523 out__: *mut *mut C_tensor,
8524 self_: *mut C_tensor,
8525 n_fft_: i64,
8526 hop_length_v: i64,
8527 hop_length_null: i8,
8528 win_length_v: i64,
8529 win_length_null: i8,
8530 window_: *mut C_tensor,
8531 center_: c_int,
8532 normalized_: c_int,
8533 onesided_: c_int,
8534 length_v: i64,
8535 length_null: i8,
8536 return_complex_: c_int,
8537 );
8538 pub fn atg_kaiser_window(
8539 out__: *mut *mut C_tensor,
8540 window_length_: i64,
8541 options_kind: c_int,
8542 options_device: c_int,
8543 );
8544 pub fn atg_kaiser_window_beta(
8545 out__: *mut *mut C_tensor,
8546 window_length_: i64,
8547 periodic_: c_int,
8548 beta_: f64,
8549 options_kind: c_int,
8550 options_device: c_int,
8551 );
8552 pub fn atg_kaiser_window_beta_out(
8553 out__: *mut *mut C_tensor,
8554 out_: *mut C_tensor,
8555 window_length_: i64,
8556 periodic_: c_int,
8557 beta_: f64,
8558 );
8559 pub fn atg_kaiser_window_out(
8560 out__: *mut *mut C_tensor,
8561 out_: *mut C_tensor,
8562 window_length_: i64,
8563 );
8564 pub fn atg_kaiser_window_periodic(
8565 out__: *mut *mut C_tensor,
8566 window_length_: i64,
8567 periodic_: c_int,
8568 options_kind: c_int,
8569 options_device: c_int,
8570 );
8571 pub fn atg_kaiser_window_periodic_out(
8572 out__: *mut *mut C_tensor,
8573 out_: *mut C_tensor,
8574 window_length_: i64,
8575 periodic_: c_int,
8576 );
8577 pub fn atg_kl_div(
8578 out__: *mut *mut C_tensor,
8579 self_: *mut C_tensor,
8580 target_: *mut C_tensor,
8581 reduction_: i64,
8582 log_target_: c_int,
8583 );
8584 pub fn atg_kron(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8585 pub fn atg_kron_out(
8586 out__: *mut *mut C_tensor,
8587 out_: *mut C_tensor,
8588 self_: *mut C_tensor,
8589 other_: *mut C_tensor,
8590 );
8591 pub fn atg_kthvalue(
8592 out__: *mut *mut C_tensor,
8593 self_: *mut C_tensor,
8594 k_: i64,
8595 dim_: i64,
8596 keepdim_: c_int,
8597 );
8598 pub fn atg_kthvalue_values(
8599 out__: *mut *mut C_tensor,
8600 values_: *mut C_tensor,
8601 indices_: *mut C_tensor,
8602 self_: *mut C_tensor,
8603 k_: i64,
8604 dim_: i64,
8605 keepdim_: c_int,
8606 );
8607 pub fn atg_l1_loss(
8608 out__: *mut *mut C_tensor,
8609 self_: *mut C_tensor,
8610 target_: *mut C_tensor,
8611 reduction_: i64,
8612 );
8613 pub fn atg_layer_norm(
8614 out__: *mut *mut C_tensor,
8615 input_: *mut C_tensor,
8616 normalized_shape_data: *const i64,
8617 normalized_shape_len: c_int,
8618 weight_: *mut C_tensor,
8619 bias_: *mut C_tensor,
8620 eps_: f64,
8621 cudnn_enable_: c_int,
8622 );
8623 pub fn atg_lcm(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8624 pub fn atg_lcm_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8625 pub fn atg_lcm_out(
8626 out__: *mut *mut C_tensor,
8627 out_: *mut C_tensor,
8628 self_: *mut C_tensor,
8629 other_: *mut C_tensor,
8630 );
8631 pub fn atg_ldexp(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8632 pub fn atg_ldexp_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8633 pub fn atg_ldexp_out(
8634 out__: *mut *mut C_tensor,
8635 out_: *mut C_tensor,
8636 self_: *mut C_tensor,
8637 other_: *mut C_tensor,
8638 );
8639 pub fn atg_le(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8640 pub fn atg_le_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8641 pub fn atg_le_scalar_out(
8642 out__: *mut *mut C_tensor,
8643 out_: *mut C_tensor,
8644 self_: *mut C_tensor,
8645 other_: *mut C_scalar,
8646 );
8647 pub fn atg_le_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8648 pub fn atg_le_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8649 pub fn atg_le_tensor_out(
8650 out__: *mut *mut C_tensor,
8651 out_: *mut C_tensor,
8652 self_: *mut C_tensor,
8653 other_: *mut C_tensor,
8654 );
8655 pub fn atg_leaky_relu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8656 pub fn atg_leaky_relu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8657 pub fn atg_leaky_relu_backward(
8658 out__: *mut *mut C_tensor,
8659 grad_output_: *mut C_tensor,
8660 self_: *mut C_tensor,
8661 negative_slope_: *mut C_scalar,
8662 self_is_result_: c_int,
8663 );
8664 pub fn atg_leaky_relu_backward_grad_input(
8665 out__: *mut *mut C_tensor,
8666 grad_input_: *mut C_tensor,
8667 grad_output_: *mut C_tensor,
8668 self_: *mut C_tensor,
8669 negative_slope_: *mut C_scalar,
8670 self_is_result_: c_int,
8671 );
8672 pub fn atg_leaky_relu_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8673 pub fn atg_lerp(
8674 out__: *mut *mut C_tensor,
8675 self_: *mut C_tensor,
8676 end_: *mut C_tensor,
8677 weight_: *mut C_scalar,
8678 );
8679 pub fn atg_lerp_(
8680 out__: *mut *mut C_tensor,
8681 self_: *mut C_tensor,
8682 end_: *mut C_tensor,
8683 weight_: *mut C_scalar,
8684 );
8685 pub fn atg_lerp_scalar_out(
8686 out__: *mut *mut C_tensor,
8687 out_: *mut C_tensor,
8688 self_: *mut C_tensor,
8689 end_: *mut C_tensor,
8690 weight_: *mut C_scalar,
8691 );
8692 pub fn atg_lerp_tensor(
8693 out__: *mut *mut C_tensor,
8694 self_: *mut C_tensor,
8695 end_: *mut C_tensor,
8696 weight_: *mut C_tensor,
8697 );
8698 pub fn atg_lerp_tensor_(
8699 out__: *mut *mut C_tensor,
8700 self_: *mut C_tensor,
8701 end_: *mut C_tensor,
8702 weight_: *mut C_tensor,
8703 );
8704 pub fn atg_lerp_tensor_out(
8705 out__: *mut *mut C_tensor,
8706 out_: *mut C_tensor,
8707 self_: *mut C_tensor,
8708 end_: *mut C_tensor,
8709 weight_: *mut C_tensor,
8710 );
8711 pub fn atg_less(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8712 pub fn atg_less_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8713 pub fn atg_less_equal(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8714 pub fn atg_less_equal_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
8715 pub fn atg_less_equal_scalar_out(
8716 out__: *mut *mut C_tensor,
8717 out_: *mut C_tensor,
8718 self_: *mut C_tensor,
8719 other_: *mut C_scalar,
8720 );
8721 pub fn atg_less_equal_tensor(
8722 out__: *mut *mut C_tensor,
8723 self_: *mut C_tensor,
8724 other_: *mut C_tensor,
8725 );
8726 pub fn atg_less_equal_tensor_(
8727 out__: *mut *mut C_tensor,
8728 self_: *mut C_tensor,
8729 other_: *mut C_tensor,
8730 );
8731 pub fn atg_less_equal_tensor_out(
8732 out__: *mut *mut C_tensor,
8733 out_: *mut C_tensor,
8734 self_: *mut C_tensor,
8735 other_: *mut C_tensor,
8736 );
8737 pub fn atg_less_scalar_out(
8738 out__: *mut *mut C_tensor,
8739 out_: *mut C_tensor,
8740 self_: *mut C_tensor,
8741 other_: *mut C_scalar,
8742 );
8743 pub fn atg_less_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8744 pub fn atg_less_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
8745 pub fn atg_less_tensor_out(
8746 out__: *mut *mut C_tensor,
8747 out_: *mut C_tensor,
8748 self_: *mut C_tensor,
8749 other_: *mut C_tensor,
8750 );
8751 pub fn atg_lgamma(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8752 pub fn atg_lgamma_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8753 pub fn atg_lgamma_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8754 pub fn atg_lift(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8755 pub fn atg_lift_fresh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8756 pub fn atg_lift_fresh_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8757 pub fn atg_lift_fresh_copy_out(
8758 out__: *mut *mut C_tensor,
8759 out_: *mut C_tensor,
8760 self_: *mut C_tensor,
8761 );
8762 pub fn atg_lift_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
8763 pub fn atg_linalg_cholesky(out__: *mut *mut C_tensor, self_: *mut C_tensor, upper_: c_int);
8764 pub fn atg_linalg_cholesky_ex(
8765 out__: *mut *mut C_tensor,
8766 self_: *mut C_tensor,
8767 upper_: c_int,
8768 check_errors_: c_int,
8769 );
8770 pub fn atg_linalg_cholesky_ex_l(
8771 out__: *mut *mut C_tensor,
8772 L_: *mut C_tensor,
8773 info_: *mut C_tensor,
8774 self_: *mut C_tensor,
8775 upper_: c_int,
8776 check_errors_: c_int,
8777 );
8778 pub fn atg_linalg_cholesky_out(
8779 out__: *mut *mut C_tensor,
8780 out_: *mut C_tensor,
8781 self_: *mut C_tensor,
8782 upper_: c_int,
8783 );
8784 pub fn atg_linalg_cond(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: *mut C_scalar);
8785 pub fn atg_linalg_cond_out(
8786 out__: *mut *mut C_tensor,
8787 out_: *mut C_tensor,
8788 self_: *mut C_tensor,
8789 p_: *mut C_scalar,
8790 );
8791 pub fn atg_linalg_cond_p_str(
8792 out__: *mut *mut C_tensor,
8793 self_: *mut C_tensor,
8794 p_ptr: *const u8,
8795 p_len: c_int,
8796 );
8797 pub fn atg_linalg_cond_p_str_out(
8798 out__: *mut *mut C_tensor,
8799 out_: *mut C_tensor,
8800 self_: *mut C_tensor,
8801 p_ptr: *const u8,
8802 p_len: c_int,
8803 );
8804 pub fn atg_linalg_cross(
8805 out__: *mut *mut C_tensor,
8806 self_: *mut C_tensor,
8807 other_: *mut C_tensor,
8808 dim_: i64,
8809 );
8810 pub fn atg_linalg_cross_out(
8811 out__: *mut *mut C_tensor,
8812 out_: *mut C_tensor,
8813 self_: *mut C_tensor,
8814 other_: *mut C_tensor,
8815 dim_: i64,
8816 );
8817 pub fn atg_linalg_det(out__: *mut *mut C_tensor, A_: *mut C_tensor);
8818 pub fn atg_linalg_det_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, A_: *mut C_tensor);
8819 pub fn atg_linalg_diagonal(
8820 out__: *mut *mut C_tensor,
8821 A_: *mut C_tensor,
8822 offset_: i64,
8823 dim1_: i64,
8824 dim2_: i64,
8825 );
8826 pub fn atg_linalg_eig(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8827 pub fn atg_linalg_eig_out(
8828 out__: *mut *mut C_tensor,
8829 eigenvalues_: *mut C_tensor,
8830 eigenvectors_: *mut C_tensor,
8831 self_: *mut C_tensor,
8832 );
8833 pub fn atg_linalg_eigh(
8834 out__: *mut *mut C_tensor,
8835 self_: *mut C_tensor,
8836 UPLO_ptr: *const u8,
8837 UPLO_len: c_int,
8838 );
8839 pub fn atg_linalg_eigh_eigvals(
8840 out__: *mut *mut C_tensor,
8841 eigvals_: *mut C_tensor,
8842 eigvecs_: *mut C_tensor,
8843 self_: *mut C_tensor,
8844 UPLO_ptr: *const u8,
8845 UPLO_len: c_int,
8846 );
8847 pub fn atg_linalg_eigvals(out__: *mut *mut C_tensor, self_: *mut C_tensor);
8848 pub fn atg_linalg_eigvals_out(
8849 out__: *mut *mut C_tensor,
8850 out_: *mut C_tensor,
8851 self_: *mut C_tensor,
8852 );
8853 pub fn atg_linalg_eigvalsh(
8854 out__: *mut *mut C_tensor,
8855 self_: *mut C_tensor,
8856 UPLO_ptr: *const u8,
8857 UPLO_len: c_int,
8858 );
8859 pub fn atg_linalg_eigvalsh_out(
8860 out__: *mut *mut C_tensor,
8861 out_: *mut C_tensor,
8862 self_: *mut C_tensor,
8863 UPLO_ptr: *const u8,
8864 UPLO_len: c_int,
8865 );
8866 pub fn atg_linalg_householder_product(
8867 out__: *mut *mut C_tensor,
8868 input_: *mut C_tensor,
8869 tau_: *mut C_tensor,
8870 );
8871 pub fn atg_linalg_householder_product_out(
8872 out__: *mut *mut C_tensor,
8873 out_: *mut C_tensor,
8874 input_: *mut C_tensor,
8875 tau_: *mut C_tensor,
8876 );
8877 pub fn atg_linalg_inv(out__: *mut *mut C_tensor, A_: *mut C_tensor);
8878 pub fn atg_linalg_inv_ex(out__: *mut *mut C_tensor, A_: *mut C_tensor, check_errors_: c_int);
8879 pub fn atg_linalg_inv_ex_inverse(
8880 out__: *mut *mut C_tensor,
8881 inverse_: *mut C_tensor,
8882 info_: *mut C_tensor,
8883 A_: *mut C_tensor,
8884 check_errors_: c_int,
8885 );
8886 pub fn atg_linalg_inv_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, A_: *mut C_tensor);
8887 pub fn atg_linalg_ldl_factor(
8888 out__: *mut *mut C_tensor,
8889 self_: *mut C_tensor,
8890 hermitian_: c_int,
8891 );
8892 pub fn atg_linalg_ldl_factor_ex(
8893 out__: *mut *mut C_tensor,
8894 self_: *mut C_tensor,
8895 hermitian_: c_int,
8896 check_errors_: c_int,
8897 );
8898 pub fn atg_linalg_ldl_factor_ex_out(
8899 out__: *mut *mut C_tensor,
8900 LD_: *mut C_tensor,
8901 pivots_: *mut C_tensor,
8902 info_: *mut C_tensor,
8903 self_: *mut C_tensor,
8904 hermitian_: c_int,
8905 check_errors_: c_int,
8906 );
8907 pub fn atg_linalg_ldl_factor_out(
8908 out__: *mut *mut C_tensor,
8909 LD_: *mut C_tensor,
8910 pivots_: *mut C_tensor,
8911 self_: *mut C_tensor,
8912 hermitian_: c_int,
8913 );
8914 pub fn atg_linalg_ldl_solve(
8915 out__: *mut *mut C_tensor,
8916 LD_: *mut C_tensor,
8917 pivots_: *mut C_tensor,
8918 B_: *mut C_tensor,
8919 hermitian_: c_int,
8920 );
8921 pub fn atg_linalg_ldl_solve_out(
8922 out__: *mut *mut C_tensor,
8923 out_: *mut C_tensor,
8924 LD_: *mut C_tensor,
8925 pivots_: *mut C_tensor,
8926 B_: *mut C_tensor,
8927 hermitian_: c_int,
8928 );
8929 pub fn atg_linalg_lstsq(
8930 out__: *mut *mut C_tensor,
8931 self_: *mut C_tensor,
8932 b_: *mut C_tensor,
8933 rcond_v: f64,
8934 rcond_null: i8,
8935 driver_ptr: *const u8,
8936 driver_len: c_int,
8937 );
8938 pub fn atg_linalg_lstsq_out(
8939 out__: *mut *mut C_tensor,
8940 solution_: *mut C_tensor,
8941 residuals_: *mut C_tensor,
8942 rank_: *mut C_tensor,
8943 singular_values_: *mut C_tensor,
8944 self_: *mut C_tensor,
8945 b_: *mut C_tensor,
8946 rcond_v: f64,
8947 rcond_null: i8,
8948 driver_ptr: *const u8,
8949 driver_len: c_int,
8950 );
8951 pub fn atg_linalg_lu(out__: *mut *mut C_tensor, A_: *mut C_tensor, pivot_: c_int);
8952 pub fn atg_linalg_lu_factor(out__: *mut *mut C_tensor, A_: *mut C_tensor, pivot_: c_int);
8953 pub fn atg_linalg_lu_factor_ex(
8954 out__: *mut *mut C_tensor,
8955 A_: *mut C_tensor,
8956 pivot_: c_int,
8957 check_errors_: c_int,
8958 );
8959 pub fn atg_linalg_lu_factor_ex_out(
8960 out__: *mut *mut C_tensor,
8961 LU_: *mut C_tensor,
8962 pivots_: *mut C_tensor,
8963 info_: *mut C_tensor,
8964 A_: *mut C_tensor,
8965 pivot_: c_int,
8966 check_errors_: c_int,
8967 );
8968 pub fn atg_linalg_lu_factor_out(
8969 out__: *mut *mut C_tensor,
8970 LU_: *mut C_tensor,
8971 pivots_: *mut C_tensor,
8972 A_: *mut C_tensor,
8973 pivot_: c_int,
8974 );
8975 pub fn atg_linalg_lu_out(
8976 out__: *mut *mut C_tensor,
8977 P_: *mut C_tensor,
8978 L_: *mut C_tensor,
8979 U_: *mut C_tensor,
8980 A_: *mut C_tensor,
8981 pivot_: c_int,
8982 );
8983 pub fn atg_linalg_lu_solve(
8984 out__: *mut *mut C_tensor,
8985 LU_: *mut C_tensor,
8986 pivots_: *mut C_tensor,
8987 B_: *mut C_tensor,
8988 left_: c_int,
8989 adjoint_: c_int,
8990 );
8991 pub fn atg_linalg_lu_solve_out(
8992 out__: *mut *mut C_tensor,
8993 out_: *mut C_tensor,
8994 LU_: *mut C_tensor,
8995 pivots_: *mut C_tensor,
8996 B_: *mut C_tensor,
8997 left_: c_int,
8998 adjoint_: c_int,
8999 );
9000 pub fn atg_linalg_matmul(
9001 out__: *mut *mut C_tensor,
9002 self_: *mut C_tensor,
9003 other_: *mut C_tensor,
9004 );
9005 pub fn atg_linalg_matmul_out(
9006 out__: *mut *mut C_tensor,
9007 out_: *mut C_tensor,
9008 self_: *mut C_tensor,
9009 other_: *mut C_tensor,
9010 );
9011 pub fn atg_linalg_matrix_exp(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9012 pub fn atg_linalg_matrix_exp_out(
9013 out__: *mut *mut C_tensor,
9014 out_: *mut C_tensor,
9015 self_: *mut C_tensor,
9016 );
9017 pub fn atg_linalg_matrix_power(out__: *mut *mut C_tensor, self_: *mut C_tensor, n_: i64);
9018 pub fn atg_linalg_matrix_power_out(
9019 out__: *mut *mut C_tensor,
9020 out_: *mut C_tensor,
9021 self_: *mut C_tensor,
9022 n_: i64,
9023 );
9024 pub fn atg_linalg_matrix_rank(
9025 out__: *mut *mut C_tensor,
9026 self_: *mut C_tensor,
9027 tol_: f64,
9028 hermitian_: c_int,
9029 );
9030 pub fn atg_linalg_matrix_rank_atol_rtol_float(
9031 out__: *mut *mut C_tensor,
9032 self_: *mut C_tensor,
9033 atol_v: f64,
9034 atol_null: i8,
9035 rtol_v: f64,
9036 rtol_null: i8,
9037 hermitian_: c_int,
9038 );
9039 pub fn atg_linalg_matrix_rank_atol_rtol_float_out(
9040 out__: *mut *mut C_tensor,
9041 out_: *mut C_tensor,
9042 self_: *mut C_tensor,
9043 atol_v: f64,
9044 atol_null: i8,
9045 rtol_v: f64,
9046 rtol_null: i8,
9047 hermitian_: c_int,
9048 );
9049 pub fn atg_linalg_matrix_rank_atol_rtol_tensor(
9050 out__: *mut *mut C_tensor,
9051 input_: *mut C_tensor,
9052 atol_: *mut C_tensor,
9053 rtol_: *mut C_tensor,
9054 hermitian_: c_int,
9055 );
9056 pub fn atg_linalg_matrix_rank_atol_rtol_tensor_out(
9057 out__: *mut *mut C_tensor,
9058 out_: *mut C_tensor,
9059 input_: *mut C_tensor,
9060 atol_: *mut C_tensor,
9061 rtol_: *mut C_tensor,
9062 hermitian_: c_int,
9063 );
9064 pub fn atg_linalg_matrix_rank_out(
9065 out__: *mut *mut C_tensor,
9066 out_: *mut C_tensor,
9067 self_: *mut C_tensor,
9068 tol_: f64,
9069 hermitian_: c_int,
9070 );
9071 pub fn atg_linalg_matrix_rank_out_tol_tensor(
9072 out__: *mut *mut C_tensor,
9073 out_: *mut C_tensor,
9074 input_: *mut C_tensor,
9075 tol_: *mut C_tensor,
9076 hermitian_: c_int,
9077 );
9078 pub fn atg_linalg_matrix_rank_tol_tensor(
9079 out__: *mut *mut C_tensor,
9080 input_: *mut C_tensor,
9081 tol_: *mut C_tensor,
9082 hermitian_: c_int,
9083 );
9084 pub fn atg_linalg_multi_dot(
9085 out__: *mut *mut C_tensor,
9086 tensors_data: *const *mut C_tensor,
9087 tensors_len: c_int,
9088 );
9089 pub fn atg_linalg_multi_dot_out(
9090 out__: *mut *mut C_tensor,
9091 out_: *mut C_tensor,
9092 tensors_data: *const *mut C_tensor,
9093 tensors_len: c_int,
9094 );
9095 pub fn atg_linalg_norm(
9096 out__: *mut *mut C_tensor,
9097 self_: *mut C_tensor,
9098 ord_: *mut C_scalar,
9099 dim_data: *const i64,
9100 dim_len: c_int,
9101 keepdim_: c_int,
9102 dtype_: c_int,
9103 );
9104 pub fn atg_linalg_norm_ord_str(
9105 out__: *mut *mut C_tensor,
9106 self_: *mut C_tensor,
9107 ord_ptr: *const u8,
9108 ord_len: c_int,
9109 dim_data: *const i64,
9110 dim_len: c_int,
9111 keepdim_: c_int,
9112 dtype_: c_int,
9113 );
9114 pub fn atg_linalg_norm_ord_str_out(
9115 out__: *mut *mut C_tensor,
9116 out_: *mut C_tensor,
9117 self_: *mut C_tensor,
9118 ord_ptr: *const u8,
9119 ord_len: c_int,
9120 dim_data: *const i64,
9121 dim_len: c_int,
9122 keepdim_: c_int,
9123 dtype_: c_int,
9124 );
9125 pub fn atg_linalg_norm_out(
9126 out__: *mut *mut C_tensor,
9127 out_: *mut C_tensor,
9128 self_: *mut C_tensor,
9129 ord_: *mut C_scalar,
9130 dim_data: *const i64,
9131 dim_len: c_int,
9132 keepdim_: c_int,
9133 dtype_: c_int,
9134 );
9135 pub fn atg_linalg_pinv(
9136 out__: *mut *mut C_tensor,
9137 self_: *mut C_tensor,
9138 rcond_: f64,
9139 hermitian_: c_int,
9140 );
9141 pub fn atg_linalg_pinv_atol_rtol_float(
9142 out__: *mut *mut C_tensor,
9143 self_: *mut C_tensor,
9144 atol_v: f64,
9145 atol_null: i8,
9146 rtol_v: f64,
9147 rtol_null: i8,
9148 hermitian_: c_int,
9149 );
9150 pub fn atg_linalg_pinv_atol_rtol_float_out(
9151 out__: *mut *mut C_tensor,
9152 out_: *mut C_tensor,
9153 self_: *mut C_tensor,
9154 atol_v: f64,
9155 atol_null: i8,
9156 rtol_v: f64,
9157 rtol_null: i8,
9158 hermitian_: c_int,
9159 );
9160 pub fn atg_linalg_pinv_atol_rtol_tensor(
9161 out__: *mut *mut C_tensor,
9162 self_: *mut C_tensor,
9163 atol_: *mut C_tensor,
9164 rtol_: *mut C_tensor,
9165 hermitian_: c_int,
9166 );
9167 pub fn atg_linalg_pinv_atol_rtol_tensor_out(
9168 out__: *mut *mut C_tensor,
9169 out_: *mut C_tensor,
9170 self_: *mut C_tensor,
9171 atol_: *mut C_tensor,
9172 rtol_: *mut C_tensor,
9173 hermitian_: c_int,
9174 );
9175 pub fn atg_linalg_pinv_out(
9176 out__: *mut *mut C_tensor,
9177 out_: *mut C_tensor,
9178 self_: *mut C_tensor,
9179 rcond_: f64,
9180 hermitian_: c_int,
9181 );
9182 pub fn atg_linalg_pinv_out_rcond_tensor(
9183 out__: *mut *mut C_tensor,
9184 out_: *mut C_tensor,
9185 self_: *mut C_tensor,
9186 rcond_: *mut C_tensor,
9187 hermitian_: c_int,
9188 );
9189 pub fn atg_linalg_pinv_rcond_tensor(
9190 out__: *mut *mut C_tensor,
9191 self_: *mut C_tensor,
9192 rcond_: *mut C_tensor,
9193 hermitian_: c_int,
9194 );
9195 pub fn atg_linalg_qr(
9196 out__: *mut *mut C_tensor,
9197 A_: *mut C_tensor,
9198 mode_ptr: *const u8,
9199 mode_len: c_int,
9200 );
9201 pub fn atg_linalg_qr_out(
9202 out__: *mut *mut C_tensor,
9203 Q_: *mut C_tensor,
9204 R_: *mut C_tensor,
9205 A_: *mut C_tensor,
9206 mode_ptr: *const u8,
9207 mode_len: c_int,
9208 );
9209 pub fn atg_linalg_slogdet(out__: *mut *mut C_tensor, A_: *mut C_tensor);
9210 pub fn atg_linalg_slogdet_out(
9211 out__: *mut *mut C_tensor,
9212 sign_: *mut C_tensor,
9213 logabsdet_: *mut C_tensor,
9214 A_: *mut C_tensor,
9215 );
9216 pub fn atg_linalg_solve(
9217 out__: *mut *mut C_tensor,
9218 A_: *mut C_tensor,
9219 B_: *mut C_tensor,
9220 left_: c_int,
9221 );
9222 pub fn atg_linalg_solve_ex(
9223 out__: *mut *mut C_tensor,
9224 A_: *mut C_tensor,
9225 B_: *mut C_tensor,
9226 left_: c_int,
9227 check_errors_: c_int,
9228 );
9229 pub fn atg_linalg_solve_ex_out(
9230 out__: *mut *mut C_tensor,
9231 result_: *mut C_tensor,
9232 info_: *mut C_tensor,
9233 A_: *mut C_tensor,
9234 B_: *mut C_tensor,
9235 left_: c_int,
9236 check_errors_: c_int,
9237 );
9238 pub fn atg_linalg_solve_out(
9239 out__: *mut *mut C_tensor,
9240 out_: *mut C_tensor,
9241 A_: *mut C_tensor,
9242 B_: *mut C_tensor,
9243 left_: c_int,
9244 );
9245 pub fn atg_linalg_solve_triangular(
9246 out__: *mut *mut C_tensor,
9247 self_: *mut C_tensor,
9248 B_: *mut C_tensor,
9249 upper_: c_int,
9250 left_: c_int,
9251 unitriangular_: c_int,
9252 );
9253 pub fn atg_linalg_solve_triangular_out(
9254 out__: *mut *mut C_tensor,
9255 out_: *mut C_tensor,
9256 self_: *mut C_tensor,
9257 B_: *mut C_tensor,
9258 upper_: c_int,
9259 left_: c_int,
9260 unitriangular_: c_int,
9261 );
9262 pub fn atg_linalg_svd(
9263 out__: *mut *mut C_tensor,
9264 A_: *mut C_tensor,
9265 full_matrices_: c_int,
9266 driver_ptr: *const u8,
9267 driver_len: c_int,
9268 );
9269 pub fn atg_linalg_svd_u(
9270 out__: *mut *mut C_tensor,
9271 U_: *mut C_tensor,
9272 S_: *mut C_tensor,
9273 Vh_: *mut C_tensor,
9274 A_: *mut C_tensor,
9275 full_matrices_: c_int,
9276 driver_ptr: *const u8,
9277 driver_len: c_int,
9278 );
9279 pub fn atg_linalg_svdvals(
9280 out__: *mut *mut C_tensor,
9281 A_: *mut C_tensor,
9282 driver_ptr: *const u8,
9283 driver_len: c_int,
9284 );
9285 pub fn atg_linalg_svdvals_out(
9286 out__: *mut *mut C_tensor,
9287 out_: *mut C_tensor,
9288 A_: *mut C_tensor,
9289 driver_ptr: *const u8,
9290 driver_len: c_int,
9291 );
9292 pub fn atg_linalg_tensorinv(out__: *mut *mut C_tensor, self_: *mut C_tensor, ind_: i64);
9293 pub fn atg_linalg_tensorinv_out(
9294 out__: *mut *mut C_tensor,
9295 out_: *mut C_tensor,
9296 self_: *mut C_tensor,
9297 ind_: i64,
9298 );
9299 pub fn atg_linalg_tensorsolve(
9300 out__: *mut *mut C_tensor,
9301 self_: *mut C_tensor,
9302 other_: *mut C_tensor,
9303 dims_data: *const i64,
9304 dims_len: c_int,
9305 );
9306 pub fn atg_linalg_tensorsolve_out(
9307 out__: *mut *mut C_tensor,
9308 out_: *mut C_tensor,
9309 self_: *mut C_tensor,
9310 other_: *mut C_tensor,
9311 dims_data: *const i64,
9312 dims_len: c_int,
9313 );
9314 pub fn atg_linalg_vander(out__: *mut *mut C_tensor, x_: *mut C_tensor, n_v: i64, n_null: i8);
9315 pub fn atg_linalg_vecdot(
9316 out__: *mut *mut C_tensor,
9317 x_: *mut C_tensor,
9318 y_: *mut C_tensor,
9319 dim_: i64,
9320 );
9321 pub fn atg_linalg_vecdot_out(
9322 out__: *mut *mut C_tensor,
9323 out_: *mut C_tensor,
9324 x_: *mut C_tensor,
9325 y_: *mut C_tensor,
9326 dim_: i64,
9327 );
9328 pub fn atg_linear(
9329 out__: *mut *mut C_tensor,
9330 input_: *mut C_tensor,
9331 weight_: *mut C_tensor,
9332 bias_: *mut C_tensor,
9333 );
9334 pub fn atg_linear_out(
9335 out__: *mut *mut C_tensor,
9336 out_: *mut C_tensor,
9337 input_: *mut C_tensor,
9338 weight_: *mut C_tensor,
9339 bias_: *mut C_tensor,
9340 );
9341 pub fn atg_linspace(
9342 out__: *mut *mut C_tensor,
9343 start_: *mut C_scalar,
9344 end_: *mut C_scalar,
9345 steps_: i64,
9346 options_kind: c_int,
9347 options_device: c_int,
9348 );
9349 pub fn atg_linspace_out(
9350 out__: *mut *mut C_tensor,
9351 out_: *mut C_tensor,
9352 start_: *mut C_scalar,
9353 end_: *mut C_scalar,
9354 steps_: i64,
9355 );
9356 pub fn atg_linspace_scalar_tensor(
9357 out__: *mut *mut C_tensor,
9358 start_: *mut C_scalar,
9359 end_: *mut C_tensor,
9360 steps_: i64,
9361 options_kind: c_int,
9362 options_device: c_int,
9363 );
9364 pub fn atg_linspace_scalar_tensor_out(
9365 out__: *mut *mut C_tensor,
9366 out_: *mut C_tensor,
9367 start_: *mut C_scalar,
9368 end_: *mut C_tensor,
9369 steps_: i64,
9370 );
9371 pub fn atg_linspace_tensor_scalar(
9372 out__: *mut *mut C_tensor,
9373 start_: *mut C_tensor,
9374 end_: *mut C_scalar,
9375 steps_: i64,
9376 options_kind: c_int,
9377 options_device: c_int,
9378 );
9379 pub fn atg_linspace_tensor_scalar_out(
9380 out__: *mut *mut C_tensor,
9381 out_: *mut C_tensor,
9382 start_: *mut C_tensor,
9383 end_: *mut C_scalar,
9384 steps_: i64,
9385 );
9386 pub fn atg_linspace_tensor_tensor(
9387 out__: *mut *mut C_tensor,
9388 start_: *mut C_tensor,
9389 end_: *mut C_tensor,
9390 steps_: i64,
9391 options_kind: c_int,
9392 options_device: c_int,
9393 );
9394 pub fn atg_linspace_tensor_tensor_out(
9395 out__: *mut *mut C_tensor,
9396 out_: *mut C_tensor,
9397 start_: *mut C_tensor,
9398 end_: *mut C_tensor,
9399 steps_: i64,
9400 );
9401 pub fn atg_log(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9402 pub fn atg_log10(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9403 pub fn atg_log10_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9404 pub fn atg_log10_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
9405 pub fn atg_log1p(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9406 pub fn atg_log1p_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9407 pub fn atg_log1p_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
9408 pub fn atg_log2(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9409 pub fn atg_log2_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9410 pub fn atg_log2_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
9411 pub fn atg_log_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9412 pub fn atg_log_normal(out__: *mut *mut C_tensor, self_: *mut C_tensor, mean_: f64, std_: f64);
9413 pub fn atg_log_normal_(out__: *mut *mut C_tensor, self_: *mut C_tensor, mean_: f64, std_: f64);
9414 pub fn atg_log_normal_out(
9415 out__: *mut *mut C_tensor,
9416 out_: *mut C_tensor,
9417 self_: *mut C_tensor,
9418 mean_: f64,
9419 std_: f64,
9420 );
9421 pub fn atg_log_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
9422 pub fn atg_log_sigmoid(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9423 pub fn atg_log_sigmoid_backward(
9424 out__: *mut *mut C_tensor,
9425 grad_output_: *mut C_tensor,
9426 self_: *mut C_tensor,
9427 buffer_: *mut C_tensor,
9428 );
9429 pub fn atg_log_sigmoid_backward_grad_input(
9430 out__: *mut *mut C_tensor,
9431 grad_input_: *mut C_tensor,
9432 grad_output_: *mut C_tensor,
9433 self_: *mut C_tensor,
9434 buffer_: *mut C_tensor,
9435 );
9436 pub fn atg_log_sigmoid_out(
9437 out__: *mut *mut C_tensor,
9438 out_: *mut C_tensor,
9439 self_: *mut C_tensor,
9440 );
9441 pub fn atg_log_softmax(
9442 out__: *mut *mut C_tensor,
9443 self_: *mut C_tensor,
9444 dim_: i64,
9445 dtype_: c_int,
9446 );
9447 pub fn atg_log_softmax_int_out(
9448 out__: *mut *mut C_tensor,
9449 out_: *mut C_tensor,
9450 self_: *mut C_tensor,
9451 dim_: i64,
9452 dtype_: c_int,
9453 );
9454 pub fn atg_logaddexp(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9455 pub fn atg_logaddexp2(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9456 pub fn atg_logaddexp2_out(
9457 out__: *mut *mut C_tensor,
9458 out_: *mut C_tensor,
9459 self_: *mut C_tensor,
9460 other_: *mut C_tensor,
9461 );
9462 pub fn atg_logaddexp_out(
9463 out__: *mut *mut C_tensor,
9464 out_: *mut C_tensor,
9465 self_: *mut C_tensor,
9466 other_: *mut C_tensor,
9467 );
9468 pub fn atg_logcumsumexp(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
9469 pub fn atg_logcumsumexp_out(
9470 out__: *mut *mut C_tensor,
9471 out_: *mut C_tensor,
9472 self_: *mut C_tensor,
9473 dim_: i64,
9474 );
9475 pub fn atg_logdet(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9476 pub fn atg_logical_and(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9477 pub fn atg_logical_and_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9478 pub fn atg_logical_and_out(
9479 out__: *mut *mut C_tensor,
9480 out_: *mut C_tensor,
9481 self_: *mut C_tensor,
9482 other_: *mut C_tensor,
9483 );
9484 pub fn atg_logical_not(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9485 pub fn atg_logical_not_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9486 pub fn atg_logical_not_out(
9487 out__: *mut *mut C_tensor,
9488 out_: *mut C_tensor,
9489 self_: *mut C_tensor,
9490 );
9491 pub fn atg_logical_or(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9492 pub fn atg_logical_or_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9493 pub fn atg_logical_or_out(
9494 out__: *mut *mut C_tensor,
9495 out_: *mut C_tensor,
9496 self_: *mut C_tensor,
9497 other_: *mut C_tensor,
9498 );
9499 pub fn atg_logical_xor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9500 pub fn atg_logical_xor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9501 pub fn atg_logical_xor_out(
9502 out__: *mut *mut C_tensor,
9503 out_: *mut C_tensor,
9504 self_: *mut C_tensor,
9505 other_: *mut C_tensor,
9506 );
9507 pub fn atg_logit(out__: *mut *mut C_tensor, self_: *mut C_tensor, eps_v: f64, eps_null: i8);
9508 pub fn atg_logit_(out__: *mut *mut C_tensor, self_: *mut C_tensor, eps_v: f64, eps_null: i8);
9509 pub fn atg_logit_backward(
9510 out__: *mut *mut C_tensor,
9511 grad_output_: *mut C_tensor,
9512 self_: *mut C_tensor,
9513 eps_v: f64,
9514 eps_null: i8,
9515 );
9516 pub fn atg_logit_backward_grad_input(
9517 out__: *mut *mut C_tensor,
9518 grad_input_: *mut C_tensor,
9519 grad_output_: *mut C_tensor,
9520 self_: *mut C_tensor,
9521 eps_v: f64,
9522 eps_null: i8,
9523 );
9524 pub fn atg_logit_out(
9525 out__: *mut *mut C_tensor,
9526 out_: *mut C_tensor,
9527 self_: *mut C_tensor,
9528 eps_v: f64,
9529 eps_null: i8,
9530 );
9531 pub fn atg_logspace(
9532 out__: *mut *mut C_tensor,
9533 start_: *mut C_scalar,
9534 end_: *mut C_scalar,
9535 steps_: i64,
9536 base_: f64,
9537 options_kind: c_int,
9538 options_device: c_int,
9539 );
9540 pub fn atg_logspace_out(
9541 out__: *mut *mut C_tensor,
9542 out_: *mut C_tensor,
9543 start_: *mut C_scalar,
9544 end_: *mut C_scalar,
9545 steps_: i64,
9546 base_: f64,
9547 );
9548 pub fn atg_logspace_scalar_tensor(
9549 out__: *mut *mut C_tensor,
9550 start_: *mut C_scalar,
9551 end_: *mut C_tensor,
9552 steps_: i64,
9553 base_: f64,
9554 options_kind: c_int,
9555 options_device: c_int,
9556 );
9557 pub fn atg_logspace_scalar_tensor_out(
9558 out__: *mut *mut C_tensor,
9559 out_: *mut C_tensor,
9560 start_: *mut C_scalar,
9561 end_: *mut C_tensor,
9562 steps_: i64,
9563 base_: f64,
9564 );
9565 pub fn atg_logspace_tensor_scalar(
9566 out__: *mut *mut C_tensor,
9567 start_: *mut C_tensor,
9568 end_: *mut C_scalar,
9569 steps_: i64,
9570 base_: f64,
9571 options_kind: c_int,
9572 options_device: c_int,
9573 );
9574 pub fn atg_logspace_tensor_scalar_out(
9575 out__: *mut *mut C_tensor,
9576 out_: *mut C_tensor,
9577 start_: *mut C_tensor,
9578 end_: *mut C_scalar,
9579 steps_: i64,
9580 base_: f64,
9581 );
9582 pub fn atg_logspace_tensor_tensor(
9583 out__: *mut *mut C_tensor,
9584 start_: *mut C_tensor,
9585 end_: *mut C_tensor,
9586 steps_: i64,
9587 base_: f64,
9588 options_kind: c_int,
9589 options_device: c_int,
9590 );
9591 pub fn atg_logspace_tensor_tensor_out(
9592 out__: *mut *mut C_tensor,
9593 out_: *mut C_tensor,
9594 start_: *mut C_tensor,
9595 end_: *mut C_tensor,
9596 steps_: i64,
9597 base_: f64,
9598 );
9599 pub fn atg_logsumexp(
9600 out__: *mut *mut C_tensor,
9601 self_: *mut C_tensor,
9602 dim_data: *const i64,
9603 dim_len: c_int,
9604 keepdim_: c_int,
9605 );
9606 pub fn atg_logsumexp_out(
9607 out__: *mut *mut C_tensor,
9608 out_: *mut C_tensor,
9609 self_: *mut C_tensor,
9610 dim_data: *const i64,
9611 dim_len: c_int,
9612 keepdim_: c_int,
9613 );
9614 pub fn atg_lstm(
9615 out__: *mut *mut C_tensor,
9616 input_: *mut C_tensor,
9617 hx_data: *const *mut C_tensor,
9618 hx_len: c_int,
9619 params_data: *const *mut C_tensor,
9620 params_len: c_int,
9621 has_biases_: c_int,
9622 num_layers_: i64,
9623 dropout_: f64,
9624 train_: c_int,
9625 bidirectional_: c_int,
9626 batch_first_: c_int,
9627 );
9628 pub fn atg_lstm_cell(
9629 out__: *mut *mut C_tensor,
9630 input_: *mut C_tensor,
9631 hx_data: *const *mut C_tensor,
9632 hx_len: c_int,
9633 w_ih_: *mut C_tensor,
9634 w_hh_: *mut C_tensor,
9635 b_ih_: *mut C_tensor,
9636 b_hh_: *mut C_tensor,
9637 );
9638 pub fn atg_lstm_data(
9639 out__: *mut *mut C_tensor,
9640 data_: *mut C_tensor,
9641 batch_sizes_: *mut C_tensor,
9642 hx_data: *const *mut C_tensor,
9643 hx_len: c_int,
9644 params_data: *const *mut C_tensor,
9645 params_len: c_int,
9646 has_biases_: c_int,
9647 num_layers_: i64,
9648 dropout_: f64,
9649 train_: c_int,
9650 bidirectional_: c_int,
9651 );
9652 pub fn atg_lstm_mps_backward(
9653 out0_: *mut C_tensor,
9654 out1_data: *const *mut C_tensor,
9655 out1_len: c_int,
9656 out2_data: *const *mut C_tensor,
9657 out2_len: c_int,
9658 grad_y_: *mut C_tensor,
9659 grad_hy_: *mut C_tensor,
9660 grad_cy_: *mut C_tensor,
9661 z_state_: *mut C_tensor,
9662 cell_state_fwd_: *mut C_tensor,
9663 input_: *mut C_tensor,
9664 layersOutputs_: *mut C_tensor,
9665 hx_data: *const *mut C_tensor,
9666 hx_len: c_int,
9667 params_data: *const *mut C_tensor,
9668 params_len: c_int,
9669 has_biases_: c_int,
9670 num_layers_: i64,
9671 dropout_: f64,
9672 train_: c_int,
9673 bidirectional_: c_int,
9674 batch_first_: c_int,
9675 );
9676 pub fn atg_lt(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
9677 pub fn atg_lt_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
9678 pub fn atg_lt_scalar_out(
9679 out__: *mut *mut C_tensor,
9680 out_: *mut C_tensor,
9681 self_: *mut C_tensor,
9682 other_: *mut C_scalar,
9683 );
9684 pub fn atg_lt_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9685 pub fn atg_lt_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9686 pub fn atg_lt_tensor_out(
9687 out__: *mut *mut C_tensor,
9688 out_: *mut C_tensor,
9689 self_: *mut C_tensor,
9690 other_: *mut C_tensor,
9691 );
9692 pub fn atg_lu_solve(
9693 out__: *mut *mut C_tensor,
9694 self_: *mut C_tensor,
9695 LU_data_: *mut C_tensor,
9696 LU_pivots_: *mut C_tensor,
9697 );
9698 pub fn atg_lu_solve_out(
9699 out__: *mut *mut C_tensor,
9700 out_: *mut C_tensor,
9701 self_: *mut C_tensor,
9702 LU_data_: *mut C_tensor,
9703 LU_pivots_: *mut C_tensor,
9704 );
9705 pub fn atg_lu_unpack(
9706 out__: *mut *mut C_tensor,
9707 LU_data_: *mut C_tensor,
9708 LU_pivots_: *mut C_tensor,
9709 unpack_data_: c_int,
9710 unpack_pivots_: c_int,
9711 );
9712 pub fn atg_lu_unpack_out(
9713 out__: *mut *mut C_tensor,
9714 P_: *mut C_tensor,
9715 L_: *mut C_tensor,
9716 U_: *mut C_tensor,
9717 LU_data_: *mut C_tensor,
9718 LU_pivots_: *mut C_tensor,
9719 unpack_data_: c_int,
9720 unpack_pivots_: c_int,
9721 );
9722 pub fn atg_margin_ranking_loss(
9723 out__: *mut *mut C_tensor,
9724 input1_: *mut C_tensor,
9725 input2_: *mut C_tensor,
9726 target_: *mut C_tensor,
9727 margin_: f64,
9728 reduction_: i64,
9729 );
9730 pub fn atg_masked_fill(
9731 out__: *mut *mut C_tensor,
9732 self_: *mut C_tensor,
9733 mask_: *mut C_tensor,
9734 value_: *mut C_scalar,
9735 );
9736 pub fn atg_masked_fill_(
9737 out__: *mut *mut C_tensor,
9738 self_: *mut C_tensor,
9739 mask_: *mut C_tensor,
9740 value_: *mut C_scalar,
9741 );
9742 pub fn atg_masked_fill_scalar_out(
9743 out__: *mut *mut C_tensor,
9744 out_: *mut C_tensor,
9745 self_: *mut C_tensor,
9746 mask_: *mut C_tensor,
9747 value_: *mut C_scalar,
9748 );
9749 pub fn atg_masked_fill_tensor(
9750 out__: *mut *mut C_tensor,
9751 self_: *mut C_tensor,
9752 mask_: *mut C_tensor,
9753 value_: *mut C_tensor,
9754 );
9755 pub fn atg_masked_fill_tensor_(
9756 out__: *mut *mut C_tensor,
9757 self_: *mut C_tensor,
9758 mask_: *mut C_tensor,
9759 value_: *mut C_tensor,
9760 );
9761 pub fn atg_masked_fill_tensor_out(
9762 out__: *mut *mut C_tensor,
9763 out_: *mut C_tensor,
9764 self_: *mut C_tensor,
9765 mask_: *mut C_tensor,
9766 value_: *mut C_tensor,
9767 );
9768 pub fn atg_masked_scatter(
9769 out__: *mut *mut C_tensor,
9770 self_: *mut C_tensor,
9771 mask_: *mut C_tensor,
9772 source_: *mut C_tensor,
9773 );
9774 pub fn atg_masked_scatter_(
9775 out__: *mut *mut C_tensor,
9776 self_: *mut C_tensor,
9777 mask_: *mut C_tensor,
9778 source_: *mut C_tensor,
9779 );
9780 pub fn atg_masked_scatter_backward(
9781 out__: *mut *mut C_tensor,
9782 grad_output_: *mut C_tensor,
9783 mask_: *mut C_tensor,
9784 sizes_data: *const i64,
9785 sizes_len: c_int,
9786 );
9787 pub fn atg_masked_scatter_out(
9788 out__: *mut *mut C_tensor,
9789 out_: *mut C_tensor,
9790 self_: *mut C_tensor,
9791 mask_: *mut C_tensor,
9792 source_: *mut C_tensor,
9793 );
9794 pub fn atg_masked_select(out__: *mut *mut C_tensor, self_: *mut C_tensor, mask_: *mut C_tensor);
9795 pub fn atg_masked_select_backward(
9796 out__: *mut *mut C_tensor,
9797 grad_: *mut C_tensor,
9798 input_: *mut C_tensor,
9799 mask_: *mut C_tensor,
9800 );
9801 pub fn atg_masked_select_out(
9802 out__: *mut *mut C_tensor,
9803 out_: *mut C_tensor,
9804 self_: *mut C_tensor,
9805 mask_: *mut C_tensor,
9806 );
9807 pub fn atg_matmul(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9808 pub fn atg_matmul_out(
9809 out__: *mut *mut C_tensor,
9810 out_: *mut C_tensor,
9811 self_: *mut C_tensor,
9812 other_: *mut C_tensor,
9813 );
9814 pub fn atg_matrix_exp(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9815 pub fn atg_matrix_exp_backward(
9816 out__: *mut *mut C_tensor,
9817 self_: *mut C_tensor,
9818 grad_: *mut C_tensor,
9819 );
9820 pub fn atg_matrix_h(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9821 pub fn atg_matrix_power(out__: *mut *mut C_tensor, self_: *mut C_tensor, n_: i64);
9822 pub fn atg_matrix_power_out(
9823 out__: *mut *mut C_tensor,
9824 out_: *mut C_tensor,
9825 self_: *mut C_tensor,
9826 n_: i64,
9827 );
9828 pub fn atg_max(out__: *mut *mut C_tensor, self_: *mut C_tensor);
9829 pub fn atg_max_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, keepdim_: c_int);
9830 pub fn atg_max_dim_max(
9831 out__: *mut *mut C_tensor,
9832 max_: *mut C_tensor,
9833 max_values_: *mut C_tensor,
9834 self_: *mut C_tensor,
9835 dim_: i64,
9836 keepdim_: c_int,
9837 );
9838 pub fn atg_max_other(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
9839 pub fn atg_max_out(
9840 out__: *mut *mut C_tensor,
9841 out_: *mut C_tensor,
9842 self_: *mut C_tensor,
9843 other_: *mut C_tensor,
9844 );
9845 pub fn atg_max_pool1d(
9846 out__: *mut *mut C_tensor,
9847 self_: *mut C_tensor,
9848 kernel_size_data: *const i64,
9849 kernel_size_len: c_int,
9850 stride_data: *const i64,
9851 stride_len: c_int,
9852 padding_data: *const i64,
9853 padding_len: c_int,
9854 dilation_data: *const i64,
9855 dilation_len: c_int,
9856 ceil_mode_: c_int,
9857 );
9858 pub fn atg_max_pool1d_with_indices(
9859 out__: *mut *mut C_tensor,
9860 self_: *mut C_tensor,
9861 kernel_size_data: *const i64,
9862 kernel_size_len: c_int,
9863 stride_data: *const i64,
9864 stride_len: c_int,
9865 padding_data: *const i64,
9866 padding_len: c_int,
9867 dilation_data: *const i64,
9868 dilation_len: c_int,
9869 ceil_mode_: c_int,
9870 );
9871 pub fn atg_max_pool2d(
9872 out__: *mut *mut C_tensor,
9873 self_: *mut C_tensor,
9874 kernel_size_data: *const i64,
9875 kernel_size_len: c_int,
9876 stride_data: *const i64,
9877 stride_len: c_int,
9878 padding_data: *const i64,
9879 padding_len: c_int,
9880 dilation_data: *const i64,
9881 dilation_len: c_int,
9882 ceil_mode_: c_int,
9883 );
9884 pub fn atg_max_pool2d_backward(
9885 out__: *mut *mut C_tensor,
9886 grad_output_: *mut C_tensor,
9887 self_: *mut C_tensor,
9888 kernel_size_data: *const i64,
9889 kernel_size_len: c_int,
9890 stride_data: *const i64,
9891 stride_len: c_int,
9892 padding_data: *const i64,
9893 padding_len: c_int,
9894 dilation_data: *const i64,
9895 dilation_len: c_int,
9896 ceil_mode_: c_int,
9897 );
9898 pub fn atg_max_pool2d_backward_out(
9899 out__: *mut *mut C_tensor,
9900 out_: *mut C_tensor,
9901 grad_output_: *mut C_tensor,
9902 self_: *mut C_tensor,
9903 kernel_size_data: *const i64,
9904 kernel_size_len: c_int,
9905 stride_data: *const i64,
9906 stride_len: c_int,
9907 padding_data: *const i64,
9908 padding_len: c_int,
9909 dilation_data: *const i64,
9910 dilation_len: c_int,
9911 ceil_mode_: c_int,
9912 );
9913 pub fn atg_max_pool2d_with_indices(
9914 out__: *mut *mut C_tensor,
9915 self_: *mut C_tensor,
9916 kernel_size_data: *const i64,
9917 kernel_size_len: c_int,
9918 stride_data: *const i64,
9919 stride_len: c_int,
9920 padding_data: *const i64,
9921 padding_len: c_int,
9922 dilation_data: *const i64,
9923 dilation_len: c_int,
9924 ceil_mode_: c_int,
9925 );
9926 pub fn atg_max_pool2d_with_indices_backward(
9927 out__: *mut *mut C_tensor,
9928 grad_output_: *mut C_tensor,
9929 self_: *mut C_tensor,
9930 kernel_size_data: *const i64,
9931 kernel_size_len: c_int,
9932 stride_data: *const i64,
9933 stride_len: c_int,
9934 padding_data: *const i64,
9935 padding_len: c_int,
9936 dilation_data: *const i64,
9937 dilation_len: c_int,
9938 ceil_mode_: c_int,
9939 indices_: *mut C_tensor,
9940 );
9941 pub fn atg_max_pool2d_with_indices_backward_grad_input(
9942 out__: *mut *mut C_tensor,
9943 grad_input_: *mut C_tensor,
9944 grad_output_: *mut C_tensor,
9945 self_: *mut C_tensor,
9946 kernel_size_data: *const i64,
9947 kernel_size_len: c_int,
9948 stride_data: *const i64,
9949 stride_len: c_int,
9950 padding_data: *const i64,
9951 padding_len: c_int,
9952 dilation_data: *const i64,
9953 dilation_len: c_int,
9954 ceil_mode_: c_int,
9955 indices_: *mut C_tensor,
9956 );
9957 pub fn atg_max_pool2d_with_indices_out(
9958 out__: *mut *mut C_tensor,
9959 out_: *mut C_tensor,
9960 indices_: *mut C_tensor,
9961 self_: *mut C_tensor,
9962 kernel_size_data: *const i64,
9963 kernel_size_len: c_int,
9964 stride_data: *const i64,
9965 stride_len: c_int,
9966 padding_data: *const i64,
9967 padding_len: c_int,
9968 dilation_data: *const i64,
9969 dilation_len: c_int,
9970 ceil_mode_: c_int,
9971 );
9972 pub fn atg_max_pool3d(
9973 out__: *mut *mut C_tensor,
9974 self_: *mut C_tensor,
9975 kernel_size_data: *const i64,
9976 kernel_size_len: c_int,
9977 stride_data: *const i64,
9978 stride_len: c_int,
9979 padding_data: *const i64,
9980 padding_len: c_int,
9981 dilation_data: *const i64,
9982 dilation_len: c_int,
9983 ceil_mode_: c_int,
9984 );
9985 pub fn atg_max_pool3d_with_indices(
9986 out__: *mut *mut C_tensor,
9987 self_: *mut C_tensor,
9988 kernel_size_data: *const i64,
9989 kernel_size_len: c_int,
9990 stride_data: *const i64,
9991 stride_len: c_int,
9992 padding_data: *const i64,
9993 padding_len: c_int,
9994 dilation_data: *const i64,
9995 dilation_len: c_int,
9996 ceil_mode_: c_int,
9997 );
9998 pub fn atg_max_pool3d_with_indices_backward(
9999 out__: *mut *mut C_tensor,
10000 grad_output_: *mut C_tensor,
10001 self_: *mut C_tensor,
10002 kernel_size_data: *const i64,
10003 kernel_size_len: c_int,
10004 stride_data: *const i64,
10005 stride_len: c_int,
10006 padding_data: *const i64,
10007 padding_len: c_int,
10008 dilation_data: *const i64,
10009 dilation_len: c_int,
10010 ceil_mode_: c_int,
10011 indices_: *mut C_tensor,
10012 );
10013 pub fn atg_max_pool3d_with_indices_backward_grad_input(
10014 out__: *mut *mut C_tensor,
10015 grad_input_: *mut C_tensor,
10016 grad_output_: *mut C_tensor,
10017 self_: *mut C_tensor,
10018 kernel_size_data: *const i64,
10019 kernel_size_len: c_int,
10020 stride_data: *const i64,
10021 stride_len: c_int,
10022 padding_data: *const i64,
10023 padding_len: c_int,
10024 dilation_data: *const i64,
10025 dilation_len: c_int,
10026 ceil_mode_: c_int,
10027 indices_: *mut C_tensor,
10028 );
10029 pub fn atg_max_pool3d_with_indices_out(
10030 out__: *mut *mut C_tensor,
10031 out_: *mut C_tensor,
10032 indices_: *mut C_tensor,
10033 self_: *mut C_tensor,
10034 kernel_size_data: *const i64,
10035 kernel_size_len: c_int,
10036 stride_data: *const i64,
10037 stride_len: c_int,
10038 padding_data: *const i64,
10039 padding_len: c_int,
10040 dilation_data: *const i64,
10041 dilation_len: c_int,
10042 ceil_mode_: c_int,
10043 );
10044 pub fn atg_max_unary_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
10045 pub fn atg_max_unpool2d(
10046 out__: *mut *mut C_tensor,
10047 self_: *mut C_tensor,
10048 indices_: *mut C_tensor,
10049 output_size_data: *const i64,
10050 output_size_len: c_int,
10051 );
10052 pub fn atg_max_unpool2d_out(
10053 out__: *mut *mut C_tensor,
10054 out_: *mut C_tensor,
10055 self_: *mut C_tensor,
10056 indices_: *mut C_tensor,
10057 output_size_data: *const i64,
10058 output_size_len: c_int,
10059 );
10060 pub fn atg_max_unpool3d(
10061 out__: *mut *mut C_tensor,
10062 self_: *mut C_tensor,
10063 indices_: *mut C_tensor,
10064 output_size_data: *const i64,
10065 output_size_len: c_int,
10066 stride_data: *const i64,
10067 stride_len: c_int,
10068 padding_data: *const i64,
10069 padding_len: c_int,
10070 );
10071 pub fn atg_max_unpool3d_out(
10072 out__: *mut *mut C_tensor,
10073 out_: *mut C_tensor,
10074 self_: *mut C_tensor,
10075 indices_: *mut C_tensor,
10076 output_size_data: *const i64,
10077 output_size_len: c_int,
10078 stride_data: *const i64,
10079 stride_len: c_int,
10080 padding_data: *const i64,
10081 padding_len: c_int,
10082 );
10083 pub fn atg_maximum(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10084 pub fn atg_maximum_out(
10085 out__: *mut *mut C_tensor,
10086 out_: *mut C_tensor,
10087 self_: *mut C_tensor,
10088 other_: *mut C_tensor,
10089 );
10090 pub fn atg_mean(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
10091 pub fn atg_mean_dim(
10092 out__: *mut *mut C_tensor,
10093 self_: *mut C_tensor,
10094 dim_data: *const i64,
10095 dim_len: c_int,
10096 keepdim_: c_int,
10097 dtype_: c_int,
10098 );
10099 pub fn atg_mean_dtype_out(
10100 out__: *mut *mut C_tensor,
10101 out_: *mut C_tensor,
10102 self_: *mut C_tensor,
10103 dtype_: c_int,
10104 );
10105 pub fn atg_mean_out(
10106 out__: *mut *mut C_tensor,
10107 out_: *mut C_tensor,
10108 self_: *mut C_tensor,
10109 dim_data: *const i64,
10110 dim_len: c_int,
10111 keepdim_: c_int,
10112 dtype_: c_int,
10113 );
10114 pub fn atg_median(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10115 pub fn atg_median_dim(
10116 out__: *mut *mut C_tensor,
10117 self_: *mut C_tensor,
10118 dim_: i64,
10119 keepdim_: c_int,
10120 );
10121 pub fn atg_median_dim_values(
10122 out__: *mut *mut C_tensor,
10123 values_: *mut C_tensor,
10124 indices_: *mut C_tensor,
10125 self_: *mut C_tensor,
10126 dim_: i64,
10127 keepdim_: c_int,
10128 );
10129 pub fn atg_median_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
10130 pub fn atg_meshgrid(
10131 tensors_data: *const *mut C_tensor,
10132 tensors_len: c_int,
10133 ) -> *mut *mut C_tensor;
10134 pub fn atg_meshgrid_indexing(
10135 tensors_data: *const *mut C_tensor,
10136 tensors_len: c_int,
10137 indexing_ptr: *const u8,
10138 indexing_len: c_int,
10139 ) -> *mut *mut C_tensor;
10140 pub fn atg_mh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10141 pub fn atg_min(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10142 pub fn atg_min_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, keepdim_: c_int);
10143 pub fn atg_min_dim_min(
10144 out__: *mut *mut C_tensor,
10145 min_: *mut C_tensor,
10146 min_indices_: *mut C_tensor,
10147 self_: *mut C_tensor,
10148 dim_: i64,
10149 keepdim_: c_int,
10150 );
10151 pub fn atg_min_other(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10152 pub fn atg_min_out(
10153 out__: *mut *mut C_tensor,
10154 out_: *mut C_tensor,
10155 self_: *mut C_tensor,
10156 other_: *mut C_tensor,
10157 );
10158 pub fn atg_min_unary_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
10159 pub fn atg_minimum(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10160 pub fn atg_minimum_out(
10161 out__: *mut *mut C_tensor,
10162 out_: *mut C_tensor,
10163 self_: *mut C_tensor,
10164 other_: *mut C_tensor,
10165 );
10166 pub fn atg_miopen_batch_norm(
10167 out__: *mut *mut C_tensor,
10168 input_: *mut C_tensor,
10169 weight_: *mut C_tensor,
10170 bias_: *mut C_tensor,
10171 running_mean_: *mut C_tensor,
10172 running_var_: *mut C_tensor,
10173 training_: c_int,
10174 exponential_average_factor_: f64,
10175 epsilon_: f64,
10176 );
10177 pub fn atg_miopen_batch_norm_backward(
10178 out__: *mut *mut C_tensor,
10179 input_: *mut C_tensor,
10180 grad_output_: *mut C_tensor,
10181 weight_: *mut C_tensor,
10182 running_mean_: *mut C_tensor,
10183 running_var_: *mut C_tensor,
10184 save_mean_: *mut C_tensor,
10185 save_var_: *mut C_tensor,
10186 epsilon_: f64,
10187 );
10188 pub fn atg_miopen_batch_norm_backward_out(
10189 out__: *mut *mut C_tensor,
10190 out0_: *mut C_tensor,
10191 out1_: *mut C_tensor,
10192 out2_: *mut C_tensor,
10193 input_: *mut C_tensor,
10194 grad_output_: *mut C_tensor,
10195 weight_: *mut C_tensor,
10196 running_mean_: *mut C_tensor,
10197 running_var_: *mut C_tensor,
10198 save_mean_: *mut C_tensor,
10199 save_var_: *mut C_tensor,
10200 epsilon_: f64,
10201 );
10202 pub fn atg_miopen_batch_norm_out(
10203 out__: *mut *mut C_tensor,
10204 out0_: *mut C_tensor,
10205 out1_: *mut C_tensor,
10206 out2_: *mut C_tensor,
10207 input_: *mut C_tensor,
10208 weight_: *mut C_tensor,
10209 bias_: *mut C_tensor,
10210 running_mean_: *mut C_tensor,
10211 running_var_: *mut C_tensor,
10212 training_: c_int,
10213 exponential_average_factor_: f64,
10214 epsilon_: f64,
10215 );
10216 pub fn atg_miopen_convolution(
10217 out__: *mut *mut C_tensor,
10218 self_: *mut C_tensor,
10219 weight_: *mut C_tensor,
10220 bias_: *mut C_tensor,
10221 padding_data: *const i64,
10222 padding_len: c_int,
10223 stride_data: *const i64,
10224 stride_len: c_int,
10225 dilation_data: *const i64,
10226 dilation_len: c_int,
10227 groups_: i64,
10228 benchmark_: c_int,
10229 deterministic_: c_int,
10230 );
10231 pub fn atg_miopen_convolution_add_relu(
10232 out__: *mut *mut C_tensor,
10233 self_: *mut C_tensor,
10234 weight_: *mut C_tensor,
10235 z_: *mut C_tensor,
10236 alpha_: *mut C_scalar,
10237 bias_: *mut C_tensor,
10238 stride_data: *const i64,
10239 stride_len: c_int,
10240 padding_data: *const i64,
10241 padding_len: c_int,
10242 dilation_data: *const i64,
10243 dilation_len: c_int,
10244 groups_: i64,
10245 );
10246 pub fn atg_miopen_convolution_out(
10247 out__: *mut *mut C_tensor,
10248 out_: *mut C_tensor,
10249 self_: *mut C_tensor,
10250 weight_: *mut C_tensor,
10251 bias_: *mut C_tensor,
10252 padding_data: *const i64,
10253 padding_len: c_int,
10254 stride_data: *const i64,
10255 stride_len: c_int,
10256 dilation_data: *const i64,
10257 dilation_len: c_int,
10258 groups_: i64,
10259 benchmark_: c_int,
10260 deterministic_: c_int,
10261 );
10262 pub fn atg_miopen_convolution_relu(
10263 out__: *mut *mut C_tensor,
10264 self_: *mut C_tensor,
10265 weight_: *mut C_tensor,
10266 bias_: *mut C_tensor,
10267 stride_data: *const i64,
10268 stride_len: c_int,
10269 padding_data: *const i64,
10270 padding_len: c_int,
10271 dilation_data: *const i64,
10272 dilation_len: c_int,
10273 groups_: i64,
10274 );
10275 pub fn atg_miopen_convolution_transpose(
10276 out__: *mut *mut C_tensor,
10277 self_: *mut C_tensor,
10278 weight_: *mut C_tensor,
10279 bias_: *mut C_tensor,
10280 padding_data: *const i64,
10281 padding_len: c_int,
10282 output_padding_data: *const i64,
10283 output_padding_len: c_int,
10284 stride_data: *const i64,
10285 stride_len: c_int,
10286 dilation_data: *const i64,
10287 dilation_len: c_int,
10288 groups_: i64,
10289 benchmark_: c_int,
10290 deterministic_: c_int,
10291 );
10292 pub fn atg_miopen_convolution_transpose_out(
10293 out__: *mut *mut C_tensor,
10294 out_: *mut C_tensor,
10295 self_: *mut C_tensor,
10296 weight_: *mut C_tensor,
10297 bias_: *mut C_tensor,
10298 padding_data: *const i64,
10299 padding_len: c_int,
10300 output_padding_data: *const i64,
10301 output_padding_len: c_int,
10302 stride_data: *const i64,
10303 stride_len: c_int,
10304 dilation_data: *const i64,
10305 dilation_len: c_int,
10306 groups_: i64,
10307 benchmark_: c_int,
10308 deterministic_: c_int,
10309 );
10310 pub fn atg_miopen_depthwise_convolution(
10311 out__: *mut *mut C_tensor,
10312 self_: *mut C_tensor,
10313 weight_: *mut C_tensor,
10314 bias_: *mut C_tensor,
10315 padding_data: *const i64,
10316 padding_len: c_int,
10317 stride_data: *const i64,
10318 stride_len: c_int,
10319 dilation_data: *const i64,
10320 dilation_len: c_int,
10321 groups_: i64,
10322 benchmark_: c_int,
10323 deterministic_: c_int,
10324 );
10325 pub fn atg_miopen_depthwise_convolution_out(
10326 out__: *mut *mut C_tensor,
10327 out_: *mut C_tensor,
10328 self_: *mut C_tensor,
10329 weight_: *mut C_tensor,
10330 bias_: *mut C_tensor,
10331 padding_data: *const i64,
10332 padding_len: c_int,
10333 stride_data: *const i64,
10334 stride_len: c_int,
10335 dilation_data: *const i64,
10336 dilation_len: c_int,
10337 groups_: i64,
10338 benchmark_: c_int,
10339 deterministic_: c_int,
10340 );
10341 pub fn atg_miopen_rnn(
10342 out__: *mut *mut C_tensor,
10343 input_: *mut C_tensor,
10344 weight_data: *const *mut C_tensor,
10345 weight_len: c_int,
10346 weight_stride0_: i64,
10347 hx_: *mut C_tensor,
10348 cx_: *mut C_tensor,
10349 mode_: i64,
10350 hidden_size_: i64,
10351 num_layers_: i64,
10352 batch_first_: c_int,
10353 dropout_: f64,
10354 train_: c_int,
10355 bidirectional_: c_int,
10356 batch_sizes_data: *const i64,
10357 batch_sizes_len: c_int,
10358 dropout_state_: *mut C_tensor,
10359 );
10360 pub fn atg_miopen_rnn_out(
10361 out__: *mut *mut C_tensor,
10362 out0_: *mut C_tensor,
10363 out1_: *mut C_tensor,
10364 out2_: *mut C_tensor,
10365 out3_: *mut C_tensor,
10366 out4_: *mut C_tensor,
10367 input_: *mut C_tensor,
10368 weight_data: *const *mut C_tensor,
10369 weight_len: c_int,
10370 weight_stride0_: i64,
10371 hx_: *mut C_tensor,
10372 cx_: *mut C_tensor,
10373 mode_: i64,
10374 hidden_size_: i64,
10375 num_layers_: i64,
10376 batch_first_: c_int,
10377 dropout_: f64,
10378 train_: c_int,
10379 bidirectional_: c_int,
10380 batch_sizes_data: *const i64,
10381 batch_sizes_len: c_int,
10382 dropout_state_: *mut C_tensor,
10383 );
10384 pub fn atg_mish(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10385 pub fn atg_mish_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10386 pub fn atg_mish_backward(
10387 out__: *mut *mut C_tensor,
10388 grad_output_: *mut C_tensor,
10389 self_: *mut C_tensor,
10390 );
10391 pub fn atg_mish_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
10392 pub fn atg_mkldnn_adaptive_avg_pool2d(
10393 out__: *mut *mut C_tensor,
10394 self_: *mut C_tensor,
10395 output_size_data: *const i64,
10396 output_size_len: c_int,
10397 );
10398 pub fn atg_mkldnn_adaptive_avg_pool2d_backward(
10399 out__: *mut *mut C_tensor,
10400 grad_output_: *mut C_tensor,
10401 self_: *mut C_tensor,
10402 );
10403 pub fn atg_mkldnn_adaptive_avg_pool2d_backward_out(
10404 out__: *mut *mut C_tensor,
10405 out_: *mut C_tensor,
10406 grad_output_: *mut C_tensor,
10407 self_: *mut C_tensor,
10408 );
10409 pub fn atg_mkldnn_adaptive_avg_pool2d_out(
10410 out__: *mut *mut C_tensor,
10411 out_: *mut C_tensor,
10412 self_: *mut C_tensor,
10413 output_size_data: *const i64,
10414 output_size_len: c_int,
10415 );
10416 pub fn atg_mkldnn_convolution(
10417 out__: *mut *mut C_tensor,
10418 self_: *mut C_tensor,
10419 weight_: *mut C_tensor,
10420 bias_: *mut C_tensor,
10421 padding_data: *const i64,
10422 padding_len: c_int,
10423 stride_data: *const i64,
10424 stride_len: c_int,
10425 dilation_data: *const i64,
10426 dilation_len: c_int,
10427 groups_: i64,
10428 );
10429 pub fn atg_mkldnn_convolution_out(
10430 out__: *mut *mut C_tensor,
10431 out_: *mut C_tensor,
10432 self_: *mut C_tensor,
10433 weight_: *mut C_tensor,
10434 bias_: *mut C_tensor,
10435 padding_data: *const i64,
10436 padding_len: c_int,
10437 stride_data: *const i64,
10438 stride_len: c_int,
10439 dilation_data: *const i64,
10440 dilation_len: c_int,
10441 groups_: i64,
10442 );
10443 pub fn atg_mkldnn_linear(
10444 out__: *mut *mut C_tensor,
10445 self_: *mut C_tensor,
10446 weight_: *mut C_tensor,
10447 bias_: *mut C_tensor,
10448 );
10449 pub fn atg_mkldnn_linear_backward_input(
10450 out__: *mut *mut C_tensor,
10451 input_size_data: *const i64,
10452 input_size_len: c_int,
10453 grad_output_: *mut C_tensor,
10454 weight_: *mut C_tensor,
10455 );
10456 pub fn atg_mkldnn_linear_backward_input_out(
10457 out__: *mut *mut C_tensor,
10458 out_: *mut C_tensor,
10459 input_size_data: *const i64,
10460 input_size_len: c_int,
10461 grad_output_: *mut C_tensor,
10462 weight_: *mut C_tensor,
10463 );
10464 pub fn atg_mkldnn_linear_backward_weights(
10465 out__: *mut *mut C_tensor,
10466 grad_output_: *mut C_tensor,
10467 input_: *mut C_tensor,
10468 weight_: *mut C_tensor,
10469 bias_defined_: c_int,
10470 );
10471 pub fn atg_mkldnn_linear_backward_weights_out(
10472 out__: *mut *mut C_tensor,
10473 out0_: *mut C_tensor,
10474 out1_: *mut C_tensor,
10475 grad_output_: *mut C_tensor,
10476 input_: *mut C_tensor,
10477 weight_: *mut C_tensor,
10478 bias_defined_: c_int,
10479 );
10480 pub fn atg_mkldnn_linear_out(
10481 out__: *mut *mut C_tensor,
10482 out_: *mut C_tensor,
10483 self_: *mut C_tensor,
10484 weight_: *mut C_tensor,
10485 bias_: *mut C_tensor,
10486 );
10487 pub fn atg_mkldnn_max_pool2d(
10488 out__: *mut *mut C_tensor,
10489 self_: *mut C_tensor,
10490 kernel_size_data: *const i64,
10491 kernel_size_len: c_int,
10492 stride_data: *const i64,
10493 stride_len: c_int,
10494 padding_data: *const i64,
10495 padding_len: c_int,
10496 dilation_data: *const i64,
10497 dilation_len: c_int,
10498 ceil_mode_: c_int,
10499 );
10500 pub fn atg_mkldnn_max_pool2d_backward(
10501 out__: *mut *mut C_tensor,
10502 grad_output_: *mut C_tensor,
10503 output_: *mut C_tensor,
10504 input_: *mut C_tensor,
10505 kernel_size_data: *const i64,
10506 kernel_size_len: c_int,
10507 stride_data: *const i64,
10508 stride_len: c_int,
10509 padding_data: *const i64,
10510 padding_len: c_int,
10511 dilation_data: *const i64,
10512 dilation_len: c_int,
10513 ceil_mode_: c_int,
10514 );
10515 pub fn atg_mkldnn_max_pool2d_backward_out(
10516 out__: *mut *mut C_tensor,
10517 out_: *mut C_tensor,
10518 grad_output_: *mut C_tensor,
10519 output_: *mut C_tensor,
10520 input_: *mut C_tensor,
10521 kernel_size_data: *const i64,
10522 kernel_size_len: c_int,
10523 stride_data: *const i64,
10524 stride_len: c_int,
10525 padding_data: *const i64,
10526 padding_len: c_int,
10527 dilation_data: *const i64,
10528 dilation_len: c_int,
10529 ceil_mode_: c_int,
10530 );
10531 pub fn atg_mkldnn_max_pool2d_out(
10532 out__: *mut *mut C_tensor,
10533 out_: *mut C_tensor,
10534 self_: *mut C_tensor,
10535 kernel_size_data: *const i64,
10536 kernel_size_len: c_int,
10537 stride_data: *const i64,
10538 stride_len: c_int,
10539 padding_data: *const i64,
10540 padding_len: c_int,
10541 dilation_data: *const i64,
10542 dilation_len: c_int,
10543 ceil_mode_: c_int,
10544 );
10545 pub fn atg_mkldnn_max_pool3d(
10546 out__: *mut *mut C_tensor,
10547 self_: *mut C_tensor,
10548 kernel_size_data: *const i64,
10549 kernel_size_len: c_int,
10550 stride_data: *const i64,
10551 stride_len: c_int,
10552 padding_data: *const i64,
10553 padding_len: c_int,
10554 dilation_data: *const i64,
10555 dilation_len: c_int,
10556 ceil_mode_: c_int,
10557 );
10558 pub fn atg_mkldnn_max_pool3d_backward(
10559 out__: *mut *mut C_tensor,
10560 grad_output_: *mut C_tensor,
10561 output_: *mut C_tensor,
10562 input_: *mut C_tensor,
10563 kernel_size_data: *const i64,
10564 kernel_size_len: c_int,
10565 stride_data: *const i64,
10566 stride_len: c_int,
10567 padding_data: *const i64,
10568 padding_len: c_int,
10569 dilation_data: *const i64,
10570 dilation_len: c_int,
10571 ceil_mode_: c_int,
10572 );
10573 pub fn atg_mkldnn_max_pool3d_backward_out(
10574 out__: *mut *mut C_tensor,
10575 out_: *mut C_tensor,
10576 grad_output_: *mut C_tensor,
10577 output_: *mut C_tensor,
10578 input_: *mut C_tensor,
10579 kernel_size_data: *const i64,
10580 kernel_size_len: c_int,
10581 stride_data: *const i64,
10582 stride_len: c_int,
10583 padding_data: *const i64,
10584 padding_len: c_int,
10585 dilation_data: *const i64,
10586 dilation_len: c_int,
10587 ceil_mode_: c_int,
10588 );
10589 pub fn atg_mkldnn_max_pool3d_out(
10590 out__: *mut *mut C_tensor,
10591 out_: *mut C_tensor,
10592 self_: *mut C_tensor,
10593 kernel_size_data: *const i64,
10594 kernel_size_len: c_int,
10595 stride_data: *const i64,
10596 stride_len: c_int,
10597 padding_data: *const i64,
10598 padding_len: c_int,
10599 dilation_data: *const i64,
10600 dilation_len: c_int,
10601 ceil_mode_: c_int,
10602 );
10603 pub fn atg_mkldnn_reorder_conv2d_weight(
10604 out__: *mut *mut C_tensor,
10605 self_: *mut C_tensor,
10606 padding_data: *const i64,
10607 padding_len: c_int,
10608 stride_data: *const i64,
10609 stride_len: c_int,
10610 dilation_data: *const i64,
10611 dilation_len: c_int,
10612 groups_: i64,
10613 input_size_data: *const i64,
10614 input_size_len: c_int,
10615 );
10616 pub fn atg_mkldnn_reorder_conv2d_weight_out(
10617 out__: *mut *mut C_tensor,
10618 out_: *mut C_tensor,
10619 self_: *mut C_tensor,
10620 padding_data: *const i64,
10621 padding_len: c_int,
10622 stride_data: *const i64,
10623 stride_len: c_int,
10624 dilation_data: *const i64,
10625 dilation_len: c_int,
10626 groups_: i64,
10627 input_size_data: *const i64,
10628 input_size_len: c_int,
10629 );
10630 pub fn atg_mkldnn_reorder_conv3d_weight(
10631 out__: *mut *mut C_tensor,
10632 self_: *mut C_tensor,
10633 padding_data: *const i64,
10634 padding_len: c_int,
10635 stride_data: *const i64,
10636 stride_len: c_int,
10637 dilation_data: *const i64,
10638 dilation_len: c_int,
10639 groups_: i64,
10640 input_size_data: *const i64,
10641 input_size_len: c_int,
10642 );
10643 pub fn atg_mkldnn_reorder_conv3d_weight_out(
10644 out__: *mut *mut C_tensor,
10645 out_: *mut C_tensor,
10646 self_: *mut C_tensor,
10647 padding_data: *const i64,
10648 padding_len: c_int,
10649 stride_data: *const i64,
10650 stride_len: c_int,
10651 dilation_data: *const i64,
10652 dilation_len: c_int,
10653 groups_: i64,
10654 input_size_data: *const i64,
10655 input_size_len: c_int,
10656 );
10657 pub fn atg_mkldnn_rnn_layer(
10658 out__: *mut *mut C_tensor,
10659 input_: *mut C_tensor,
10660 weight0_: *mut C_tensor,
10661 weight1_: *mut C_tensor,
10662 weight2_: *mut C_tensor,
10663 weight3_: *mut C_tensor,
10664 hx__: *mut C_tensor,
10665 cx__: *mut C_tensor,
10666 reverse_: c_int,
10667 batch_sizes_data: *const i64,
10668 batch_sizes_len: c_int,
10669 mode_: i64,
10670 hidden_size_: i64,
10671 num_layers_: i64,
10672 has_biases_: c_int,
10673 bidirectional_: c_int,
10674 batch_first_: c_int,
10675 train_: c_int,
10676 );
10677 pub fn atg_mkldnn_rnn_layer_backward(
10678 out__: *mut *mut C_tensor,
10679 input_: *mut C_tensor,
10680 weight1_: *mut C_tensor,
10681 weight2_: *mut C_tensor,
10682 weight3_: *mut C_tensor,
10683 weight4_: *mut C_tensor,
10684 hx__: *mut C_tensor,
10685 cx_tmp_: *mut C_tensor,
10686 output_: *mut C_tensor,
10687 hy__: *mut C_tensor,
10688 cy__: *mut C_tensor,
10689 grad_output_: *mut C_tensor,
10690 grad_hy_: *mut C_tensor,
10691 grad_cy_: *mut C_tensor,
10692 reverse_: c_int,
10693 mode_: i64,
10694 hidden_size_: i64,
10695 num_layers_: i64,
10696 has_biases_: c_int,
10697 train_: c_int,
10698 bidirectional_: c_int,
10699 batch_sizes_data: *const i64,
10700 batch_sizes_len: c_int,
10701 batch_first_: c_int,
10702 workspace_: *mut C_tensor,
10703 );
10704 pub fn atg_mkldnn_rnn_layer_backward_out(
10705 out__: *mut *mut C_tensor,
10706 out0_: *mut C_tensor,
10707 out1_: *mut C_tensor,
10708 out2_: *mut C_tensor,
10709 out3_: *mut C_tensor,
10710 out4_: *mut C_tensor,
10711 out5_: *mut C_tensor,
10712 out6_: *mut C_tensor,
10713 input_: *mut C_tensor,
10714 weight1_: *mut C_tensor,
10715 weight2_: *mut C_tensor,
10716 weight3_: *mut C_tensor,
10717 weight4_: *mut C_tensor,
10718 hx__: *mut C_tensor,
10719 cx_tmp_: *mut C_tensor,
10720 output_: *mut C_tensor,
10721 hy__: *mut C_tensor,
10722 cy__: *mut C_tensor,
10723 grad_output_: *mut C_tensor,
10724 grad_hy_: *mut C_tensor,
10725 grad_cy_: *mut C_tensor,
10726 reverse_: c_int,
10727 mode_: i64,
10728 hidden_size_: i64,
10729 num_layers_: i64,
10730 has_biases_: c_int,
10731 train_: c_int,
10732 bidirectional_: c_int,
10733 batch_sizes_data: *const i64,
10734 batch_sizes_len: c_int,
10735 batch_first_: c_int,
10736 workspace_: *mut C_tensor,
10737 );
10738 pub fn atg_mkldnn_rnn_layer_out(
10739 out__: *mut *mut C_tensor,
10740 out0_: *mut C_tensor,
10741 out1_: *mut C_tensor,
10742 out2_: *mut C_tensor,
10743 out3_: *mut C_tensor,
10744 input_: *mut C_tensor,
10745 weight0_: *mut C_tensor,
10746 weight1_: *mut C_tensor,
10747 weight2_: *mut C_tensor,
10748 weight3_: *mut C_tensor,
10749 hx__: *mut C_tensor,
10750 cx__: *mut C_tensor,
10751 reverse_: c_int,
10752 batch_sizes_data: *const i64,
10753 batch_sizes_len: c_int,
10754 mode_: i64,
10755 hidden_size_: i64,
10756 num_layers_: i64,
10757 has_biases_: c_int,
10758 bidirectional_: c_int,
10759 batch_first_: c_int,
10760 train_: c_int,
10761 );
10762 pub fn atg_mm(out__: *mut *mut C_tensor, self_: *mut C_tensor, mat2_: *mut C_tensor);
10763 pub fn atg_mm_dtype(
10764 out__: *mut *mut C_tensor,
10765 self_: *mut C_tensor,
10766 mat2_: *mut C_tensor,
10767 out_dtype_: c_int,
10768 );
10769 pub fn atg_mm_dtype_out(
10770 out__: *mut *mut C_tensor,
10771 out_: *mut C_tensor,
10772 self_: *mut C_tensor,
10773 mat2_: *mut C_tensor,
10774 out_dtype_: c_int,
10775 );
10776 pub fn atg_mm_out(
10777 out__: *mut *mut C_tensor,
10778 out_: *mut C_tensor,
10779 self_: *mut C_tensor,
10780 mat2_: *mut C_tensor,
10781 );
10782 pub fn atg_mode(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, keepdim_: c_int);
10783 pub fn atg_mode_values(
10784 out__: *mut *mut C_tensor,
10785 values_: *mut C_tensor,
10786 indices_: *mut C_tensor,
10787 self_: *mut C_tensor,
10788 dim_: i64,
10789 keepdim_: c_int,
10790 );
10791 pub fn atg_moveaxis(
10792 out__: *mut *mut C_tensor,
10793 self_: *mut C_tensor,
10794 source_data: *const i64,
10795 source_len: c_int,
10796 destination_data: *const i64,
10797 destination_len: c_int,
10798 );
10799 pub fn atg_moveaxis_int(
10800 out__: *mut *mut C_tensor,
10801 self_: *mut C_tensor,
10802 source_: i64,
10803 destination_: i64,
10804 );
10805 pub fn atg_movedim(
10806 out__: *mut *mut C_tensor,
10807 self_: *mut C_tensor,
10808 source_data: *const i64,
10809 source_len: c_int,
10810 destination_data: *const i64,
10811 destination_len: c_int,
10812 );
10813 pub fn atg_movedim_int(
10814 out__: *mut *mut C_tensor,
10815 self_: *mut C_tensor,
10816 source_: i64,
10817 destination_: i64,
10818 );
10819 pub fn atg_mse_loss(
10820 out__: *mut *mut C_tensor,
10821 self_: *mut C_tensor,
10822 target_: *mut C_tensor,
10823 reduction_: i64,
10824 );
10825 pub fn atg_mse_loss_backward(
10826 out__: *mut *mut C_tensor,
10827 grad_output_: *mut C_tensor,
10828 self_: *mut C_tensor,
10829 target_: *mut C_tensor,
10830 reduction_: i64,
10831 );
10832 pub fn atg_mse_loss_backward_grad_input(
10833 out__: *mut *mut C_tensor,
10834 grad_input_: *mut C_tensor,
10835 grad_output_: *mut C_tensor,
10836 self_: *mut C_tensor,
10837 target_: *mut C_tensor,
10838 reduction_: i64,
10839 );
10840 pub fn atg_mse_loss_out(
10841 out__: *mut *mut C_tensor,
10842 out_: *mut C_tensor,
10843 self_: *mut C_tensor,
10844 target_: *mut C_tensor,
10845 reduction_: i64,
10846 );
10847 pub fn atg_msort(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10848 pub fn atg_msort_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
10849 pub fn atg_mt(out__: *mut *mut C_tensor, self_: *mut C_tensor);
10850 pub fn atg_mul(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10851 pub fn atg_mul_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10852 pub fn atg_mul_out(
10853 out__: *mut *mut C_tensor,
10854 out_: *mut C_tensor,
10855 self_: *mut C_tensor,
10856 other_: *mut C_tensor,
10857 );
10858 pub fn atg_mul_scalar(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
10859 pub fn atg_mul_scalar_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
10860 pub fn atg_mul_scalar_out(
10861 out__: *mut *mut C_tensor,
10862 out_: *mut C_tensor,
10863 self_: *mut C_tensor,
10864 other_: *mut C_scalar,
10865 );
10866 pub fn atg_multi_margin_loss_backward(
10867 out__: *mut *mut C_tensor,
10868 grad_output_: *mut C_tensor,
10869 self_: *mut C_tensor,
10870 target_: *mut C_tensor,
10871 p_: *mut C_scalar,
10872 margin_: *mut C_scalar,
10873 weight_: *mut C_tensor,
10874 reduction_: i64,
10875 );
10876 pub fn atg_multi_margin_loss_backward_grad_input(
10877 out__: *mut *mut C_tensor,
10878 grad_input_: *mut C_tensor,
10879 grad_output_: *mut C_tensor,
10880 self_: *mut C_tensor,
10881 target_: *mut C_tensor,
10882 p_: *mut C_scalar,
10883 margin_: *mut C_scalar,
10884 weight_: *mut C_tensor,
10885 reduction_: i64,
10886 );
10887 pub fn atg_multilabel_margin_loss(
10888 out__: *mut *mut C_tensor,
10889 self_: *mut C_tensor,
10890 target_: *mut C_tensor,
10891 reduction_: i64,
10892 );
10893 pub fn atg_multilabel_margin_loss_backward(
10894 out__: *mut *mut C_tensor,
10895 grad_output_: *mut C_tensor,
10896 self_: *mut C_tensor,
10897 target_: *mut C_tensor,
10898 reduction_: i64,
10899 is_target_: *mut C_tensor,
10900 );
10901 pub fn atg_multilabel_margin_loss_backward_grad_input(
10902 out__: *mut *mut C_tensor,
10903 grad_input_: *mut C_tensor,
10904 grad_output_: *mut C_tensor,
10905 self_: *mut C_tensor,
10906 target_: *mut C_tensor,
10907 reduction_: i64,
10908 is_target_: *mut C_tensor,
10909 );
10910 pub fn atg_multilabel_margin_loss_out(
10911 out__: *mut *mut C_tensor,
10912 out_: *mut C_tensor,
10913 self_: *mut C_tensor,
10914 target_: *mut C_tensor,
10915 reduction_: i64,
10916 );
10917 pub fn atg_multinomial(
10918 out__: *mut *mut C_tensor,
10919 self_: *mut C_tensor,
10920 num_samples_: i64,
10921 replacement_: c_int,
10922 );
10923 pub fn atg_multinomial_out(
10924 out__: *mut *mut C_tensor,
10925 out_: *mut C_tensor,
10926 self_: *mut C_tensor,
10927 num_samples_: i64,
10928 replacement_: c_int,
10929 );
10930 pub fn atg_multiply(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10931 pub fn atg_multiply_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
10932 pub fn atg_multiply_out(
10933 out__: *mut *mut C_tensor,
10934 out_: *mut C_tensor,
10935 self_: *mut C_tensor,
10936 other_: *mut C_tensor,
10937 );
10938 pub fn atg_multiply_scalar(
10939 out__: *mut *mut C_tensor,
10940 self_: *mut C_tensor,
10941 other_: *mut C_scalar,
10942 );
10943 pub fn atg_multiply_scalar_(
10944 out__: *mut *mut C_tensor,
10945 self_: *mut C_tensor,
10946 other_: *mut C_scalar,
10947 );
10948 pub fn atg_mv(out__: *mut *mut C_tensor, self_: *mut C_tensor, vec_: *mut C_tensor);
10949 pub fn atg_mv_out(
10950 out__: *mut *mut C_tensor,
10951 out_: *mut C_tensor,
10952 self_: *mut C_tensor,
10953 vec_: *mut C_tensor,
10954 );
10955 pub fn atg_mvlgamma(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: i64);
10956 pub fn atg_mvlgamma_(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: i64);
10957 pub fn atg_mvlgamma_out(
10958 out__: *mut *mut C_tensor,
10959 out_: *mut C_tensor,
10960 self_: *mut C_tensor,
10961 p_: i64,
10962 );
10963 pub fn atg_nan_to_num(
10964 out__: *mut *mut C_tensor,
10965 self_: *mut C_tensor,
10966 nan_v: f64,
10967 nan_null: i8,
10968 posinf_v: f64,
10969 posinf_null: i8,
10970 neginf_v: f64,
10971 neginf_null: i8,
10972 );
10973 pub fn atg_nan_to_num_(
10974 out__: *mut *mut C_tensor,
10975 self_: *mut C_tensor,
10976 nan_v: f64,
10977 nan_null: i8,
10978 posinf_v: f64,
10979 posinf_null: i8,
10980 neginf_v: f64,
10981 neginf_null: i8,
10982 );
10983 pub fn atg_nan_to_num_out(
10984 out__: *mut *mut C_tensor,
10985 out_: *mut C_tensor,
10986 self_: *mut C_tensor,
10987 nan_v: f64,
10988 nan_null: i8,
10989 posinf_v: f64,
10990 posinf_null: i8,
10991 neginf_v: f64,
10992 neginf_null: i8,
10993 );
10994 pub fn atg_nanmean(
10995 out__: *mut *mut C_tensor,
10996 self_: *mut C_tensor,
10997 dim_data: *const i64,
10998 dim_len: c_int,
10999 keepdim_: c_int,
11000 dtype_: c_int,
11001 );
11002 pub fn atg_nanmean_out(
11003 out__: *mut *mut C_tensor,
11004 out_: *mut C_tensor,
11005 self_: *mut C_tensor,
11006 dim_data: *const i64,
11007 dim_len: c_int,
11008 keepdim_: c_int,
11009 dtype_: c_int,
11010 );
11011 pub fn atg_nanmedian(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11012 pub fn atg_nanmedian_dim(
11013 out__: *mut *mut C_tensor,
11014 self_: *mut C_tensor,
11015 dim_: i64,
11016 keepdim_: c_int,
11017 );
11018 pub fn atg_nanmedian_dim_values(
11019 out__: *mut *mut C_tensor,
11020 values_: *mut C_tensor,
11021 indices_: *mut C_tensor,
11022 self_: *mut C_tensor,
11023 dim_: i64,
11024 keepdim_: c_int,
11025 );
11026 pub fn atg_nanmedian_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11027 pub fn atg_nanquantile(
11028 out__: *mut *mut C_tensor,
11029 self_: *mut C_tensor,
11030 q_: *mut C_tensor,
11031 dim_v: i64,
11032 dim_null: i8,
11033 keepdim_: c_int,
11034 interpolation_ptr: *const u8,
11035 interpolation_len: c_int,
11036 );
11037 pub fn atg_nanquantile_out(
11038 out__: *mut *mut C_tensor,
11039 out_: *mut C_tensor,
11040 self_: *mut C_tensor,
11041 q_: *mut C_tensor,
11042 dim_v: i64,
11043 dim_null: i8,
11044 keepdim_: c_int,
11045 interpolation_ptr: *const u8,
11046 interpolation_len: c_int,
11047 );
11048 pub fn atg_nanquantile_scalar(
11049 out__: *mut *mut C_tensor,
11050 self_: *mut C_tensor,
11051 q_: f64,
11052 dim_v: i64,
11053 dim_null: i8,
11054 keepdim_: c_int,
11055 interpolation_ptr: *const u8,
11056 interpolation_len: c_int,
11057 );
11058 pub fn atg_nanquantile_scalar_out(
11059 out__: *mut *mut C_tensor,
11060 out_: *mut C_tensor,
11061 self_: *mut C_tensor,
11062 q_: f64,
11063 dim_v: i64,
11064 dim_null: i8,
11065 keepdim_: c_int,
11066 interpolation_ptr: *const u8,
11067 interpolation_len: c_int,
11068 );
11069 pub fn atg_nansum(
11070 out__: *mut *mut C_tensor,
11071 self_: *mut C_tensor,
11072 dim_data: *const i64,
11073 dim_len: c_int,
11074 keepdim_: c_int,
11075 dtype_: c_int,
11076 );
11077 pub fn atg_nansum_out(
11078 out__: *mut *mut C_tensor,
11079 out_: *mut C_tensor,
11080 self_: *mut C_tensor,
11081 dim_data: *const i64,
11082 dim_len: c_int,
11083 keepdim_: c_int,
11084 dtype_: c_int,
11085 );
11086 pub fn atg_narrow(
11087 out__: *mut *mut C_tensor,
11088 self_: *mut C_tensor,
11089 dim_: i64,
11090 start_: i64,
11091 length_: i64,
11092 );
11093 pub fn atg_narrow_copy(
11094 out__: *mut *mut C_tensor,
11095 self_: *mut C_tensor,
11096 dim_: i64,
11097 start_: i64,
11098 length_: i64,
11099 );
11100 pub fn atg_narrow_copy_out(
11101 out__: *mut *mut C_tensor,
11102 out_: *mut C_tensor,
11103 self_: *mut C_tensor,
11104 dim_: i64,
11105 start_: i64,
11106 length_: i64,
11107 );
11108 pub fn atg_narrow_tensor(
11109 out__: *mut *mut C_tensor,
11110 self_: *mut C_tensor,
11111 dim_: i64,
11112 start_: *mut C_tensor,
11113 length_: i64,
11114 );
11115 pub fn atg_native_batch_norm(
11116 out__: *mut *mut C_tensor,
11117 input_: *mut C_tensor,
11118 weight_: *mut C_tensor,
11119 bias_: *mut C_tensor,
11120 running_mean_: *mut C_tensor,
11121 running_var_: *mut C_tensor,
11122 training_: c_int,
11123 momentum_: f64,
11124 eps_: f64,
11125 );
11126 pub fn atg_native_batch_norm_out(
11127 out__: *mut *mut C_tensor,
11128 out_: *mut C_tensor,
11129 save_mean_: *mut C_tensor,
11130 save_invstd_: *mut C_tensor,
11131 input_: *mut C_tensor,
11132 weight_: *mut C_tensor,
11133 bias_: *mut C_tensor,
11134 running_mean_: *mut C_tensor,
11135 running_var_: *mut C_tensor,
11136 training_: c_int,
11137 momentum_: f64,
11138 eps_: f64,
11139 );
11140 pub fn atg_native_channel_shuffle(
11141 out__: *mut *mut C_tensor,
11142 self_: *mut C_tensor,
11143 groups_: i64,
11144 );
11145 pub fn atg_native_dropout(
11146 out__: *mut *mut C_tensor,
11147 input_: *mut C_tensor,
11148 p_: f64,
11149 train_: c_int,
11150 );
11151 pub fn atg_native_dropout_backward(
11152 out__: *mut *mut C_tensor,
11153 grad_output_: *mut C_tensor,
11154 mask_: *mut C_tensor,
11155 scale_: f64,
11156 );
11157 pub fn atg_native_dropout_backward_out(
11158 out__: *mut *mut C_tensor,
11159 out_: *mut C_tensor,
11160 grad_output_: *mut C_tensor,
11161 mask_: *mut C_tensor,
11162 scale_: f64,
11163 );
11164 pub fn atg_native_dropout_out(
11165 out__: *mut *mut C_tensor,
11166 out0_: *mut C_tensor,
11167 out1_: *mut C_tensor,
11168 input_: *mut C_tensor,
11169 p_: f64,
11170 train_: c_int,
11171 );
11172 pub fn atg_native_group_norm(
11173 out__: *mut *mut C_tensor,
11174 input_: *mut C_tensor,
11175 weight_: *mut C_tensor,
11176 bias_: *mut C_tensor,
11177 n_: i64,
11178 C_: i64,
11179 HxW_: i64,
11180 group_: i64,
11181 eps_: f64,
11182 );
11183 pub fn atg_native_group_norm_out(
11184 out__: *mut *mut C_tensor,
11185 out0_: *mut C_tensor,
11186 out1_: *mut C_tensor,
11187 out2_: *mut C_tensor,
11188 input_: *mut C_tensor,
11189 weight_: *mut C_tensor,
11190 bias_: *mut C_tensor,
11191 n_: i64,
11192 C_: i64,
11193 HxW_: i64,
11194 group_: i64,
11195 eps_: f64,
11196 );
11197 pub fn atg_native_layer_norm(
11198 out__: *mut *mut C_tensor,
11199 input_: *mut C_tensor,
11200 normalized_shape_data: *const i64,
11201 normalized_shape_len: c_int,
11202 weight_: *mut C_tensor,
11203 bias_: *mut C_tensor,
11204 eps_: f64,
11205 );
11206 pub fn atg_native_layer_norm_out(
11207 out__: *mut *mut C_tensor,
11208 out0_: *mut C_tensor,
11209 out1_: *mut C_tensor,
11210 out2_: *mut C_tensor,
11211 input_: *mut C_tensor,
11212 normalized_shape_data: *const i64,
11213 normalized_shape_len: c_int,
11214 weight_: *mut C_tensor,
11215 bias_: *mut C_tensor,
11216 eps_: f64,
11217 );
11218 pub fn atg_native_norm(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11219 pub fn atg_native_norm_out(
11220 out__: *mut *mut C_tensor,
11221 out_: *mut C_tensor,
11222 self_: *mut C_tensor,
11223 );
11224 pub fn atg_native_norm_scalaropt_dim_dtype(
11225 out__: *mut *mut C_tensor,
11226 self_: *mut C_tensor,
11227 p_: *mut C_scalar,
11228 dim_data: *const i64,
11229 dim_len: c_int,
11230 keepdim_: c_int,
11231 dtype_: c_int,
11232 );
11233 pub fn atg_native_norm_scalaropt_dim_dtype_out(
11234 out__: *mut *mut C_tensor,
11235 out_: *mut C_tensor,
11236 self_: *mut C_tensor,
11237 p_: *mut C_scalar,
11238 dim_data: *const i64,
11239 dim_len: c_int,
11240 keepdim_: c_int,
11241 dtype_: c_int,
11242 );
11243 pub fn atg_ne(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
11244 pub fn atg_ne_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
11245 pub fn atg_ne_scalar_out(
11246 out__: *mut *mut C_tensor,
11247 out_: *mut C_tensor,
11248 self_: *mut C_tensor,
11249 other_: *mut C_scalar,
11250 );
11251 pub fn atg_ne_tensor(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
11252 pub fn atg_ne_tensor_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
11253 pub fn atg_ne_tensor_out(
11254 out__: *mut *mut C_tensor,
11255 out_: *mut C_tensor,
11256 self_: *mut C_tensor,
11257 other_: *mut C_tensor,
11258 );
11259 pub fn atg_neg(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11260 pub fn atg_neg_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11261 pub fn atg_neg_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11262 pub fn atg_negative(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11263 pub fn atg_negative_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11264 pub fn atg_negative_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11265 pub fn atg_nested_to_padded_tensor(
11266 out__: *mut *mut C_tensor,
11267 self_: *mut C_tensor,
11268 padding_: f64,
11269 output_size_data: *const i64,
11270 output_size_len: c_int,
11271 );
11272 pub fn atg_new_empty(
11273 out__: *mut *mut C_tensor,
11274 self_: *mut C_tensor,
11275 size_data: *const i64,
11276 size_len: c_int,
11277 options_kind: c_int,
11278 options_device: c_int,
11279 );
11280 pub fn atg_new_empty_out(
11281 out__: *mut *mut C_tensor,
11282 out_: *mut C_tensor,
11283 self_: *mut C_tensor,
11284 size_data: *const i64,
11285 size_len: c_int,
11286 );
11287 pub fn atg_new_empty_strided(
11288 out__: *mut *mut C_tensor,
11289 self_: *mut C_tensor,
11290 size_data: *const i64,
11291 size_len: c_int,
11292 stride_data: *const i64,
11293 stride_len: c_int,
11294 options_kind: c_int,
11295 options_device: c_int,
11296 );
11297 pub fn atg_new_empty_strided_out(
11298 out__: *mut *mut C_tensor,
11299 out_: *mut C_tensor,
11300 self_: *mut C_tensor,
11301 size_data: *const i64,
11302 size_len: c_int,
11303 stride_data: *const i64,
11304 stride_len: c_int,
11305 );
11306 pub fn atg_new_full(
11307 out__: *mut *mut C_tensor,
11308 self_: *mut C_tensor,
11309 size_data: *const i64,
11310 size_len: c_int,
11311 fill_value_: *mut C_scalar,
11312 options_kind: c_int,
11313 options_device: c_int,
11314 );
11315 pub fn atg_new_full_out(
11316 out__: *mut *mut C_tensor,
11317 out_: *mut C_tensor,
11318 self_: *mut C_tensor,
11319 size_data: *const i64,
11320 size_len: c_int,
11321 fill_value_: *mut C_scalar,
11322 );
11323 pub fn atg_new_ones(
11324 out__: *mut *mut C_tensor,
11325 self_: *mut C_tensor,
11326 size_data: *const i64,
11327 size_len: c_int,
11328 options_kind: c_int,
11329 options_device: c_int,
11330 );
11331 pub fn atg_new_ones_out(
11332 out__: *mut *mut C_tensor,
11333 out_: *mut C_tensor,
11334 self_: *mut C_tensor,
11335 size_data: *const i64,
11336 size_len: c_int,
11337 );
11338 pub fn atg_new_zeros(
11339 out__: *mut *mut C_tensor,
11340 self_: *mut C_tensor,
11341 size_data: *const i64,
11342 size_len: c_int,
11343 options_kind: c_int,
11344 options_device: c_int,
11345 );
11346 pub fn atg_new_zeros_out(
11347 out__: *mut *mut C_tensor,
11348 out_: *mut C_tensor,
11349 self_: *mut C_tensor,
11350 size_data: *const i64,
11351 size_len: c_int,
11352 );
11353 pub fn atg_nextafter(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
11354 pub fn atg_nextafter_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
11355 pub fn atg_nextafter_out(
11356 out__: *mut *mut C_tensor,
11357 out_: *mut C_tensor,
11358 self_: *mut C_tensor,
11359 other_: *mut C_tensor,
11360 );
11361 pub fn atg_nll_loss(
11362 out__: *mut *mut C_tensor,
11363 self_: *mut C_tensor,
11364 target_: *mut C_tensor,
11365 weight_: *mut C_tensor,
11366 reduction_: i64,
11367 ignore_index_: i64,
11368 );
11369 pub fn atg_nll_loss2d(
11370 out__: *mut *mut C_tensor,
11371 self_: *mut C_tensor,
11372 target_: *mut C_tensor,
11373 weight_: *mut C_tensor,
11374 reduction_: i64,
11375 ignore_index_: i64,
11376 );
11377 pub fn atg_nll_loss2d_backward(
11378 out__: *mut *mut C_tensor,
11379 grad_output_: *mut C_tensor,
11380 self_: *mut C_tensor,
11381 target_: *mut C_tensor,
11382 weight_: *mut C_tensor,
11383 reduction_: i64,
11384 ignore_index_: i64,
11385 total_weight_: *mut C_tensor,
11386 );
11387 pub fn atg_nll_loss2d_backward_grad_input(
11388 out__: *mut *mut C_tensor,
11389 grad_input_: *mut C_tensor,
11390 grad_output_: *mut C_tensor,
11391 self_: *mut C_tensor,
11392 target_: *mut C_tensor,
11393 weight_: *mut C_tensor,
11394 reduction_: i64,
11395 ignore_index_: i64,
11396 total_weight_: *mut C_tensor,
11397 );
11398 pub fn atg_nll_loss2d_out(
11399 out__: *mut *mut C_tensor,
11400 out_: *mut C_tensor,
11401 self_: *mut C_tensor,
11402 target_: *mut C_tensor,
11403 weight_: *mut C_tensor,
11404 reduction_: i64,
11405 ignore_index_: i64,
11406 );
11407 pub fn atg_nll_loss_backward(
11408 out__: *mut *mut C_tensor,
11409 grad_output_: *mut C_tensor,
11410 self_: *mut C_tensor,
11411 target_: *mut C_tensor,
11412 weight_: *mut C_tensor,
11413 reduction_: i64,
11414 ignore_index_: i64,
11415 total_weight_: *mut C_tensor,
11416 );
11417 pub fn atg_nll_loss_backward_grad_input(
11418 out__: *mut *mut C_tensor,
11419 grad_input_: *mut C_tensor,
11420 grad_output_: *mut C_tensor,
11421 self_: *mut C_tensor,
11422 target_: *mut C_tensor,
11423 weight_: *mut C_tensor,
11424 reduction_: i64,
11425 ignore_index_: i64,
11426 total_weight_: *mut C_tensor,
11427 );
11428 pub fn atg_nll_loss_nd(
11429 out__: *mut *mut C_tensor,
11430 self_: *mut C_tensor,
11431 target_: *mut C_tensor,
11432 weight_: *mut C_tensor,
11433 reduction_: i64,
11434 ignore_index_: i64,
11435 );
11436 pub fn atg_nll_loss_out(
11437 out__: *mut *mut C_tensor,
11438 out_: *mut C_tensor,
11439 self_: *mut C_tensor,
11440 target_: *mut C_tensor,
11441 weight_: *mut C_tensor,
11442 reduction_: i64,
11443 ignore_index_: i64,
11444 );
11445 pub fn atg_nonzero(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11446 pub fn atg_nonzero_numpy(self_: *mut C_tensor) -> *mut *mut C_tensor;
11447 pub fn atg_nonzero_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11448 pub fn atg_nonzero_static(
11449 out__: *mut *mut C_tensor,
11450 self_: *mut C_tensor,
11451 size_: i64,
11452 fill_value_: i64,
11453 );
11454 pub fn atg_nonzero_static_out(
11455 out__: *mut *mut C_tensor,
11456 out_: *mut C_tensor,
11457 self_: *mut C_tensor,
11458 size_: i64,
11459 fill_value_: i64,
11460 );
11461 pub fn atg_norm(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11462 pub fn atg_norm_dtype_out(
11463 out__: *mut *mut C_tensor,
11464 out_: *mut C_tensor,
11465 self_: *mut C_tensor,
11466 p_: *mut C_scalar,
11467 dim_data: *const i64,
11468 dim_len: c_int,
11469 keepdim_: c_int,
11470 dtype_: c_int,
11471 );
11472 pub fn atg_norm_except_dim(out__: *mut *mut C_tensor, v_: *mut C_tensor, pow_: i64, dim_: i64);
11473 pub fn atg_norm_out(
11474 out__: *mut *mut C_tensor,
11475 out_: *mut C_tensor,
11476 self_: *mut C_tensor,
11477 p_: *mut C_scalar,
11478 dim_data: *const i64,
11479 dim_len: c_int,
11480 keepdim_: c_int,
11481 );
11482 pub fn atg_norm_scalar_out(
11483 out__: *mut *mut C_tensor,
11484 out_: *mut C_tensor,
11485 self_: *mut C_tensor,
11486 );
11487 pub fn atg_norm_scalaropt_dim(
11488 out__: *mut *mut C_tensor,
11489 self_: *mut C_tensor,
11490 p_: *mut C_scalar,
11491 dim_data: *const i64,
11492 dim_len: c_int,
11493 keepdim_: c_int,
11494 );
11495 pub fn atg_norm_scalaropt_dim_dtype(
11496 out__: *mut *mut C_tensor,
11497 self_: *mut C_tensor,
11498 p_: *mut C_scalar,
11499 dim_data: *const i64,
11500 dim_len: c_int,
11501 keepdim_: c_int,
11502 dtype_: c_int,
11503 );
11504 pub fn atg_norm_scalaropt_dtype(
11505 out__: *mut *mut C_tensor,
11506 self_: *mut C_tensor,
11507 p_: *mut C_scalar,
11508 dtype_: c_int,
11509 );
11510 pub fn atg_norm_scalaropt_dtype_out(
11511 out__: *mut *mut C_tensor,
11512 out_: *mut C_tensor,
11513 self_: *mut C_tensor,
11514 p_: *mut C_scalar,
11515 dtype_: c_int,
11516 );
11517 pub fn atg_normal_(out__: *mut *mut C_tensor, self_: *mut C_tensor, mean_: f64, std_: f64);
11518 pub fn atg_normal_functional(
11519 out__: *mut *mut C_tensor,
11520 self_: *mut C_tensor,
11521 mean_: f64,
11522 std_: f64,
11523 );
11524 pub fn atg_not_equal(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
11525 pub fn atg_not_equal_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
11526 pub fn atg_not_equal_scalar_out(
11527 out__: *mut *mut C_tensor,
11528 out_: *mut C_tensor,
11529 self_: *mut C_tensor,
11530 other_: *mut C_scalar,
11531 );
11532 pub fn atg_not_equal_tensor(
11533 out__: *mut *mut C_tensor,
11534 self_: *mut C_tensor,
11535 other_: *mut C_tensor,
11536 );
11537 pub fn atg_not_equal_tensor_(
11538 out__: *mut *mut C_tensor,
11539 self_: *mut C_tensor,
11540 other_: *mut C_tensor,
11541 );
11542 pub fn atg_not_equal_tensor_out(
11543 out__: *mut *mut C_tensor,
11544 out_: *mut C_tensor,
11545 self_: *mut C_tensor,
11546 other_: *mut C_tensor,
11547 );
11548 pub fn atg_nuclear_norm(out__: *mut *mut C_tensor, self_: *mut C_tensor, keepdim_: c_int);
11549 pub fn atg_nuclear_norm_dim(
11550 out__: *mut *mut C_tensor,
11551 self_: *mut C_tensor,
11552 dim_data: *const i64,
11553 dim_len: c_int,
11554 keepdim_: c_int,
11555 );
11556 pub fn atg_nuclear_norm_dim_out(
11557 out__: *mut *mut C_tensor,
11558 out_: *mut C_tensor,
11559 self_: *mut C_tensor,
11560 dim_data: *const i64,
11561 dim_len: c_int,
11562 keepdim_: c_int,
11563 );
11564 pub fn atg_nuclear_norm_out(
11565 out__: *mut *mut C_tensor,
11566 out_: *mut C_tensor,
11567 self_: *mut C_tensor,
11568 keepdim_: c_int,
11569 );
11570 pub fn atg_numpy_t(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11571 pub fn atg_one_hot(out__: *mut *mut C_tensor, self_: *mut C_tensor, num_classes_: i64);
11572 pub fn atg_ones(
11573 out__: *mut *mut C_tensor,
11574 size_data: *const i64,
11575 size_len: c_int,
11576 options_kind: c_int,
11577 options_device: c_int,
11578 );
11579 pub fn atg_ones_like(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11580 pub fn atg_ones_like_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11581 pub fn atg_ones_out(
11582 out__: *mut *mut C_tensor,
11583 out_: *mut C_tensor,
11584 size_data: *const i64,
11585 size_len: c_int,
11586 );
11587 pub fn atg_orgqr(out__: *mut *mut C_tensor, self_: *mut C_tensor, input2_: *mut C_tensor);
11588 pub fn atg_orgqr_out(
11589 out__: *mut *mut C_tensor,
11590 out_: *mut C_tensor,
11591 self_: *mut C_tensor,
11592 input2_: *mut C_tensor,
11593 );
11594 pub fn atg_ormqr(
11595 out__: *mut *mut C_tensor,
11596 self_: *mut C_tensor,
11597 input2_: *mut C_tensor,
11598 input3_: *mut C_tensor,
11599 left_: c_int,
11600 transpose_: c_int,
11601 );
11602 pub fn atg_ormqr_out(
11603 out__: *mut *mut C_tensor,
11604 out_: *mut C_tensor,
11605 self_: *mut C_tensor,
11606 input2_: *mut C_tensor,
11607 input3_: *mut C_tensor,
11608 left_: c_int,
11609 transpose_: c_int,
11610 );
11611 pub fn atg_outer(out__: *mut *mut C_tensor, self_: *mut C_tensor, vec2_: *mut C_tensor);
11612 pub fn atg_outer_out(
11613 out__: *mut *mut C_tensor,
11614 out_: *mut C_tensor,
11615 self_: *mut C_tensor,
11616 vec2_: *mut C_tensor,
11617 );
11618 pub fn atg_output_nr(self_: *mut C_tensor) -> i64;
11619 pub fn atg_pad(
11620 out__: *mut *mut C_tensor,
11621 self_: *mut C_tensor,
11622 pad_data: *const i64,
11623 pad_len: c_int,
11624 mode_ptr: *const u8,
11625 mode_len: c_int,
11626 value_v: f64,
11627 value_null: i8,
11628 );
11629 pub fn atg_pad_sequence(
11630 out__: *mut *mut C_tensor,
11631 sequences_data: *const *mut C_tensor,
11632 sequences_len: c_int,
11633 batch_first_: c_int,
11634 padding_value_: f64,
11635 padding_side_ptr: *const u8,
11636 padding_side_len: c_int,
11637 );
11638 pub fn atg_pairwise_distance(
11639 out__: *mut *mut C_tensor,
11640 x1_: *mut C_tensor,
11641 x2_: *mut C_tensor,
11642 p_: f64,
11643 eps_: f64,
11644 keepdim_: c_int,
11645 );
11646 pub fn atg_pdist(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: f64);
11647 pub fn atg_permute(
11648 out__: *mut *mut C_tensor,
11649 self_: *mut C_tensor,
11650 dims_data: *const i64,
11651 dims_len: c_int,
11652 );
11653 pub fn atg_permute_copy(
11654 out__: *mut *mut C_tensor,
11655 self_: *mut C_tensor,
11656 dims_data: *const i64,
11657 dims_len: c_int,
11658 );
11659 pub fn atg_permute_copy_out(
11660 out__: *mut *mut C_tensor,
11661 out_: *mut C_tensor,
11662 self_: *mut C_tensor,
11663 dims_data: *const i64,
11664 dims_len: c_int,
11665 );
11666 pub fn atg_pin_memory(out__: *mut *mut C_tensor, self_: *mut C_tensor, device_: c_int);
11667 pub fn atg_pinverse(out__: *mut *mut C_tensor, self_: *mut C_tensor, rcond_: f64);
11668 pub fn atg_pixel_shuffle(out__: *mut *mut C_tensor, self_: *mut C_tensor, upscale_factor_: i64);
11669 pub fn atg_pixel_shuffle_out(
11670 out__: *mut *mut C_tensor,
11671 out_: *mut C_tensor,
11672 self_: *mut C_tensor,
11673 upscale_factor_: i64,
11674 );
11675 pub fn atg_pixel_unshuffle(
11676 out__: *mut *mut C_tensor,
11677 self_: *mut C_tensor,
11678 downscale_factor_: i64,
11679 );
11680 pub fn atg_pixel_unshuffle_out(
11681 out__: *mut *mut C_tensor,
11682 out_: *mut C_tensor,
11683 self_: *mut C_tensor,
11684 downscale_factor_: i64,
11685 );
11686 pub fn atg_poisson(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11687 pub fn atg_poisson_nll_loss(
11688 out__: *mut *mut C_tensor,
11689 input_: *mut C_tensor,
11690 target_: *mut C_tensor,
11691 log_input_: c_int,
11692 full_: c_int,
11693 eps_: f64,
11694 reduction_: i64,
11695 );
11696 pub fn atg_poisson_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
11697 pub fn atg_polar(out__: *mut *mut C_tensor, abs_: *mut C_tensor, angle_: *mut C_tensor);
11698 pub fn atg_polar_out(
11699 out__: *mut *mut C_tensor,
11700 out_: *mut C_tensor,
11701 abs_: *mut C_tensor,
11702 angle_: *mut C_tensor,
11703 );
11704 pub fn atg_polygamma(out__: *mut *mut C_tensor, n_: i64, self_: *mut C_tensor);
11705 pub fn atg_polygamma_(out__: *mut *mut C_tensor, self_: *mut C_tensor, n_: i64);
11706 pub fn atg_polygamma_out(
11707 out__: *mut *mut C_tensor,
11708 out_: *mut C_tensor,
11709 n_: i64,
11710 self_: *mut C_tensor,
11711 );
11712 pub fn atg_positive(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11713 pub fn atg_pow(out__: *mut *mut C_tensor, self_: *mut C_tensor, exponent_: *mut C_tensor);
11714 pub fn atg_pow_(out__: *mut *mut C_tensor, self_: *mut C_tensor, exponent_: *mut C_scalar);
11715 pub fn atg_pow_scalar(
11716 out__: *mut *mut C_tensor,
11717 self_scalar_: *mut C_scalar,
11718 exponent_: *mut C_tensor,
11719 );
11720 pub fn atg_pow_scalar_out(
11721 out__: *mut *mut C_tensor,
11722 out_: *mut C_tensor,
11723 self_scalar_: *mut C_scalar,
11724 exponent_: *mut C_tensor,
11725 );
11726 pub fn atg_pow_tensor_(
11727 out__: *mut *mut C_tensor,
11728 self_: *mut C_tensor,
11729 exponent_: *mut C_tensor,
11730 );
11731 pub fn atg_pow_tensor_scalar(
11732 out__: *mut *mut C_tensor,
11733 self_: *mut C_tensor,
11734 exponent_: *mut C_scalar,
11735 );
11736 pub fn atg_pow_tensor_scalar_out(
11737 out__: *mut *mut C_tensor,
11738 out_: *mut C_tensor,
11739 self_: *mut C_tensor,
11740 exponent_: *mut C_scalar,
11741 );
11742 pub fn atg_pow_tensor_tensor_out(
11743 out__: *mut *mut C_tensor,
11744 out_: *mut C_tensor,
11745 self_: *mut C_tensor,
11746 exponent_: *mut C_tensor,
11747 );
11748 pub fn atg_prelu(out__: *mut *mut C_tensor, self_: *mut C_tensor, weight_: *mut C_tensor);
11749 pub fn atg_prod(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
11750 pub fn atg_prod_dim_int(
11751 out__: *mut *mut C_tensor,
11752 self_: *mut C_tensor,
11753 dim_: i64,
11754 keepdim_: c_int,
11755 dtype_: c_int,
11756 );
11757 pub fn atg_prod_int_out(
11758 out__: *mut *mut C_tensor,
11759 out_: *mut C_tensor,
11760 self_: *mut C_tensor,
11761 dim_: i64,
11762 keepdim_: c_int,
11763 dtype_: c_int,
11764 );
11765 pub fn atg_prod_out(
11766 out__: *mut *mut C_tensor,
11767 out_: *mut C_tensor,
11768 self_: *mut C_tensor,
11769 dtype_: c_int,
11770 );
11771 pub fn atg_put(
11772 out__: *mut *mut C_tensor,
11773 self_: *mut C_tensor,
11774 index_: *mut C_tensor,
11775 source_: *mut C_tensor,
11776 accumulate_: c_int,
11777 );
11778 pub fn atg_put_(
11779 out__: *mut *mut C_tensor,
11780 self_: *mut C_tensor,
11781 index_: *mut C_tensor,
11782 source_: *mut C_tensor,
11783 accumulate_: c_int,
11784 );
11785 pub fn atg_put_out(
11786 out__: *mut *mut C_tensor,
11787 out_: *mut C_tensor,
11788 self_: *mut C_tensor,
11789 index_: *mut C_tensor,
11790 source_: *mut C_tensor,
11791 accumulate_: c_int,
11792 );
11793 pub fn atg_q_per_channel_axis(self_: *mut C_tensor) -> i64;
11794 pub fn atg_q_per_channel_scales(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11795 pub fn atg_q_per_channel_scales_out(
11796 out__: *mut *mut C_tensor,
11797 out_: *mut C_tensor,
11798 self_: *mut C_tensor,
11799 );
11800 pub fn atg_q_per_channel_zero_points(out__: *mut *mut C_tensor, self_: *mut C_tensor);
11801 pub fn atg_q_per_channel_zero_points_out(
11802 out__: *mut *mut C_tensor,
11803 out_: *mut C_tensor,
11804 self_: *mut C_tensor,
11805 );
11806 pub fn atg_q_scale(self_: *mut C_tensor) -> f64;
11807 pub fn atg_q_zero_point(self_: *mut C_tensor) -> i64;
11808 pub fn atg_qr(out__: *mut *mut C_tensor, self_: *mut C_tensor, some_: c_int);
11809 pub fn atg_qr_q(
11810 out__: *mut *mut C_tensor,
11811 Q_: *mut C_tensor,
11812 R_: *mut C_tensor,
11813 self_: *mut C_tensor,
11814 some_: c_int,
11815 );
11816 pub fn atg_quantile(
11817 out__: *mut *mut C_tensor,
11818 self_: *mut C_tensor,
11819 q_: *mut C_tensor,
11820 dim_v: i64,
11821 dim_null: i8,
11822 keepdim_: c_int,
11823 interpolation_ptr: *const u8,
11824 interpolation_len: c_int,
11825 );
11826 pub fn atg_quantile_out(
11827 out__: *mut *mut C_tensor,
11828 out_: *mut C_tensor,
11829 self_: *mut C_tensor,
11830 q_: *mut C_tensor,
11831 dim_v: i64,
11832 dim_null: i8,
11833 keepdim_: c_int,
11834 interpolation_ptr: *const u8,
11835 interpolation_len: c_int,
11836 );
11837 pub fn atg_quantile_scalar(
11838 out__: *mut *mut C_tensor,
11839 self_: *mut C_tensor,
11840 q_: f64,
11841 dim_v: i64,
11842 dim_null: i8,
11843 keepdim_: c_int,
11844 interpolation_ptr: *const u8,
11845 interpolation_len: c_int,
11846 );
11847 pub fn atg_quantile_scalar_out(
11848 out__: *mut *mut C_tensor,
11849 out_: *mut C_tensor,
11850 self_: *mut C_tensor,
11851 q_: f64,
11852 dim_v: i64,
11853 dim_null: i8,
11854 keepdim_: c_int,
11855 interpolation_ptr: *const u8,
11856 interpolation_len: c_int,
11857 );
11858 pub fn atg_quantize_per_channel(
11859 out__: *mut *mut C_tensor,
11860 self_: *mut C_tensor,
11861 scales_: *mut C_tensor,
11862 zero_points_: *mut C_tensor,
11863 axis_: i64,
11864 dtype_: c_int,
11865 );
11866 pub fn atg_quantize_per_channel_out(
11867 out__: *mut *mut C_tensor,
11868 out_: *mut C_tensor,
11869 self_: *mut C_tensor,
11870 scales_: *mut C_tensor,
11871 zero_points_: *mut C_tensor,
11872 axis_: i64,
11873 dtype_: c_int,
11874 );
11875 pub fn atg_quantize_per_tensor(
11876 out__: *mut *mut C_tensor,
11877 self_: *mut C_tensor,
11878 scale_: f64,
11879 zero_point_: i64,
11880 dtype_: c_int,
11881 );
11882 pub fn atg_quantize_per_tensor_dynamic(
11883 out__: *mut *mut C_tensor,
11884 self_: *mut C_tensor,
11885 dtype_: c_int,
11886 reduce_range_: c_int,
11887 );
11888 pub fn atg_quantize_per_tensor_dynamic_out(
11889 out__: *mut *mut C_tensor,
11890 out_: *mut C_tensor,
11891 self_: *mut C_tensor,
11892 dtype_: c_int,
11893 reduce_range_: c_int,
11894 );
11895 pub fn atg_quantize_per_tensor_out(
11896 out__: *mut *mut C_tensor,
11897 out_: *mut C_tensor,
11898 self_: *mut C_tensor,
11899 scale_: f64,
11900 zero_point_: i64,
11901 dtype_: c_int,
11902 );
11903 pub fn atg_quantize_per_tensor_tensor_qparams(
11904 out__: *mut *mut C_tensor,
11905 self_: *mut C_tensor,
11906 scale_: *mut C_tensor,
11907 zero_point_: *mut C_tensor,
11908 dtype_: c_int,
11909 );
11910 pub fn atg_quantize_per_tensor_tensor_qparams_out(
11911 out__: *mut *mut C_tensor,
11912 out_: *mut C_tensor,
11913 self_: *mut C_tensor,
11914 scale_: *mut C_tensor,
11915 zero_point_: *mut C_tensor,
11916 dtype_: c_int,
11917 );
11918 pub fn atg_quantize_per_tensor_tensors(
11919 tensors_data: *const *mut C_tensor,
11920 tensors_len: c_int,
11921 scales_: *mut C_tensor,
11922 zero_points_: *mut C_tensor,
11923 dtype_: c_int,
11924 ) -> *mut *mut C_tensor;
11925 pub fn atg_quantize_per_tensor_tensors_out(
11926 out_data: *const *mut C_tensor,
11927 out_len: c_int,
11928 tensors_data: *const *mut C_tensor,
11929 tensors_len: c_int,
11930 scales_: *mut C_tensor,
11931 zero_points_: *mut C_tensor,
11932 dtype_: c_int,
11933 );
11934 pub fn atg_quantized_batch_norm(
11935 out__: *mut *mut C_tensor,
11936 input_: *mut C_tensor,
11937 weight_: *mut C_tensor,
11938 bias_: *mut C_tensor,
11939 mean_: *mut C_tensor,
11940 var_: *mut C_tensor,
11941 eps_: f64,
11942 output_scale_: f64,
11943 output_zero_point_: i64,
11944 );
11945 pub fn atg_quantized_batch_norm_out(
11946 out__: *mut *mut C_tensor,
11947 out_: *mut C_tensor,
11948 input_: *mut C_tensor,
11949 weight_: *mut C_tensor,
11950 bias_: *mut C_tensor,
11951 mean_: *mut C_tensor,
11952 var_: *mut C_tensor,
11953 eps_: f64,
11954 output_scale_: f64,
11955 output_zero_point_: i64,
11956 );
11957 pub fn atg_quantized_gru_cell(
11958 out__: *mut *mut C_tensor,
11959 input_: *mut C_tensor,
11960 hx_: *mut C_tensor,
11961 w_ih_: *mut C_tensor,
11962 w_hh_: *mut C_tensor,
11963 b_ih_: *mut C_tensor,
11964 b_hh_: *mut C_tensor,
11965 packed_ih_: *mut C_tensor,
11966 packed_hh_: *mut C_tensor,
11967 col_offsets_ih_: *mut C_tensor,
11968 col_offsets_hh_: *mut C_tensor,
11969 scale_ih_: *mut C_scalar,
11970 scale_hh_: *mut C_scalar,
11971 zero_point_ih_: *mut C_scalar,
11972 zero_point_hh_: *mut C_scalar,
11973 );
11974 pub fn atg_quantized_lstm_cell(
11975 out__: *mut *mut C_tensor,
11976 input_: *mut C_tensor,
11977 hx_data: *const *mut C_tensor,
11978 hx_len: c_int,
11979 w_ih_: *mut C_tensor,
11980 w_hh_: *mut C_tensor,
11981 b_ih_: *mut C_tensor,
11982 b_hh_: *mut C_tensor,
11983 packed_ih_: *mut C_tensor,
11984 packed_hh_: *mut C_tensor,
11985 col_offsets_ih_: *mut C_tensor,
11986 col_offsets_hh_: *mut C_tensor,
11987 scale_ih_: *mut C_scalar,
11988 scale_hh_: *mut C_scalar,
11989 zero_point_ih_: *mut C_scalar,
11990 zero_point_hh_: *mut C_scalar,
11991 );
11992 pub fn atg_quantized_max_pool1d(
11993 out__: *mut *mut C_tensor,
11994 self_: *mut C_tensor,
11995 kernel_size_data: *const i64,
11996 kernel_size_len: c_int,
11997 stride_data: *const i64,
11998 stride_len: c_int,
11999 padding_data: *const i64,
12000 padding_len: c_int,
12001 dilation_data: *const i64,
12002 dilation_len: c_int,
12003 ceil_mode_: c_int,
12004 );
12005 pub fn atg_quantized_max_pool1d_out(
12006 out__: *mut *mut C_tensor,
12007 out_: *mut C_tensor,
12008 self_: *mut C_tensor,
12009 kernel_size_data: *const i64,
12010 kernel_size_len: c_int,
12011 stride_data: *const i64,
12012 stride_len: c_int,
12013 padding_data: *const i64,
12014 padding_len: c_int,
12015 dilation_data: *const i64,
12016 dilation_len: c_int,
12017 ceil_mode_: c_int,
12018 );
12019 pub fn atg_quantized_max_pool2d(
12020 out__: *mut *mut C_tensor,
12021 self_: *mut C_tensor,
12022 kernel_size_data: *const i64,
12023 kernel_size_len: c_int,
12024 stride_data: *const i64,
12025 stride_len: c_int,
12026 padding_data: *const i64,
12027 padding_len: c_int,
12028 dilation_data: *const i64,
12029 dilation_len: c_int,
12030 ceil_mode_: c_int,
12031 );
12032 pub fn atg_quantized_max_pool2d_out(
12033 out__: *mut *mut C_tensor,
12034 out_: *mut C_tensor,
12035 self_: *mut C_tensor,
12036 kernel_size_data: *const i64,
12037 kernel_size_len: c_int,
12038 stride_data: *const i64,
12039 stride_len: c_int,
12040 padding_data: *const i64,
12041 padding_len: c_int,
12042 dilation_data: *const i64,
12043 dilation_len: c_int,
12044 ceil_mode_: c_int,
12045 );
12046 pub fn atg_quantized_max_pool3d(
12047 out__: *mut *mut C_tensor,
12048 self_: *mut C_tensor,
12049 kernel_size_data: *const i64,
12050 kernel_size_len: c_int,
12051 stride_data: *const i64,
12052 stride_len: c_int,
12053 padding_data: *const i64,
12054 padding_len: c_int,
12055 dilation_data: *const i64,
12056 dilation_len: c_int,
12057 ceil_mode_: c_int,
12058 );
12059 pub fn atg_quantized_max_pool3d_out(
12060 out__: *mut *mut C_tensor,
12061 out_: *mut C_tensor,
12062 self_: *mut C_tensor,
12063 kernel_size_data: *const i64,
12064 kernel_size_len: c_int,
12065 stride_data: *const i64,
12066 stride_len: c_int,
12067 padding_data: *const i64,
12068 padding_len: c_int,
12069 dilation_data: *const i64,
12070 dilation_len: c_int,
12071 ceil_mode_: c_int,
12072 );
12073 pub fn atg_quantized_rnn_relu_cell(
12074 out__: *mut *mut C_tensor,
12075 input_: *mut C_tensor,
12076 hx_: *mut C_tensor,
12077 w_ih_: *mut C_tensor,
12078 w_hh_: *mut C_tensor,
12079 b_ih_: *mut C_tensor,
12080 b_hh_: *mut C_tensor,
12081 packed_ih_: *mut C_tensor,
12082 packed_hh_: *mut C_tensor,
12083 col_offsets_ih_: *mut C_tensor,
12084 col_offsets_hh_: *mut C_tensor,
12085 scale_ih_: *mut C_scalar,
12086 scale_hh_: *mut C_scalar,
12087 zero_point_ih_: *mut C_scalar,
12088 zero_point_hh_: *mut C_scalar,
12089 );
12090 pub fn atg_quantized_rnn_tanh_cell(
12091 out__: *mut *mut C_tensor,
12092 input_: *mut C_tensor,
12093 hx_: *mut C_tensor,
12094 w_ih_: *mut C_tensor,
12095 w_hh_: *mut C_tensor,
12096 b_ih_: *mut C_tensor,
12097 b_hh_: *mut C_tensor,
12098 packed_ih_: *mut C_tensor,
12099 packed_hh_: *mut C_tensor,
12100 col_offsets_ih_: *mut C_tensor,
12101 col_offsets_hh_: *mut C_tensor,
12102 scale_ih_: *mut C_scalar,
12103 scale_hh_: *mut C_scalar,
12104 zero_point_ih_: *mut C_scalar,
12105 zero_point_hh_: *mut C_scalar,
12106 );
12107 pub fn atg_rad2deg(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12108 pub fn atg_rad2deg_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12109 pub fn atg_rad2deg_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12110 pub fn atg_rand(
12111 out__: *mut *mut C_tensor,
12112 size_data: *const i64,
12113 size_len: c_int,
12114 options_kind: c_int,
12115 options_device: c_int,
12116 );
12117 pub fn atg_rand_like(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12118 pub fn atg_rand_like_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12119 pub fn atg_rand_out(
12120 out__: *mut *mut C_tensor,
12121 out_: *mut C_tensor,
12122 size_data: *const i64,
12123 size_len: c_int,
12124 );
12125 pub fn atg_randint(
12126 out__: *mut *mut C_tensor,
12127 high_: i64,
12128 size_data: *const i64,
12129 size_len: c_int,
12130 options_kind: c_int,
12131 options_device: c_int,
12132 );
12133 pub fn atg_randint_like(out__: *mut *mut C_tensor, self_: *mut C_tensor, high_: i64);
12134 pub fn atg_randint_like_low_dtype(
12135 out__: *mut *mut C_tensor,
12136 self_: *mut C_tensor,
12137 low_: i64,
12138 high_: i64,
12139 );
12140 pub fn atg_randint_like_low_dtype_out(
12141 out__: *mut *mut C_tensor,
12142 out_: *mut C_tensor,
12143 self_: *mut C_tensor,
12144 low_: i64,
12145 high_: i64,
12146 );
12147 pub fn atg_randint_like_out(
12148 out__: *mut *mut C_tensor,
12149 out_: *mut C_tensor,
12150 self_: *mut C_tensor,
12151 high_: i64,
12152 );
12153 pub fn atg_randint_like_tensor(
12154 out__: *mut *mut C_tensor,
12155 self_: *mut C_tensor,
12156 high_: *mut C_tensor,
12157 );
12158 pub fn atg_randint_like_tensor_out(
12159 out__: *mut *mut C_tensor,
12160 out_: *mut C_tensor,
12161 self_: *mut C_tensor,
12162 high_: *mut C_tensor,
12163 );
12164 pub fn atg_randint_low(
12165 out__: *mut *mut C_tensor,
12166 low_: i64,
12167 high_: i64,
12168 size_data: *const i64,
12169 size_len: c_int,
12170 options_kind: c_int,
12171 options_device: c_int,
12172 );
12173 pub fn atg_randint_low_out(
12174 out__: *mut *mut C_tensor,
12175 out_: *mut C_tensor,
12176 low_: i64,
12177 high_: i64,
12178 size_data: *const i64,
12179 size_len: c_int,
12180 );
12181 pub fn atg_randint_out(
12182 out__: *mut *mut C_tensor,
12183 out_: *mut C_tensor,
12184 high_: i64,
12185 size_data: *const i64,
12186 size_len: c_int,
12187 );
12188 pub fn atg_randn(
12189 out__: *mut *mut C_tensor,
12190 size_data: *const i64,
12191 size_len: c_int,
12192 options_kind: c_int,
12193 options_device: c_int,
12194 );
12195 pub fn atg_randn_like(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12196 pub fn atg_randn_like_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12197 pub fn atg_randn_out(
12198 out__: *mut *mut C_tensor,
12199 out_: *mut C_tensor,
12200 size_data: *const i64,
12201 size_len: c_int,
12202 );
12203 pub fn atg_random(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12204 pub fn atg_random_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12205 pub fn atg_random_from(
12206 out__: *mut *mut C_tensor,
12207 self_: *mut C_tensor,
12208 from_: i64,
12209 to_v: i64,
12210 to_null: i8,
12211 );
12212 pub fn atg_random_from_(
12213 out__: *mut *mut C_tensor,
12214 self_: *mut C_tensor,
12215 from_: i64,
12216 to_v: i64,
12217 to_null: i8,
12218 );
12219 pub fn atg_random_from_out(
12220 out__: *mut *mut C_tensor,
12221 out_: *mut C_tensor,
12222 self_: *mut C_tensor,
12223 from_: i64,
12224 to_v: i64,
12225 to_null: i8,
12226 );
12227 pub fn atg_random_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12228 pub fn atg_random_to(out__: *mut *mut C_tensor, self_: *mut C_tensor, to_: i64);
12229 pub fn atg_random_to_(out__: *mut *mut C_tensor, self_: *mut C_tensor, to_: i64);
12230 pub fn atg_random_to_out(
12231 out__: *mut *mut C_tensor,
12232 out_: *mut C_tensor,
12233 self_: *mut C_tensor,
12234 to_: i64,
12235 );
12236 pub fn atg_randperm(
12237 out__: *mut *mut C_tensor,
12238 n_: i64,
12239 options_kind: c_int,
12240 options_device: c_int,
12241 );
12242 pub fn atg_randperm_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, n_: i64);
12243 pub fn atg_range(
12244 out__: *mut *mut C_tensor,
12245 start_: *mut C_scalar,
12246 end_: *mut C_scalar,
12247 options_kind: c_int,
12248 options_device: c_int,
12249 );
12250 pub fn atg_range_out(
12251 out__: *mut *mut C_tensor,
12252 out_: *mut C_tensor,
12253 start_: *mut C_scalar,
12254 end_: *mut C_scalar,
12255 );
12256 pub fn atg_range_out_(
12257 out__: *mut *mut C_tensor,
12258 out_: *mut C_tensor,
12259 start_: *mut C_scalar,
12260 end_: *mut C_scalar,
12261 );
12262 pub fn atg_range_step(
12263 out__: *mut *mut C_tensor,
12264 start_: *mut C_scalar,
12265 end_: *mut C_scalar,
12266 options_kind: c_int,
12267 options_device: c_int,
12268 );
12269 pub fn atg_ravel(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12270 pub fn atg_real(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12271 pub fn atg_reciprocal(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12272 pub fn atg_reciprocal_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12273 pub fn atg_reciprocal_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12274 pub fn atg_reflection_pad1d(
12275 out__: *mut *mut C_tensor,
12276 self_: *mut C_tensor,
12277 padding_data: *const i64,
12278 padding_len: c_int,
12279 );
12280 pub fn atg_reflection_pad1d_backward(
12281 out__: *mut *mut C_tensor,
12282 grad_output_: *mut C_tensor,
12283 self_: *mut C_tensor,
12284 padding_data: *const i64,
12285 padding_len: c_int,
12286 );
12287 pub fn atg_reflection_pad1d_backward_grad_input(
12288 out__: *mut *mut C_tensor,
12289 grad_input_: *mut C_tensor,
12290 grad_output_: *mut C_tensor,
12291 self_: *mut C_tensor,
12292 padding_data: *const i64,
12293 padding_len: c_int,
12294 );
12295 pub fn atg_reflection_pad1d_out(
12296 out__: *mut *mut C_tensor,
12297 out_: *mut C_tensor,
12298 self_: *mut C_tensor,
12299 padding_data: *const i64,
12300 padding_len: c_int,
12301 );
12302 pub fn atg_reflection_pad2d(
12303 out__: *mut *mut C_tensor,
12304 self_: *mut C_tensor,
12305 padding_data: *const i64,
12306 padding_len: c_int,
12307 );
12308 pub fn atg_reflection_pad2d_backward(
12309 out__: *mut *mut C_tensor,
12310 grad_output_: *mut C_tensor,
12311 self_: *mut C_tensor,
12312 padding_data: *const i64,
12313 padding_len: c_int,
12314 );
12315 pub fn atg_reflection_pad2d_backward_grad_input(
12316 out__: *mut *mut C_tensor,
12317 grad_input_: *mut C_tensor,
12318 grad_output_: *mut C_tensor,
12319 self_: *mut C_tensor,
12320 padding_data: *const i64,
12321 padding_len: c_int,
12322 );
12323 pub fn atg_reflection_pad2d_out(
12324 out__: *mut *mut C_tensor,
12325 out_: *mut C_tensor,
12326 self_: *mut C_tensor,
12327 padding_data: *const i64,
12328 padding_len: c_int,
12329 );
12330 pub fn atg_reflection_pad3d(
12331 out__: *mut *mut C_tensor,
12332 self_: *mut C_tensor,
12333 padding_data: *const i64,
12334 padding_len: c_int,
12335 );
12336 pub fn atg_reflection_pad3d_backward(
12337 out__: *mut *mut C_tensor,
12338 grad_output_: *mut C_tensor,
12339 self_: *mut C_tensor,
12340 padding_data: *const i64,
12341 padding_len: c_int,
12342 );
12343 pub fn atg_reflection_pad3d_backward_grad_input(
12344 out__: *mut *mut C_tensor,
12345 grad_input_: *mut C_tensor,
12346 grad_output_: *mut C_tensor,
12347 self_: *mut C_tensor,
12348 padding_data: *const i64,
12349 padding_len: c_int,
12350 );
12351 pub fn atg_reflection_pad3d_out(
12352 out__: *mut *mut C_tensor,
12353 out_: *mut C_tensor,
12354 self_: *mut C_tensor,
12355 padding_data: *const i64,
12356 padding_len: c_int,
12357 );
12358 pub fn atg_relu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12359 pub fn atg_relu6(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12360 pub fn atg_relu6_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12361 pub fn atg_relu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12362 pub fn atg_relu_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12363 pub fn atg_remainder(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
12364 pub fn atg_remainder_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
12365 pub fn atg_remainder_scalar_out(
12366 out__: *mut *mut C_tensor,
12367 out_: *mut C_tensor,
12368 self_: *mut C_tensor,
12369 other_: *mut C_scalar,
12370 );
12371 pub fn atg_remainder_scalar_tensor(
12372 out__: *mut *mut C_tensor,
12373 self_scalar_: *mut C_scalar,
12374 other_: *mut C_tensor,
12375 );
12376 pub fn atg_remainder_scalar_tensor_out(
12377 out__: *mut *mut C_tensor,
12378 out_: *mut C_tensor,
12379 self_scalar_: *mut C_scalar,
12380 other_: *mut C_tensor,
12381 );
12382 pub fn atg_remainder_tensor(
12383 out__: *mut *mut C_tensor,
12384 self_: *mut C_tensor,
12385 other_: *mut C_tensor,
12386 );
12387 pub fn atg_remainder_tensor_(
12388 out__: *mut *mut C_tensor,
12389 self_: *mut C_tensor,
12390 other_: *mut C_tensor,
12391 );
12392 pub fn atg_remainder_tensor_out(
12393 out__: *mut *mut C_tensor,
12394 out_: *mut C_tensor,
12395 self_: *mut C_tensor,
12396 other_: *mut C_tensor,
12397 );
12398 pub fn atg_renorm(
12399 out__: *mut *mut C_tensor,
12400 self_: *mut C_tensor,
12401 p_: *mut C_scalar,
12402 dim_: i64,
12403 maxnorm_: *mut C_scalar,
12404 );
12405 pub fn atg_renorm_(
12406 out__: *mut *mut C_tensor,
12407 self_: *mut C_tensor,
12408 p_: *mut C_scalar,
12409 dim_: i64,
12410 maxnorm_: *mut C_scalar,
12411 );
12412 pub fn atg_renorm_out(
12413 out__: *mut *mut C_tensor,
12414 out_: *mut C_tensor,
12415 self_: *mut C_tensor,
12416 p_: *mut C_scalar,
12417 dim_: i64,
12418 maxnorm_: *mut C_scalar,
12419 );
12420 pub fn atg_repeat(
12421 out__: *mut *mut C_tensor,
12422 self_: *mut C_tensor,
12423 repeats_data: *const i64,
12424 repeats_len: c_int,
12425 );
12426 pub fn atg_repeat_interleave(
12427 out__: *mut *mut C_tensor,
12428 repeats_: *mut C_tensor,
12429 output_size_v: i64,
12430 output_size_null: i8,
12431 );
12432 pub fn atg_repeat_interleave_self_int(
12433 out__: *mut *mut C_tensor,
12434 self_: *mut C_tensor,
12435 repeats_: i64,
12436 dim_v: i64,
12437 dim_null: i8,
12438 output_size_v: i64,
12439 output_size_null: i8,
12440 );
12441 pub fn atg_repeat_interleave_self_tensor(
12442 out__: *mut *mut C_tensor,
12443 self_: *mut C_tensor,
12444 repeats_: *mut C_tensor,
12445 dim_v: i64,
12446 dim_null: i8,
12447 output_size_v: i64,
12448 output_size_null: i8,
12449 );
12450 pub fn atg_repeat_interleave_tensor_out(
12451 out__: *mut *mut C_tensor,
12452 out_: *mut C_tensor,
12453 repeats_: *mut C_tensor,
12454 output_size_v: i64,
12455 output_size_null: i8,
12456 );
12457 pub fn atg_repeat_out(
12458 out__: *mut *mut C_tensor,
12459 out_: *mut C_tensor,
12460 self_: *mut C_tensor,
12461 repeats_data: *const i64,
12462 repeats_len: c_int,
12463 );
12464 pub fn atg_replication_pad1d(
12465 out__: *mut *mut C_tensor,
12466 self_: *mut C_tensor,
12467 padding_data: *const i64,
12468 padding_len: c_int,
12469 );
12470 pub fn atg_replication_pad1d_backward(
12471 out__: *mut *mut C_tensor,
12472 grad_output_: *mut C_tensor,
12473 self_: *mut C_tensor,
12474 padding_data: *const i64,
12475 padding_len: c_int,
12476 );
12477 pub fn atg_replication_pad1d_backward_grad_input(
12478 out__: *mut *mut C_tensor,
12479 grad_input_: *mut C_tensor,
12480 grad_output_: *mut C_tensor,
12481 self_: *mut C_tensor,
12482 padding_data: *const i64,
12483 padding_len: c_int,
12484 );
12485 pub fn atg_replication_pad1d_out(
12486 out__: *mut *mut C_tensor,
12487 out_: *mut C_tensor,
12488 self_: *mut C_tensor,
12489 padding_data: *const i64,
12490 padding_len: c_int,
12491 );
12492 pub fn atg_replication_pad2d(
12493 out__: *mut *mut C_tensor,
12494 self_: *mut C_tensor,
12495 padding_data: *const i64,
12496 padding_len: c_int,
12497 );
12498 pub fn atg_replication_pad2d_backward(
12499 out__: *mut *mut C_tensor,
12500 grad_output_: *mut C_tensor,
12501 self_: *mut C_tensor,
12502 padding_data: *const i64,
12503 padding_len: c_int,
12504 );
12505 pub fn atg_replication_pad2d_backward_grad_input(
12506 out__: *mut *mut C_tensor,
12507 grad_input_: *mut C_tensor,
12508 grad_output_: *mut C_tensor,
12509 self_: *mut C_tensor,
12510 padding_data: *const i64,
12511 padding_len: c_int,
12512 );
12513 pub fn atg_replication_pad2d_out(
12514 out__: *mut *mut C_tensor,
12515 out_: *mut C_tensor,
12516 self_: *mut C_tensor,
12517 padding_data: *const i64,
12518 padding_len: c_int,
12519 );
12520 pub fn atg_replication_pad3d(
12521 out__: *mut *mut C_tensor,
12522 self_: *mut C_tensor,
12523 padding_data: *const i64,
12524 padding_len: c_int,
12525 );
12526 pub fn atg_replication_pad3d_backward(
12527 out__: *mut *mut C_tensor,
12528 grad_output_: *mut C_tensor,
12529 self_: *mut C_tensor,
12530 padding_data: *const i64,
12531 padding_len: c_int,
12532 );
12533 pub fn atg_replication_pad3d_backward_grad_input(
12534 out__: *mut *mut C_tensor,
12535 grad_input_: *mut C_tensor,
12536 grad_output_: *mut C_tensor,
12537 self_: *mut C_tensor,
12538 padding_data: *const i64,
12539 padding_len: c_int,
12540 );
12541 pub fn atg_replication_pad3d_out(
12542 out__: *mut *mut C_tensor,
12543 out_: *mut C_tensor,
12544 self_: *mut C_tensor,
12545 padding_data: *const i64,
12546 padding_len: c_int,
12547 );
12548 pub fn atg_requires_grad_(
12549 out__: *mut *mut C_tensor,
12550 self_: *mut C_tensor,
12551 requires_grad_: c_int,
12552 );
12553 pub fn atg_reshape(
12554 out__: *mut *mut C_tensor,
12555 self_: *mut C_tensor,
12556 shape_data: *const i64,
12557 shape_len: c_int,
12558 );
12559 pub fn atg_reshape_as(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
12560 pub fn atg_resize(
12561 out__: *mut *mut C_tensor,
12562 self_: *mut C_tensor,
12563 size_data: *const i64,
12564 size_len: c_int,
12565 );
12566 pub fn atg_resize_(
12567 out__: *mut *mut C_tensor,
12568 self_: *mut C_tensor,
12569 size_data: *const i64,
12570 size_len: c_int,
12571 );
12572 pub fn atg_resize_as(
12573 out__: *mut *mut C_tensor,
12574 self_: *mut C_tensor,
12575 the_template_: *mut C_tensor,
12576 );
12577 pub fn atg_resize_as_(
12578 out__: *mut *mut C_tensor,
12579 self_: *mut C_tensor,
12580 the_template_: *mut C_tensor,
12581 );
12582 pub fn atg_resize_as_out(
12583 out__: *mut *mut C_tensor,
12584 out_: *mut C_tensor,
12585 self_: *mut C_tensor,
12586 the_template_: *mut C_tensor,
12587 );
12588 pub fn atg_resize_as_sparse(
12589 out__: *mut *mut C_tensor,
12590 self_: *mut C_tensor,
12591 the_template_: *mut C_tensor,
12592 );
12593 pub fn atg_resize_as_sparse_(
12594 out__: *mut *mut C_tensor,
12595 self_: *mut C_tensor,
12596 the_template_: *mut C_tensor,
12597 );
12598 pub fn atg_resize_as_sparse_out(
12599 out__: *mut *mut C_tensor,
12600 out_: *mut C_tensor,
12601 self_: *mut C_tensor,
12602 the_template_: *mut C_tensor,
12603 );
12604 pub fn atg_resize_out(
12605 out__: *mut *mut C_tensor,
12606 out_: *mut C_tensor,
12607 self_: *mut C_tensor,
12608 size_data: *const i64,
12609 size_len: c_int,
12610 );
12611 pub fn atg_resolve_conj(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12612 pub fn atg_resolve_neg(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12613 pub fn atg_retains_grad(self_: *mut C_tensor) -> c_int;
12614 pub fn atg_rms_norm(
12615 out__: *mut *mut C_tensor,
12616 input_: *mut C_tensor,
12617 normalized_shape_data: *const i64,
12618 normalized_shape_len: c_int,
12619 weight_: *mut C_tensor,
12620 eps_v: f64,
12621 eps_null: i8,
12622 );
12623 pub fn atg_rnn_relu(
12624 out__: *mut *mut C_tensor,
12625 input_: *mut C_tensor,
12626 hx_: *mut C_tensor,
12627 params_data: *const *mut C_tensor,
12628 params_len: c_int,
12629 has_biases_: c_int,
12630 num_layers_: i64,
12631 dropout_: f64,
12632 train_: c_int,
12633 bidirectional_: c_int,
12634 batch_first_: c_int,
12635 );
12636 pub fn atg_rnn_relu_cell(
12637 out__: *mut *mut C_tensor,
12638 input_: *mut C_tensor,
12639 hx_: *mut C_tensor,
12640 w_ih_: *mut C_tensor,
12641 w_hh_: *mut C_tensor,
12642 b_ih_: *mut C_tensor,
12643 b_hh_: *mut C_tensor,
12644 );
12645 pub fn atg_rnn_relu_data(
12646 out__: *mut *mut C_tensor,
12647 data_: *mut C_tensor,
12648 batch_sizes_: *mut C_tensor,
12649 hx_: *mut C_tensor,
12650 params_data: *const *mut C_tensor,
12651 params_len: c_int,
12652 has_biases_: c_int,
12653 num_layers_: i64,
12654 dropout_: f64,
12655 train_: c_int,
12656 bidirectional_: c_int,
12657 );
12658 pub fn atg_rnn_tanh(
12659 out__: *mut *mut C_tensor,
12660 input_: *mut C_tensor,
12661 hx_: *mut C_tensor,
12662 params_data: *const *mut C_tensor,
12663 params_len: c_int,
12664 has_biases_: c_int,
12665 num_layers_: i64,
12666 dropout_: f64,
12667 train_: c_int,
12668 bidirectional_: c_int,
12669 batch_first_: c_int,
12670 );
12671 pub fn atg_rnn_tanh_cell(
12672 out__: *mut *mut C_tensor,
12673 input_: *mut C_tensor,
12674 hx_: *mut C_tensor,
12675 w_ih_: *mut C_tensor,
12676 w_hh_: *mut C_tensor,
12677 b_ih_: *mut C_tensor,
12678 b_hh_: *mut C_tensor,
12679 );
12680 pub fn atg_rnn_tanh_data(
12681 out__: *mut *mut C_tensor,
12682 data_: *mut C_tensor,
12683 batch_sizes_: *mut C_tensor,
12684 hx_: *mut C_tensor,
12685 params_data: *const *mut C_tensor,
12686 params_len: c_int,
12687 has_biases_: c_int,
12688 num_layers_: i64,
12689 dropout_: f64,
12690 train_: c_int,
12691 bidirectional_: c_int,
12692 );
12693 pub fn atg_roll(
12694 out__: *mut *mut C_tensor,
12695 self_: *mut C_tensor,
12696 shifts_data: *const i64,
12697 shifts_len: c_int,
12698 dims_data: *const i64,
12699 dims_len: c_int,
12700 );
12701 pub fn atg_roll_out(
12702 out__: *mut *mut C_tensor,
12703 out_: *mut C_tensor,
12704 self_: *mut C_tensor,
12705 shifts_data: *const i64,
12706 shifts_len: c_int,
12707 dims_data: *const i64,
12708 dims_len: c_int,
12709 );
12710 pub fn atg_rot90(
12711 out__: *mut *mut C_tensor,
12712 self_: *mut C_tensor,
12713 k_: i64,
12714 dims_data: *const i64,
12715 dims_len: c_int,
12716 );
12717 pub fn atg_rot90_out(
12718 out__: *mut *mut C_tensor,
12719 out_: *mut C_tensor,
12720 self_: *mut C_tensor,
12721 k_: i64,
12722 dims_data: *const i64,
12723 dims_len: c_int,
12724 );
12725 pub fn atg_round(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12726 pub fn atg_round_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12727 pub fn atg_round_decimals(out__: *mut *mut C_tensor, self_: *mut C_tensor, decimals_: i64);
12728 pub fn atg_round_decimals_(out__: *mut *mut C_tensor, self_: *mut C_tensor, decimals_: i64);
12729 pub fn atg_round_decimals_out(
12730 out__: *mut *mut C_tensor,
12731 out_: *mut C_tensor,
12732 self_: *mut C_tensor,
12733 decimals_: i64,
12734 );
12735 pub fn atg_round_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12736 pub fn atg_row_indices(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12737 pub fn atg_row_indices_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12738 pub fn atg_row_indices_copy_out(
12739 out__: *mut *mut C_tensor,
12740 out_: *mut C_tensor,
12741 self_: *mut C_tensor,
12742 );
12743 pub fn atg_row_stack(
12744 out__: *mut *mut C_tensor,
12745 tensors_data: *const *mut C_tensor,
12746 tensors_len: c_int,
12747 );
12748 pub fn atg_row_stack_out(
12749 out__: *mut *mut C_tensor,
12750 out_: *mut C_tensor,
12751 tensors_data: *const *mut C_tensor,
12752 tensors_len: c_int,
12753 );
12754 pub fn atg_rrelu(out__: *mut *mut C_tensor, self_: *mut C_tensor, training_: c_int);
12755 pub fn atg_rrelu_(out__: *mut *mut C_tensor, self_: *mut C_tensor, training_: c_int);
12756 pub fn atg_rrelu_with_noise(
12757 out__: *mut *mut C_tensor,
12758 self_: *mut C_tensor,
12759 noise_: *mut C_tensor,
12760 training_: c_int,
12761 );
12762 pub fn atg_rrelu_with_noise_(
12763 out__: *mut *mut C_tensor,
12764 self_: *mut C_tensor,
12765 noise_: *mut C_tensor,
12766 training_: c_int,
12767 );
12768 pub fn atg_rrelu_with_noise_backward(
12769 out__: *mut *mut C_tensor,
12770 grad_output_: *mut C_tensor,
12771 self_: *mut C_tensor,
12772 noise_: *mut C_tensor,
12773 lower_: *mut C_scalar,
12774 upper_: *mut C_scalar,
12775 training_: c_int,
12776 self_is_result_: c_int,
12777 );
12778 pub fn atg_rrelu_with_noise_backward_out(
12779 out__: *mut *mut C_tensor,
12780 out_: *mut C_tensor,
12781 grad_output_: *mut C_tensor,
12782 self_: *mut C_tensor,
12783 noise_: *mut C_tensor,
12784 lower_: *mut C_scalar,
12785 upper_: *mut C_scalar,
12786 training_: c_int,
12787 self_is_result_: c_int,
12788 );
12789 pub fn atg_rrelu_with_noise_functional(
12790 out__: *mut *mut C_tensor,
12791 self_: *mut C_tensor,
12792 noise_: *mut C_tensor,
12793 training_: c_int,
12794 );
12795 pub fn atg_rrelu_with_noise_out(
12796 out__: *mut *mut C_tensor,
12797 out_: *mut C_tensor,
12798 self_: *mut C_tensor,
12799 noise_: *mut C_tensor,
12800 training_: c_int,
12801 );
12802 pub fn atg_rsqrt(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12803 pub fn atg_rsqrt_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
12804 pub fn atg_rsqrt_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
12805 pub fn atg_rsub(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
12806 pub fn atg_rsub_scalar(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
12807 pub fn atg_rsub_scalar_out(
12808 out__: *mut *mut C_tensor,
12809 out_: *mut C_tensor,
12810 self_: *mut C_tensor,
12811 other_: *mut C_scalar,
12812 );
12813 pub fn atg_rsub_tensor_out(
12814 out__: *mut *mut C_tensor,
12815 out_: *mut C_tensor,
12816 self_: *mut C_tensor,
12817 other_: *mut C_tensor,
12818 );
12819 pub fn atg_scalar_tensor(
12820 out__: *mut *mut C_tensor,
12821 s_: *mut C_scalar,
12822 options_kind: c_int,
12823 options_device: c_int,
12824 );
12825 pub fn atg_scalar_tensor_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, s_: *mut C_scalar);
12826 pub fn atg_scaled_dot_product_attention(
12827 out__: *mut *mut C_tensor,
12828 query_: *mut C_tensor,
12829 key_: *mut C_tensor,
12830 value_: *mut C_tensor,
12831 attn_mask_: *mut C_tensor,
12832 dropout_p_: f64,
12833 is_causal_: c_int,
12834 scale_v: f64,
12835 scale_null: i8,
12836 enable_gqa_: c_int,
12837 );
12838 pub fn atg_scatter(
12839 out__: *mut *mut C_tensor,
12840 self_: *mut C_tensor,
12841 dim_: i64,
12842 index_: *mut C_tensor,
12843 src_: *mut C_tensor,
12844 );
12845 pub fn atg_scatter_(
12846 out__: *mut *mut C_tensor,
12847 self_: *mut C_tensor,
12848 dim_: i64,
12849 index_: *mut C_tensor,
12850 src_: *mut C_tensor,
12851 );
12852 pub fn atg_scatter_add(
12853 out__: *mut *mut C_tensor,
12854 self_: *mut C_tensor,
12855 dim_: i64,
12856 index_: *mut C_tensor,
12857 src_: *mut C_tensor,
12858 );
12859 pub fn atg_scatter_add_(
12860 out__: *mut *mut C_tensor,
12861 self_: *mut C_tensor,
12862 dim_: i64,
12863 index_: *mut C_tensor,
12864 src_: *mut C_tensor,
12865 );
12866 pub fn atg_scatter_add_out(
12867 out__: *mut *mut C_tensor,
12868 out_: *mut C_tensor,
12869 self_: *mut C_tensor,
12870 dim_: i64,
12871 index_: *mut C_tensor,
12872 src_: *mut C_tensor,
12873 );
12874 pub fn atg_scatter_reduce(
12875 out__: *mut *mut C_tensor,
12876 self_: *mut C_tensor,
12877 dim_: i64,
12878 index_: *mut C_tensor,
12879 src_: *mut C_tensor,
12880 reduce_ptr: *const u8,
12881 reduce_len: c_int,
12882 );
12883 pub fn atg_scatter_reduce_(
12884 out__: *mut *mut C_tensor,
12885 self_: *mut C_tensor,
12886 dim_: i64,
12887 index_: *mut C_tensor,
12888 src_: *mut C_tensor,
12889 reduce_ptr: *const u8,
12890 reduce_len: c_int,
12891 );
12892 pub fn atg_scatter_reduce_out(
12893 out__: *mut *mut C_tensor,
12894 out_: *mut C_tensor,
12895 self_: *mut C_tensor,
12896 dim_: i64,
12897 index_: *mut C_tensor,
12898 src_: *mut C_tensor,
12899 reduce_ptr: *const u8,
12900 reduce_len: c_int,
12901 );
12902 pub fn atg_scatter_src_out(
12903 out__: *mut *mut C_tensor,
12904 out_: *mut C_tensor,
12905 self_: *mut C_tensor,
12906 dim_: i64,
12907 index_: *mut C_tensor,
12908 src_: *mut C_tensor,
12909 );
12910 pub fn atg_scatter_value(
12911 out__: *mut *mut C_tensor,
12912 self_: *mut C_tensor,
12913 dim_: i64,
12914 index_: *mut C_tensor,
12915 value_: *mut C_scalar,
12916 );
12917 pub fn atg_scatter_value_(
12918 out__: *mut *mut C_tensor,
12919 self_: *mut C_tensor,
12920 dim_: i64,
12921 index_: *mut C_tensor,
12922 value_: *mut C_scalar,
12923 );
12924 pub fn atg_scatter_value_out(
12925 out__: *mut *mut C_tensor,
12926 out_: *mut C_tensor,
12927 self_: *mut C_tensor,
12928 dim_: i64,
12929 index_: *mut C_tensor,
12930 value_: *mut C_scalar,
12931 );
12932 pub fn atg_scatter_value_reduce(
12933 out__: *mut *mut C_tensor,
12934 self_: *mut C_tensor,
12935 dim_: i64,
12936 index_: *mut C_tensor,
12937 value_: *mut C_scalar,
12938 reduce_ptr: *const u8,
12939 reduce_len: c_int,
12940 );
12941 pub fn atg_scatter_value_reduce_(
12942 out__: *mut *mut C_tensor,
12943 self_: *mut C_tensor,
12944 dim_: i64,
12945 index_: *mut C_tensor,
12946 value_: *mut C_scalar,
12947 reduce_ptr: *const u8,
12948 reduce_len: c_int,
12949 );
12950 pub fn atg_scatter_value_reduce_out(
12951 out__: *mut *mut C_tensor,
12952 out_: *mut C_tensor,
12953 self_: *mut C_tensor,
12954 dim_: i64,
12955 index_: *mut C_tensor,
12956 value_: *mut C_scalar,
12957 reduce_ptr: *const u8,
12958 reduce_len: c_int,
12959 );
12960 pub fn atg_searchsorted(
12961 out__: *mut *mut C_tensor,
12962 sorted_sequence_: *mut C_tensor,
12963 self_: *mut C_tensor,
12964 out_int32_: c_int,
12965 right_: c_int,
12966 side_ptr: *const u8,
12967 side_len: c_int,
12968 sorter_: *mut C_tensor,
12969 );
12970 pub fn atg_searchsorted_scalar(
12971 out__: *mut *mut C_tensor,
12972 sorted_sequence_: *mut C_tensor,
12973 self_scalar_: *mut C_scalar,
12974 out_int32_: c_int,
12975 right_: c_int,
12976 side_ptr: *const u8,
12977 side_len: c_int,
12978 sorter_: *mut C_tensor,
12979 );
12980 pub fn atg_searchsorted_scalar_out(
12981 out__: *mut *mut C_tensor,
12982 out_: *mut C_tensor,
12983 sorted_sequence_: *mut C_tensor,
12984 self_scalar_: *mut C_scalar,
12985 out_int32_: c_int,
12986 right_: c_int,
12987 side_ptr: *const u8,
12988 side_len: c_int,
12989 sorter_: *mut C_tensor,
12990 );
12991 pub fn atg_searchsorted_tensor_out(
12992 out__: *mut *mut C_tensor,
12993 out_: *mut C_tensor,
12994 sorted_sequence_: *mut C_tensor,
12995 self_: *mut C_tensor,
12996 out_int32_: c_int,
12997 right_: c_int,
12998 side_ptr: *const u8,
12999 side_len: c_int,
13000 sorter_: *mut C_tensor,
13001 );
13002 pub fn atg_segment_reduce(
13003 out__: *mut *mut C_tensor,
13004 data_: *mut C_tensor,
13005 reduce_ptr: *const u8,
13006 reduce_len: c_int,
13007 lengths_: *mut C_tensor,
13008 indices_: *mut C_tensor,
13009 offsets_: *mut C_tensor,
13010 axis_: i64,
13011 unsafe_: c_int,
13012 initial_: *mut C_scalar,
13013 );
13014 pub fn atg_segment_reduce_out(
13015 out__: *mut *mut C_tensor,
13016 out_: *mut C_tensor,
13017 data_: *mut C_tensor,
13018 reduce_ptr: *const u8,
13019 reduce_len: c_int,
13020 lengths_: *mut C_tensor,
13021 indices_: *mut C_tensor,
13022 offsets_: *mut C_tensor,
13023 axis_: i64,
13024 unsafe_: c_int,
13025 initial_: *mut C_scalar,
13026 );
13027 pub fn atg_select(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, index_: i64);
13028 pub fn atg_select_backward(
13029 out__: *mut *mut C_tensor,
13030 grad_output_: *mut C_tensor,
13031 input_sizes_data: *const i64,
13032 input_sizes_len: c_int,
13033 dim_: i64,
13034 index_: i64,
13035 );
13036 pub fn atg_select_backward_out(
13037 out__: *mut *mut C_tensor,
13038 out_: *mut C_tensor,
13039 grad_output_: *mut C_tensor,
13040 input_sizes_data: *const i64,
13041 input_sizes_len: c_int,
13042 dim_: i64,
13043 index_: i64,
13044 );
13045 pub fn atg_select_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, index_: i64);
13046 pub fn atg_select_copy_int_out(
13047 out__: *mut *mut C_tensor,
13048 out_: *mut C_tensor,
13049 self_: *mut C_tensor,
13050 dim_: i64,
13051 index_: i64,
13052 );
13053 pub fn atg_select_scatter(
13054 out__: *mut *mut C_tensor,
13055 self_: *mut C_tensor,
13056 src_: *mut C_tensor,
13057 dim_: i64,
13058 index_: i64,
13059 );
13060 pub fn atg_select_scatter_out(
13061 out__: *mut *mut C_tensor,
13062 out_: *mut C_tensor,
13063 self_: *mut C_tensor,
13064 src_: *mut C_tensor,
13065 dim_: i64,
13066 index_: i64,
13067 );
13068 pub fn atg_selu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13069 pub fn atg_selu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13070 pub fn atg_set(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13071 pub fn atg_set_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13072 pub fn atg_set_data(self_: *mut C_tensor, new_data_: *mut C_tensor);
13073 pub fn atg_set_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13074 pub fn atg_set_requires_grad(out__: *mut *mut C_tensor, self_: *mut C_tensor, r_: c_int);
13075 pub fn atg_set_source_tensor(
13076 out__: *mut *mut C_tensor,
13077 self_: *mut C_tensor,
13078 source_: *mut C_tensor,
13079 );
13080 pub fn atg_set_source_tensor_(
13081 out__: *mut *mut C_tensor,
13082 self_: *mut C_tensor,
13083 source_: *mut C_tensor,
13084 );
13085 pub fn atg_set_source_tensor_out(
13086 out__: *mut *mut C_tensor,
13087 out_: *mut C_tensor,
13088 self_: *mut C_tensor,
13089 source_: *mut C_tensor,
13090 );
13091 pub fn atg_set_source_tensor_storage_offset_(
13092 out__: *mut *mut C_tensor,
13093 self_: *mut C_tensor,
13094 source_: *mut C_tensor,
13095 storage_offset_: i64,
13096 size_data: *const i64,
13097 size_len: c_int,
13098 stride_data: *const i64,
13099 stride_len: c_int,
13100 );
13101 pub fn atg_sgn(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13102 pub fn atg_sgn_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13103 pub fn atg_sgn_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13104 pub fn atg_sigmoid(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13105 pub fn atg_sigmoid_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13106 pub fn atg_sigmoid_backward(
13107 out__: *mut *mut C_tensor,
13108 grad_output_: *mut C_tensor,
13109 output_: *mut C_tensor,
13110 );
13111 pub fn atg_sigmoid_backward_grad_input(
13112 out__: *mut *mut C_tensor,
13113 grad_input_: *mut C_tensor,
13114 grad_output_: *mut C_tensor,
13115 output_: *mut C_tensor,
13116 );
13117 pub fn atg_sigmoid_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13118 pub fn atg_sign(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13119 pub fn atg_sign_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13120 pub fn atg_sign_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13121 pub fn atg_signbit(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13122 pub fn atg_signbit_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13123 pub fn atg_silu(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13124 pub fn atg_silu_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13125 pub fn atg_silu_backward(
13126 out__: *mut *mut C_tensor,
13127 grad_output_: *mut C_tensor,
13128 self_: *mut C_tensor,
13129 );
13130 pub fn atg_silu_backward_grad_input(
13131 out__: *mut *mut C_tensor,
13132 grad_input_: *mut C_tensor,
13133 grad_output_: *mut C_tensor,
13134 self_: *mut C_tensor,
13135 );
13136 pub fn atg_silu_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13137 pub fn atg_sin(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13138 pub fn atg_sin_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13139 pub fn atg_sin_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13140 pub fn atg_sinc(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13141 pub fn atg_sinc_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13142 pub fn atg_sinc_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13143 pub fn atg_sinh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13144 pub fn atg_sinh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13145 pub fn atg_sinh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13146 pub fn atg_slice(
13147 out__: *mut *mut C_tensor,
13148 self_: *mut C_tensor,
13149 dim_: i64,
13150 start_v: i64,
13151 start_null: i8,
13152 end_v: i64,
13153 end_null: i8,
13154 step_: i64,
13155 );
13156 pub fn atg_slice_backward(
13157 out__: *mut *mut C_tensor,
13158 grad_output_: *mut C_tensor,
13159 input_sizes_data: *const i64,
13160 input_sizes_len: c_int,
13161 dim_: i64,
13162 start_: i64,
13163 end_: i64,
13164 step_: i64,
13165 );
13166 pub fn atg_slice_backward_out(
13167 out__: *mut *mut C_tensor,
13168 out_: *mut C_tensor,
13169 grad_output_: *mut C_tensor,
13170 input_sizes_data: *const i64,
13171 input_sizes_len: c_int,
13172 dim_: i64,
13173 start_: i64,
13174 end_: i64,
13175 step_: i64,
13176 );
13177 pub fn atg_slice_copy(
13178 out__: *mut *mut C_tensor,
13179 self_: *mut C_tensor,
13180 dim_: i64,
13181 start_v: i64,
13182 start_null: i8,
13183 end_v: i64,
13184 end_null: i8,
13185 step_: i64,
13186 );
13187 pub fn atg_slice_copy_tensor_out(
13188 out__: *mut *mut C_tensor,
13189 out_: *mut C_tensor,
13190 self_: *mut C_tensor,
13191 dim_: i64,
13192 start_v: i64,
13193 start_null: i8,
13194 end_v: i64,
13195 end_null: i8,
13196 step_: i64,
13197 );
13198 pub fn atg_slice_inverse(
13199 out__: *mut *mut C_tensor,
13200 self_: *mut C_tensor,
13201 src_: *mut C_tensor,
13202 dim_: i64,
13203 start_v: i64,
13204 start_null: i8,
13205 end_v: i64,
13206 end_null: i8,
13207 step_: i64,
13208 );
13209 pub fn atg_slice_scatter(
13210 out__: *mut *mut C_tensor,
13211 self_: *mut C_tensor,
13212 src_: *mut C_tensor,
13213 dim_: i64,
13214 start_v: i64,
13215 start_null: i8,
13216 end_v: i64,
13217 end_null: i8,
13218 step_: i64,
13219 );
13220 pub fn atg_slice_scatter_out(
13221 out__: *mut *mut C_tensor,
13222 out_: *mut C_tensor,
13223 self_: *mut C_tensor,
13224 src_: *mut C_tensor,
13225 dim_: i64,
13226 start_v: i64,
13227 start_null: i8,
13228 end_v: i64,
13229 end_null: i8,
13230 step_: i64,
13231 );
13232 pub fn atg_slogdet(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13233 pub fn atg_slogdet_out(
13234 out__: *mut *mut C_tensor,
13235 sign_: *mut C_tensor,
13236 logabsdet_: *mut C_tensor,
13237 self_: *mut C_tensor,
13238 );
13239 pub fn atg_slow_conv3d(
13240 out__: *mut *mut C_tensor,
13241 self_: *mut C_tensor,
13242 weight_: *mut C_tensor,
13243 kernel_size_data: *const i64,
13244 kernel_size_len: c_int,
13245 bias_: *mut C_tensor,
13246 stride_data: *const i64,
13247 stride_len: c_int,
13248 padding_data: *const i64,
13249 padding_len: c_int,
13250 );
13251 pub fn atg_slow_conv3d_out(
13252 out__: *mut *mut C_tensor,
13253 out_: *mut C_tensor,
13254 self_: *mut C_tensor,
13255 weight_: *mut C_tensor,
13256 kernel_size_data: *const i64,
13257 kernel_size_len: c_int,
13258 bias_: *mut C_tensor,
13259 stride_data: *const i64,
13260 stride_len: c_int,
13261 padding_data: *const i64,
13262 padding_len: c_int,
13263 );
13264 pub fn atg_slow_conv_dilated2d(
13265 out__: *mut *mut C_tensor,
13266 self_: *mut C_tensor,
13267 weight_: *mut C_tensor,
13268 kernel_size_data: *const i64,
13269 kernel_size_len: c_int,
13270 bias_: *mut C_tensor,
13271 stride_data: *const i64,
13272 stride_len: c_int,
13273 padding_data: *const i64,
13274 padding_len: c_int,
13275 dilation_data: *const i64,
13276 dilation_len: c_int,
13277 );
13278 pub fn atg_slow_conv_dilated2d_out(
13279 out__: *mut *mut C_tensor,
13280 out_: *mut C_tensor,
13281 self_: *mut C_tensor,
13282 weight_: *mut C_tensor,
13283 kernel_size_data: *const i64,
13284 kernel_size_len: c_int,
13285 bias_: *mut C_tensor,
13286 stride_data: *const i64,
13287 stride_len: c_int,
13288 padding_data: *const i64,
13289 padding_len: c_int,
13290 dilation_data: *const i64,
13291 dilation_len: c_int,
13292 );
13293 pub fn atg_slow_conv_dilated3d(
13294 out__: *mut *mut C_tensor,
13295 self_: *mut C_tensor,
13296 weight_: *mut C_tensor,
13297 kernel_size_data: *const i64,
13298 kernel_size_len: c_int,
13299 bias_: *mut C_tensor,
13300 stride_data: *const i64,
13301 stride_len: c_int,
13302 padding_data: *const i64,
13303 padding_len: c_int,
13304 dilation_data: *const i64,
13305 dilation_len: c_int,
13306 );
13307 pub fn atg_slow_conv_dilated3d_out(
13308 out__: *mut *mut C_tensor,
13309 out_: *mut C_tensor,
13310 self_: *mut C_tensor,
13311 weight_: *mut C_tensor,
13312 kernel_size_data: *const i64,
13313 kernel_size_len: c_int,
13314 bias_: *mut C_tensor,
13315 stride_data: *const i64,
13316 stride_len: c_int,
13317 padding_data: *const i64,
13318 padding_len: c_int,
13319 dilation_data: *const i64,
13320 dilation_len: c_int,
13321 );
13322 pub fn atg_slow_conv_transpose2d(
13323 out__: *mut *mut C_tensor,
13324 self_: *mut C_tensor,
13325 weight_: *mut C_tensor,
13326 kernel_size_data: *const i64,
13327 kernel_size_len: c_int,
13328 bias_: *mut C_tensor,
13329 stride_data: *const i64,
13330 stride_len: c_int,
13331 padding_data: *const i64,
13332 padding_len: c_int,
13333 output_padding_data: *const i64,
13334 output_padding_len: c_int,
13335 dilation_data: *const i64,
13336 dilation_len: c_int,
13337 );
13338 pub fn atg_slow_conv_transpose2d_out(
13339 out__: *mut *mut C_tensor,
13340 out_: *mut C_tensor,
13341 self_: *mut C_tensor,
13342 weight_: *mut C_tensor,
13343 kernel_size_data: *const i64,
13344 kernel_size_len: c_int,
13345 bias_: *mut C_tensor,
13346 stride_data: *const i64,
13347 stride_len: c_int,
13348 padding_data: *const i64,
13349 padding_len: c_int,
13350 output_padding_data: *const i64,
13351 output_padding_len: c_int,
13352 dilation_data: *const i64,
13353 dilation_len: c_int,
13354 );
13355 pub fn atg_slow_conv_transpose3d(
13356 out__: *mut *mut C_tensor,
13357 self_: *mut C_tensor,
13358 weight_: *mut C_tensor,
13359 kernel_size_data: *const i64,
13360 kernel_size_len: c_int,
13361 bias_: *mut C_tensor,
13362 stride_data: *const i64,
13363 stride_len: c_int,
13364 padding_data: *const i64,
13365 padding_len: c_int,
13366 output_padding_data: *const i64,
13367 output_padding_len: c_int,
13368 dilation_data: *const i64,
13369 dilation_len: c_int,
13370 );
13371 pub fn atg_slow_conv_transpose3d_out(
13372 out__: *mut *mut C_tensor,
13373 out_: *mut C_tensor,
13374 self_: *mut C_tensor,
13375 weight_: *mut C_tensor,
13376 kernel_size_data: *const i64,
13377 kernel_size_len: c_int,
13378 bias_: *mut C_tensor,
13379 stride_data: *const i64,
13380 stride_len: c_int,
13381 padding_data: *const i64,
13382 padding_len: c_int,
13383 output_padding_data: *const i64,
13384 output_padding_len: c_int,
13385 dilation_data: *const i64,
13386 dilation_len: c_int,
13387 );
13388 pub fn atg_smm(out__: *mut *mut C_tensor, self_: *mut C_tensor, mat2_: *mut C_tensor);
13389 pub fn atg_smooth_l1_loss(
13390 out__: *mut *mut C_tensor,
13391 self_: *mut C_tensor,
13392 target_: *mut C_tensor,
13393 reduction_: i64,
13394 beta_: f64,
13395 );
13396 pub fn atg_smooth_l1_loss_backward(
13397 out__: *mut *mut C_tensor,
13398 grad_output_: *mut C_tensor,
13399 self_: *mut C_tensor,
13400 target_: *mut C_tensor,
13401 reduction_: i64,
13402 beta_: f64,
13403 );
13404 pub fn atg_smooth_l1_loss_backward_grad_input(
13405 out__: *mut *mut C_tensor,
13406 grad_input_: *mut C_tensor,
13407 grad_output_: *mut C_tensor,
13408 self_: *mut C_tensor,
13409 target_: *mut C_tensor,
13410 reduction_: i64,
13411 beta_: f64,
13412 );
13413 pub fn atg_smooth_l1_loss_out(
13414 out__: *mut *mut C_tensor,
13415 out_: *mut C_tensor,
13416 self_: *mut C_tensor,
13417 target_: *mut C_tensor,
13418 reduction_: i64,
13419 beta_: f64,
13420 );
13421 pub fn atg_soft_margin_loss(
13422 out__: *mut *mut C_tensor,
13423 self_: *mut C_tensor,
13424 target_: *mut C_tensor,
13425 reduction_: i64,
13426 );
13427 pub fn atg_soft_margin_loss_backward(
13428 out__: *mut *mut C_tensor,
13429 grad_output_: *mut C_tensor,
13430 self_: *mut C_tensor,
13431 target_: *mut C_tensor,
13432 reduction_: i64,
13433 );
13434 pub fn atg_soft_margin_loss_backward_grad_input(
13435 out__: *mut *mut C_tensor,
13436 grad_input_: *mut C_tensor,
13437 grad_output_: *mut C_tensor,
13438 self_: *mut C_tensor,
13439 target_: *mut C_tensor,
13440 reduction_: i64,
13441 );
13442 pub fn atg_soft_margin_loss_out(
13443 out__: *mut *mut C_tensor,
13444 out_: *mut C_tensor,
13445 self_: *mut C_tensor,
13446 target_: *mut C_tensor,
13447 reduction_: i64,
13448 );
13449 pub fn atg_softmax(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, dtype_: c_int);
13450 pub fn atg_softmax_int_out(
13451 out__: *mut *mut C_tensor,
13452 out_: *mut C_tensor,
13453 self_: *mut C_tensor,
13454 dim_: i64,
13455 dtype_: c_int,
13456 );
13457 pub fn atg_softplus(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13458 pub fn atg_softplus_backward(
13459 out__: *mut *mut C_tensor,
13460 grad_output_: *mut C_tensor,
13461 self_: *mut C_tensor,
13462 beta_: *mut C_scalar,
13463 threshold_: *mut C_scalar,
13464 );
13465 pub fn atg_softplus_backward_grad_input(
13466 out__: *mut *mut C_tensor,
13467 grad_input_: *mut C_tensor,
13468 grad_output_: *mut C_tensor,
13469 self_: *mut C_tensor,
13470 beta_: *mut C_scalar,
13471 threshold_: *mut C_scalar,
13472 );
13473 pub fn atg_softplus_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13474 pub fn atg_softshrink(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13475 pub fn atg_softshrink_backward(
13476 out__: *mut *mut C_tensor,
13477 grad_output_: *mut C_tensor,
13478 self_: *mut C_tensor,
13479 lambd_: *mut C_scalar,
13480 );
13481 pub fn atg_softshrink_backward_grad_input(
13482 out__: *mut *mut C_tensor,
13483 grad_input_: *mut C_tensor,
13484 grad_output_: *mut C_tensor,
13485 self_: *mut C_tensor,
13486 lambd_: *mut C_scalar,
13487 );
13488 pub fn atg_softshrink_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
13489 pub fn atg_sort(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64, descending_: c_int);
13490 pub fn atg_sort_stable(
13491 out__: *mut *mut C_tensor,
13492 self_: *mut C_tensor,
13493 stable_: c_int,
13494 dim_: i64,
13495 descending_: c_int,
13496 );
13497 pub fn atg_sort_values(
13498 out__: *mut *mut C_tensor,
13499 values_: *mut C_tensor,
13500 indices_: *mut C_tensor,
13501 self_: *mut C_tensor,
13502 dim_: i64,
13503 descending_: c_int,
13504 );
13505 pub fn atg_sort_values_stable(
13506 out__: *mut *mut C_tensor,
13507 values_: *mut C_tensor,
13508 indices_: *mut C_tensor,
13509 self_: *mut C_tensor,
13510 stable_: c_int,
13511 dim_: i64,
13512 descending_: c_int,
13513 );
13514 pub fn atg_sparse_bsc_tensor(
13515 out__: *mut *mut C_tensor,
13516 ccol_indices_: *mut C_tensor,
13517 row_indices_: *mut C_tensor,
13518 values_: *mut C_tensor,
13519 options_kind: c_int,
13520 options_device: c_int,
13521 );
13522 pub fn atg_sparse_bsc_tensor_ccol_row_value_size(
13523 out__: *mut *mut C_tensor,
13524 ccol_indices_: *mut C_tensor,
13525 row_indices_: *mut C_tensor,
13526 values_: *mut C_tensor,
13527 size_data: *const i64,
13528 size_len: c_int,
13529 options_kind: c_int,
13530 options_device: c_int,
13531 );
13532 pub fn atg_sparse_bsr_tensor(
13533 out__: *mut *mut C_tensor,
13534 crow_indices_: *mut C_tensor,
13535 col_indices_: *mut C_tensor,
13536 values_: *mut C_tensor,
13537 options_kind: c_int,
13538 options_device: c_int,
13539 );
13540 pub fn atg_sparse_bsr_tensor_crow_col_value_size(
13541 out__: *mut *mut C_tensor,
13542 crow_indices_: *mut C_tensor,
13543 col_indices_: *mut C_tensor,
13544 values_: *mut C_tensor,
13545 size_data: *const i64,
13546 size_len: c_int,
13547 options_kind: c_int,
13548 options_device: c_int,
13549 );
13550 pub fn atg_sparse_compressed_tensor(
13551 out__: *mut *mut C_tensor,
13552 compressed_indices_: *mut C_tensor,
13553 plain_indices_: *mut C_tensor,
13554 values_: *mut C_tensor,
13555 options_kind: c_int,
13556 options_device: c_int,
13557 );
13558 pub fn atg_sparse_compressed_tensor_comp_plain_value_size(
13559 out__: *mut *mut C_tensor,
13560 compressed_indices_: *mut C_tensor,
13561 plain_indices_: *mut C_tensor,
13562 values_: *mut C_tensor,
13563 size_data: *const i64,
13564 size_len: c_int,
13565 options_kind: c_int,
13566 options_device: c_int,
13567 );
13568 pub fn atg_sparse_coo_tensor(
13569 out__: *mut *mut C_tensor,
13570 size_data: *const i64,
13571 size_len: c_int,
13572 options_kind: c_int,
13573 options_device: c_int,
13574 );
13575 pub fn atg_sparse_coo_tensor_indices(
13576 out__: *mut *mut C_tensor,
13577 indices_: *mut C_tensor,
13578 values_: *mut C_tensor,
13579 options_kind: c_int,
13580 options_device: c_int,
13581 is_coalesced_: c_int,
13582 );
13583 pub fn atg_sparse_coo_tensor_indices_size(
13584 out__: *mut *mut C_tensor,
13585 indices_: *mut C_tensor,
13586 values_: *mut C_tensor,
13587 size_data: *const i64,
13588 size_len: c_int,
13589 options_kind: c_int,
13590 options_device: c_int,
13591 is_coalesced_: c_int,
13592 );
13593 pub fn atg_sparse_coo_tensor_size_out(
13594 out__: *mut *mut C_tensor,
13595 out_: *mut C_tensor,
13596 size_data: *const i64,
13597 size_len: c_int,
13598 );
13599 pub fn atg_sparse_csc_tensor(
13600 out__: *mut *mut C_tensor,
13601 ccol_indices_: *mut C_tensor,
13602 row_indices_: *mut C_tensor,
13603 values_: *mut C_tensor,
13604 options_kind: c_int,
13605 options_device: c_int,
13606 );
13607 pub fn atg_sparse_csc_tensor_ccol_row_value_size(
13608 out__: *mut *mut C_tensor,
13609 ccol_indices_: *mut C_tensor,
13610 row_indices_: *mut C_tensor,
13611 values_: *mut C_tensor,
13612 size_data: *const i64,
13613 size_len: c_int,
13614 options_kind: c_int,
13615 options_device: c_int,
13616 );
13617 pub fn atg_sparse_csr_tensor(
13618 out__: *mut *mut C_tensor,
13619 crow_indices_: *mut C_tensor,
13620 col_indices_: *mut C_tensor,
13621 values_: *mut C_tensor,
13622 options_kind: c_int,
13623 options_device: c_int,
13624 );
13625 pub fn atg_sparse_csr_tensor_crow_col_value_size(
13626 out__: *mut *mut C_tensor,
13627 crow_indices_: *mut C_tensor,
13628 col_indices_: *mut C_tensor,
13629 values_: *mut C_tensor,
13630 size_data: *const i64,
13631 size_len: c_int,
13632 options_kind: c_int,
13633 options_device: c_int,
13634 );
13635 pub fn atg_sparse_dim(self_: *mut C_tensor) -> i64;
13636 pub fn atg_sparse_mask(out__: *mut *mut C_tensor, self_: *mut C_tensor, mask_: *mut C_tensor);
13637 pub fn atg_sparse_mask_out(
13638 out__: *mut *mut C_tensor,
13639 out_: *mut C_tensor,
13640 self_: *mut C_tensor,
13641 mask_: *mut C_tensor,
13642 );
13643 pub fn atg_sparse_resize(
13644 out__: *mut *mut C_tensor,
13645 self_: *mut C_tensor,
13646 size_data: *const i64,
13647 size_len: c_int,
13648 sparse_dim_: i64,
13649 dense_dim_: i64,
13650 );
13651 pub fn atg_sparse_resize_(
13652 out__: *mut *mut C_tensor,
13653 self_: *mut C_tensor,
13654 size_data: *const i64,
13655 size_len: c_int,
13656 sparse_dim_: i64,
13657 dense_dim_: i64,
13658 );
13659 pub fn atg_sparse_resize_and_clear(
13660 out__: *mut *mut C_tensor,
13661 self_: *mut C_tensor,
13662 size_data: *const i64,
13663 size_len: c_int,
13664 sparse_dim_: i64,
13665 dense_dim_: i64,
13666 );
13667 pub fn atg_sparse_resize_and_clear_(
13668 out__: *mut *mut C_tensor,
13669 self_: *mut C_tensor,
13670 size_data: *const i64,
13671 size_len: c_int,
13672 sparse_dim_: i64,
13673 dense_dim_: i64,
13674 );
13675 pub fn atg_sparse_resize_and_clear_out(
13676 out__: *mut *mut C_tensor,
13677 out_: *mut C_tensor,
13678 self_: *mut C_tensor,
13679 size_data: *const i64,
13680 size_len: c_int,
13681 sparse_dim_: i64,
13682 dense_dim_: i64,
13683 );
13684 pub fn atg_sparse_resize_out(
13685 out__: *mut *mut C_tensor,
13686 out_: *mut C_tensor,
13687 self_: *mut C_tensor,
13688 size_data: *const i64,
13689 size_len: c_int,
13690 sparse_dim_: i64,
13691 dense_dim_: i64,
13692 );
13693 pub fn atg_sparse_sampled_addmm(
13694 out__: *mut *mut C_tensor,
13695 self_: *mut C_tensor,
13696 mat1_: *mut C_tensor,
13697 mat2_: *mut C_tensor,
13698 );
13699 pub fn atg_sparse_sampled_addmm_out(
13700 out__: *mut *mut C_tensor,
13701 out_: *mut C_tensor,
13702 self_: *mut C_tensor,
13703 mat1_: *mut C_tensor,
13704 mat2_: *mut C_tensor,
13705 );
13706 pub fn atg_special_airy_ai(out__: *mut *mut C_tensor, x_: *mut C_tensor);
13707 pub fn atg_special_airy_ai_out(
13708 out__: *mut *mut C_tensor,
13709 out_: *mut C_tensor,
13710 x_: *mut C_tensor,
13711 );
13712 pub fn atg_special_bessel_j0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13713 pub fn atg_special_bessel_j0_out(
13714 out__: *mut *mut C_tensor,
13715 out_: *mut C_tensor,
13716 self_: *mut C_tensor,
13717 );
13718 pub fn atg_special_bessel_j1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13719 pub fn atg_special_bessel_j1_out(
13720 out__: *mut *mut C_tensor,
13721 out_: *mut C_tensor,
13722 self_: *mut C_tensor,
13723 );
13724 pub fn atg_special_bessel_y0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13725 pub fn atg_special_bessel_y0_out(
13726 out__: *mut *mut C_tensor,
13727 out_: *mut C_tensor,
13728 self_: *mut C_tensor,
13729 );
13730 pub fn atg_special_bessel_y1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13731 pub fn atg_special_bessel_y1_out(
13732 out__: *mut *mut C_tensor,
13733 out_: *mut C_tensor,
13734 self_: *mut C_tensor,
13735 );
13736 pub fn atg_special_chebyshev_polynomial_t(
13737 out__: *mut *mut C_tensor,
13738 x_: *mut C_tensor,
13739 n_: *mut C_tensor,
13740 );
13741 pub fn atg_special_chebyshev_polynomial_t_n_scalar(
13742 out__: *mut *mut C_tensor,
13743 x_: *mut C_tensor,
13744 n_: *mut C_scalar,
13745 );
13746 pub fn atg_special_chebyshev_polynomial_t_n_scalar_out(
13747 out__: *mut *mut C_tensor,
13748 out_: *mut C_tensor,
13749 x_: *mut C_tensor,
13750 n_: *mut C_scalar,
13751 );
13752 pub fn atg_special_chebyshev_polynomial_t_out(
13753 out__: *mut *mut C_tensor,
13754 out_: *mut C_tensor,
13755 x_: *mut C_tensor,
13756 n_: *mut C_tensor,
13757 );
13758 pub fn atg_special_chebyshev_polynomial_t_x_scalar(
13759 out__: *mut *mut C_tensor,
13760 x_: *mut C_scalar,
13761 n_: *mut C_tensor,
13762 );
13763 pub fn atg_special_chebyshev_polynomial_t_x_scalar_out(
13764 out__: *mut *mut C_tensor,
13765 out_: *mut C_tensor,
13766 x_: *mut C_scalar,
13767 n_: *mut C_tensor,
13768 );
13769 pub fn atg_special_chebyshev_polynomial_u(
13770 out__: *mut *mut C_tensor,
13771 x_: *mut C_tensor,
13772 n_: *mut C_tensor,
13773 );
13774 pub fn atg_special_chebyshev_polynomial_u_n_scalar(
13775 out__: *mut *mut C_tensor,
13776 x_: *mut C_tensor,
13777 n_: *mut C_scalar,
13778 );
13779 pub fn atg_special_chebyshev_polynomial_u_n_scalar_out(
13780 out__: *mut *mut C_tensor,
13781 out_: *mut C_tensor,
13782 x_: *mut C_tensor,
13783 n_: *mut C_scalar,
13784 );
13785 pub fn atg_special_chebyshev_polynomial_u_out(
13786 out__: *mut *mut C_tensor,
13787 out_: *mut C_tensor,
13788 x_: *mut C_tensor,
13789 n_: *mut C_tensor,
13790 );
13791 pub fn atg_special_chebyshev_polynomial_u_x_scalar(
13792 out__: *mut *mut C_tensor,
13793 x_: *mut C_scalar,
13794 n_: *mut C_tensor,
13795 );
13796 pub fn atg_special_chebyshev_polynomial_u_x_scalar_out(
13797 out__: *mut *mut C_tensor,
13798 out_: *mut C_tensor,
13799 x_: *mut C_scalar,
13800 n_: *mut C_tensor,
13801 );
13802 pub fn atg_special_chebyshev_polynomial_v(
13803 out__: *mut *mut C_tensor,
13804 x_: *mut C_tensor,
13805 n_: *mut C_tensor,
13806 );
13807 pub fn atg_special_chebyshev_polynomial_v_n_scalar(
13808 out__: *mut *mut C_tensor,
13809 x_: *mut C_tensor,
13810 n_: *mut C_scalar,
13811 );
13812 pub fn atg_special_chebyshev_polynomial_v_n_scalar_out(
13813 out__: *mut *mut C_tensor,
13814 out_: *mut C_tensor,
13815 x_: *mut C_tensor,
13816 n_: *mut C_scalar,
13817 );
13818 pub fn atg_special_chebyshev_polynomial_v_out(
13819 out__: *mut *mut C_tensor,
13820 out_: *mut C_tensor,
13821 x_: *mut C_tensor,
13822 n_: *mut C_tensor,
13823 );
13824 pub fn atg_special_chebyshev_polynomial_v_x_scalar(
13825 out__: *mut *mut C_tensor,
13826 x_: *mut C_scalar,
13827 n_: *mut C_tensor,
13828 );
13829 pub fn atg_special_chebyshev_polynomial_v_x_scalar_out(
13830 out__: *mut *mut C_tensor,
13831 out_: *mut C_tensor,
13832 x_: *mut C_scalar,
13833 n_: *mut C_tensor,
13834 );
13835 pub fn atg_special_chebyshev_polynomial_w(
13836 out__: *mut *mut C_tensor,
13837 x_: *mut C_tensor,
13838 n_: *mut C_tensor,
13839 );
13840 pub fn atg_special_chebyshev_polynomial_w_n_scalar(
13841 out__: *mut *mut C_tensor,
13842 x_: *mut C_tensor,
13843 n_: *mut C_scalar,
13844 );
13845 pub fn atg_special_chebyshev_polynomial_w_n_scalar_out(
13846 out__: *mut *mut C_tensor,
13847 out_: *mut C_tensor,
13848 x_: *mut C_tensor,
13849 n_: *mut C_scalar,
13850 );
13851 pub fn atg_special_chebyshev_polynomial_w_out(
13852 out__: *mut *mut C_tensor,
13853 out_: *mut C_tensor,
13854 x_: *mut C_tensor,
13855 n_: *mut C_tensor,
13856 );
13857 pub fn atg_special_chebyshev_polynomial_w_x_scalar(
13858 out__: *mut *mut C_tensor,
13859 x_: *mut C_scalar,
13860 n_: *mut C_tensor,
13861 );
13862 pub fn atg_special_chebyshev_polynomial_w_x_scalar_out(
13863 out__: *mut *mut C_tensor,
13864 out_: *mut C_tensor,
13865 x_: *mut C_scalar,
13866 n_: *mut C_tensor,
13867 );
13868 pub fn atg_special_digamma(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13869 pub fn atg_special_digamma_out(
13870 out__: *mut *mut C_tensor,
13871 out_: *mut C_tensor,
13872 self_: *mut C_tensor,
13873 );
13874 pub fn atg_special_entr(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13875 pub fn atg_special_entr_out(
13876 out__: *mut *mut C_tensor,
13877 out_: *mut C_tensor,
13878 self_: *mut C_tensor,
13879 );
13880 pub fn atg_special_erf(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13881 pub fn atg_special_erf_out(
13882 out__: *mut *mut C_tensor,
13883 out_: *mut C_tensor,
13884 self_: *mut C_tensor,
13885 );
13886 pub fn atg_special_erfc(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13887 pub fn atg_special_erfc_out(
13888 out__: *mut *mut C_tensor,
13889 out_: *mut C_tensor,
13890 self_: *mut C_tensor,
13891 );
13892 pub fn atg_special_erfcx(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13893 pub fn atg_special_erfcx_out(
13894 out__: *mut *mut C_tensor,
13895 out_: *mut C_tensor,
13896 self_: *mut C_tensor,
13897 );
13898 pub fn atg_special_erfinv(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13899 pub fn atg_special_erfinv_out(
13900 out__: *mut *mut C_tensor,
13901 out_: *mut C_tensor,
13902 self_: *mut C_tensor,
13903 );
13904 pub fn atg_special_exp2(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13905 pub fn atg_special_exp2_out(
13906 out__: *mut *mut C_tensor,
13907 out_: *mut C_tensor,
13908 self_: *mut C_tensor,
13909 );
13910 pub fn atg_special_expit(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13911 pub fn atg_special_expit_out(
13912 out__: *mut *mut C_tensor,
13913 out_: *mut C_tensor,
13914 self_: *mut C_tensor,
13915 );
13916 pub fn atg_special_expm1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13917 pub fn atg_special_expm1_out(
13918 out__: *mut *mut C_tensor,
13919 out_: *mut C_tensor,
13920 self_: *mut C_tensor,
13921 );
13922 pub fn atg_special_gammainc(
13923 out__: *mut *mut C_tensor,
13924 self_: *mut C_tensor,
13925 other_: *mut C_tensor,
13926 );
13927 pub fn atg_special_gammainc_out(
13928 out__: *mut *mut C_tensor,
13929 out_: *mut C_tensor,
13930 self_: *mut C_tensor,
13931 other_: *mut C_tensor,
13932 );
13933 pub fn atg_special_gammaincc(
13934 out__: *mut *mut C_tensor,
13935 self_: *mut C_tensor,
13936 other_: *mut C_tensor,
13937 );
13938 pub fn atg_special_gammaincc_out(
13939 out__: *mut *mut C_tensor,
13940 out_: *mut C_tensor,
13941 self_: *mut C_tensor,
13942 other_: *mut C_tensor,
13943 );
13944 pub fn atg_special_gammaln(out__: *mut *mut C_tensor, self_: *mut C_tensor);
13945 pub fn atg_special_gammaln_out(
13946 out__: *mut *mut C_tensor,
13947 out_: *mut C_tensor,
13948 self_: *mut C_tensor,
13949 );
13950 pub fn atg_special_hermite_polynomial_h(
13951 out__: *mut *mut C_tensor,
13952 x_: *mut C_tensor,
13953 n_: *mut C_tensor,
13954 );
13955 pub fn atg_special_hermite_polynomial_h_n_scalar(
13956 out__: *mut *mut C_tensor,
13957 x_: *mut C_tensor,
13958 n_: *mut C_scalar,
13959 );
13960 pub fn atg_special_hermite_polynomial_h_n_scalar_out(
13961 out__: *mut *mut C_tensor,
13962 out_: *mut C_tensor,
13963 x_: *mut C_tensor,
13964 n_: *mut C_scalar,
13965 );
13966 pub fn atg_special_hermite_polynomial_h_out(
13967 out__: *mut *mut C_tensor,
13968 out_: *mut C_tensor,
13969 x_: *mut C_tensor,
13970 n_: *mut C_tensor,
13971 );
13972 pub fn atg_special_hermite_polynomial_h_x_scalar(
13973 out__: *mut *mut C_tensor,
13974 x_: *mut C_scalar,
13975 n_: *mut C_tensor,
13976 );
13977 pub fn atg_special_hermite_polynomial_h_x_scalar_out(
13978 out__: *mut *mut C_tensor,
13979 out_: *mut C_tensor,
13980 x_: *mut C_scalar,
13981 n_: *mut C_tensor,
13982 );
13983 pub fn atg_special_hermite_polynomial_he(
13984 out__: *mut *mut C_tensor,
13985 x_: *mut C_tensor,
13986 n_: *mut C_tensor,
13987 );
13988 pub fn atg_special_hermite_polynomial_he_n_scalar(
13989 out__: *mut *mut C_tensor,
13990 x_: *mut C_tensor,
13991 n_: *mut C_scalar,
13992 );
13993 pub fn atg_special_hermite_polynomial_he_n_scalar_out(
13994 out__: *mut *mut C_tensor,
13995 out_: *mut C_tensor,
13996 x_: *mut C_tensor,
13997 n_: *mut C_scalar,
13998 );
13999 pub fn atg_special_hermite_polynomial_he_out(
14000 out__: *mut *mut C_tensor,
14001 out_: *mut C_tensor,
14002 x_: *mut C_tensor,
14003 n_: *mut C_tensor,
14004 );
14005 pub fn atg_special_hermite_polynomial_he_x_scalar(
14006 out__: *mut *mut C_tensor,
14007 x_: *mut C_scalar,
14008 n_: *mut C_tensor,
14009 );
14010 pub fn atg_special_hermite_polynomial_he_x_scalar_out(
14011 out__: *mut *mut C_tensor,
14012 out_: *mut C_tensor,
14013 x_: *mut C_scalar,
14014 n_: *mut C_tensor,
14015 );
14016 pub fn atg_special_i0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14017 pub fn atg_special_i0_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14018 pub fn atg_special_i0e(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14019 pub fn atg_special_i0e_out(
14020 out__: *mut *mut C_tensor,
14021 out_: *mut C_tensor,
14022 self_: *mut C_tensor,
14023 );
14024 pub fn atg_special_i1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14025 pub fn atg_special_i1_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14026 pub fn atg_special_i1e(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14027 pub fn atg_special_i1e_out(
14028 out__: *mut *mut C_tensor,
14029 out_: *mut C_tensor,
14030 self_: *mut C_tensor,
14031 );
14032 pub fn atg_special_laguerre_polynomial_l(
14033 out__: *mut *mut C_tensor,
14034 x_: *mut C_tensor,
14035 n_: *mut C_tensor,
14036 );
14037 pub fn atg_special_laguerre_polynomial_l_n_scalar(
14038 out__: *mut *mut C_tensor,
14039 x_: *mut C_tensor,
14040 n_: *mut C_scalar,
14041 );
14042 pub fn atg_special_laguerre_polynomial_l_n_scalar_out(
14043 out__: *mut *mut C_tensor,
14044 out_: *mut C_tensor,
14045 x_: *mut C_tensor,
14046 n_: *mut C_scalar,
14047 );
14048 pub fn atg_special_laguerre_polynomial_l_out(
14049 out__: *mut *mut C_tensor,
14050 out_: *mut C_tensor,
14051 x_: *mut C_tensor,
14052 n_: *mut C_tensor,
14053 );
14054 pub fn atg_special_laguerre_polynomial_l_x_scalar(
14055 out__: *mut *mut C_tensor,
14056 x_: *mut C_scalar,
14057 n_: *mut C_tensor,
14058 );
14059 pub fn atg_special_laguerre_polynomial_l_x_scalar_out(
14060 out__: *mut *mut C_tensor,
14061 out_: *mut C_tensor,
14062 x_: *mut C_scalar,
14063 n_: *mut C_tensor,
14064 );
14065 pub fn atg_special_legendre_polynomial_p(
14066 out__: *mut *mut C_tensor,
14067 x_: *mut C_tensor,
14068 n_: *mut C_tensor,
14069 );
14070 pub fn atg_special_legendre_polynomial_p_n_scalar(
14071 out__: *mut *mut C_tensor,
14072 x_: *mut C_tensor,
14073 n_: *mut C_scalar,
14074 );
14075 pub fn atg_special_legendre_polynomial_p_n_scalar_out(
14076 out__: *mut *mut C_tensor,
14077 out_: *mut C_tensor,
14078 x_: *mut C_tensor,
14079 n_: *mut C_scalar,
14080 );
14081 pub fn atg_special_legendre_polynomial_p_out(
14082 out__: *mut *mut C_tensor,
14083 out_: *mut C_tensor,
14084 x_: *mut C_tensor,
14085 n_: *mut C_tensor,
14086 );
14087 pub fn atg_special_legendre_polynomial_p_x_scalar(
14088 out__: *mut *mut C_tensor,
14089 x_: *mut C_scalar,
14090 n_: *mut C_tensor,
14091 );
14092 pub fn atg_special_legendre_polynomial_p_x_scalar_out(
14093 out__: *mut *mut C_tensor,
14094 out_: *mut C_tensor,
14095 x_: *mut C_scalar,
14096 n_: *mut C_tensor,
14097 );
14098 pub fn atg_special_log1p(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14099 pub fn atg_special_log1p_out(
14100 out__: *mut *mut C_tensor,
14101 out_: *mut C_tensor,
14102 self_: *mut C_tensor,
14103 );
14104 pub fn atg_special_log_ndtr(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14105 pub fn atg_special_log_ndtr_out(
14106 out__: *mut *mut C_tensor,
14107 out_: *mut C_tensor,
14108 self_: *mut C_tensor,
14109 );
14110 pub fn atg_special_log_softmax(
14111 out__: *mut *mut C_tensor,
14112 self_: *mut C_tensor,
14113 dim_: i64,
14114 dtype_: c_int,
14115 );
14116 pub fn atg_special_logit(
14117 out__: *mut *mut C_tensor,
14118 self_: *mut C_tensor,
14119 eps_v: f64,
14120 eps_null: i8,
14121 );
14122 pub fn atg_special_logit_out(
14123 out__: *mut *mut C_tensor,
14124 out_: *mut C_tensor,
14125 self_: *mut C_tensor,
14126 eps_v: f64,
14127 eps_null: i8,
14128 );
14129 pub fn atg_special_logsumexp(
14130 out__: *mut *mut C_tensor,
14131 self_: *mut C_tensor,
14132 dim_data: *const i64,
14133 dim_len: c_int,
14134 keepdim_: c_int,
14135 );
14136 pub fn atg_special_logsumexp_out(
14137 out__: *mut *mut C_tensor,
14138 out_: *mut C_tensor,
14139 self_: *mut C_tensor,
14140 dim_data: *const i64,
14141 dim_len: c_int,
14142 keepdim_: c_int,
14143 );
14144 pub fn atg_special_modified_bessel_i0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14145 pub fn atg_special_modified_bessel_i0_out(
14146 out__: *mut *mut C_tensor,
14147 out_: *mut C_tensor,
14148 self_: *mut C_tensor,
14149 );
14150 pub fn atg_special_modified_bessel_i1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14151 pub fn atg_special_modified_bessel_i1_out(
14152 out__: *mut *mut C_tensor,
14153 out_: *mut C_tensor,
14154 self_: *mut C_tensor,
14155 );
14156 pub fn atg_special_modified_bessel_k0(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14157 pub fn atg_special_modified_bessel_k0_out(
14158 out__: *mut *mut C_tensor,
14159 out_: *mut C_tensor,
14160 self_: *mut C_tensor,
14161 );
14162 pub fn atg_special_modified_bessel_k1(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14163 pub fn atg_special_modified_bessel_k1_out(
14164 out__: *mut *mut C_tensor,
14165 out_: *mut C_tensor,
14166 self_: *mut C_tensor,
14167 );
14168 pub fn atg_special_multigammaln(out__: *mut *mut C_tensor, self_: *mut C_tensor, p_: i64);
14169 pub fn atg_special_multigammaln_out(
14170 out__: *mut *mut C_tensor,
14171 out_: *mut C_tensor,
14172 self_: *mut C_tensor,
14173 p_: i64,
14174 );
14175 pub fn atg_special_ndtr(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14176 pub fn atg_special_ndtr_out(
14177 out__: *mut *mut C_tensor,
14178 out_: *mut C_tensor,
14179 self_: *mut C_tensor,
14180 );
14181 pub fn atg_special_ndtri(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14182 pub fn atg_special_ndtri_out(
14183 out__: *mut *mut C_tensor,
14184 out_: *mut C_tensor,
14185 self_: *mut C_tensor,
14186 );
14187 pub fn atg_special_polygamma(out__: *mut *mut C_tensor, n_: i64, self_: *mut C_tensor);
14188 pub fn atg_special_polygamma_out(
14189 out__: *mut *mut C_tensor,
14190 out_: *mut C_tensor,
14191 n_: i64,
14192 self_: *mut C_tensor,
14193 );
14194 pub fn atg_special_psi(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14195 pub fn atg_special_psi_out(
14196 out__: *mut *mut C_tensor,
14197 out_: *mut C_tensor,
14198 self_: *mut C_tensor,
14199 );
14200 pub fn atg_special_round(out__: *mut *mut C_tensor, self_: *mut C_tensor, decimals_: i64);
14201 pub fn atg_special_round_out(
14202 out__: *mut *mut C_tensor,
14203 out_: *mut C_tensor,
14204 self_: *mut C_tensor,
14205 decimals_: i64,
14206 );
14207 pub fn atg_special_scaled_modified_bessel_k0(out__: *mut *mut C_tensor, x_: *mut C_tensor);
14208 pub fn atg_special_scaled_modified_bessel_k0_out(
14209 out__: *mut *mut C_tensor,
14210 out_: *mut C_tensor,
14211 x_: *mut C_tensor,
14212 );
14213 pub fn atg_special_scaled_modified_bessel_k1(out__: *mut *mut C_tensor, x_: *mut C_tensor);
14214 pub fn atg_special_scaled_modified_bessel_k1_out(
14215 out__: *mut *mut C_tensor,
14216 out_: *mut C_tensor,
14217 x_: *mut C_tensor,
14218 );
14219 pub fn atg_special_shifted_chebyshev_polynomial_t(
14220 out__: *mut *mut C_tensor,
14221 x_: *mut C_tensor,
14222 n_: *mut C_tensor,
14223 );
14224 pub fn atg_special_shifted_chebyshev_polynomial_t_n_scalar(
14225 out__: *mut *mut C_tensor,
14226 x_: *mut C_tensor,
14227 n_: *mut C_scalar,
14228 );
14229 pub fn atg_special_shifted_chebyshev_polynomial_t_n_scalar_out(
14230 out__: *mut *mut C_tensor,
14231 out_: *mut C_tensor,
14232 x_: *mut C_tensor,
14233 n_: *mut C_scalar,
14234 );
14235 pub fn atg_special_shifted_chebyshev_polynomial_t_out(
14236 out__: *mut *mut C_tensor,
14237 out_: *mut C_tensor,
14238 x_: *mut C_tensor,
14239 n_: *mut C_tensor,
14240 );
14241 pub fn atg_special_shifted_chebyshev_polynomial_t_x_scalar(
14242 out__: *mut *mut C_tensor,
14243 x_: *mut C_scalar,
14244 n_: *mut C_tensor,
14245 );
14246 pub fn atg_special_shifted_chebyshev_polynomial_t_x_scalar_out(
14247 out__: *mut *mut C_tensor,
14248 out_: *mut C_tensor,
14249 x_: *mut C_scalar,
14250 n_: *mut C_tensor,
14251 );
14252 pub fn atg_special_shifted_chebyshev_polynomial_u(
14253 out__: *mut *mut C_tensor,
14254 x_: *mut C_tensor,
14255 n_: *mut C_tensor,
14256 );
14257 pub fn atg_special_shifted_chebyshev_polynomial_u_n_scalar(
14258 out__: *mut *mut C_tensor,
14259 x_: *mut C_tensor,
14260 n_: *mut C_scalar,
14261 );
14262 pub fn atg_special_shifted_chebyshev_polynomial_u_n_scalar_out(
14263 out__: *mut *mut C_tensor,
14264 out_: *mut C_tensor,
14265 x_: *mut C_tensor,
14266 n_: *mut C_scalar,
14267 );
14268 pub fn atg_special_shifted_chebyshev_polynomial_u_out(
14269 out__: *mut *mut C_tensor,
14270 out_: *mut C_tensor,
14271 x_: *mut C_tensor,
14272 n_: *mut C_tensor,
14273 );
14274 pub fn atg_special_shifted_chebyshev_polynomial_u_x_scalar(
14275 out__: *mut *mut C_tensor,
14276 x_: *mut C_scalar,
14277 n_: *mut C_tensor,
14278 );
14279 pub fn atg_special_shifted_chebyshev_polynomial_u_x_scalar_out(
14280 out__: *mut *mut C_tensor,
14281 out_: *mut C_tensor,
14282 x_: *mut C_scalar,
14283 n_: *mut C_tensor,
14284 );
14285 pub fn atg_special_shifted_chebyshev_polynomial_v(
14286 out__: *mut *mut C_tensor,
14287 x_: *mut C_tensor,
14288 n_: *mut C_tensor,
14289 );
14290 pub fn atg_special_shifted_chebyshev_polynomial_v_n_scalar(
14291 out__: *mut *mut C_tensor,
14292 x_: *mut C_tensor,
14293 n_: *mut C_scalar,
14294 );
14295 pub fn atg_special_shifted_chebyshev_polynomial_v_n_scalar_out(
14296 out__: *mut *mut C_tensor,
14297 out_: *mut C_tensor,
14298 x_: *mut C_tensor,
14299 n_: *mut C_scalar,
14300 );
14301 pub fn atg_special_shifted_chebyshev_polynomial_v_out(
14302 out__: *mut *mut C_tensor,
14303 out_: *mut C_tensor,
14304 x_: *mut C_tensor,
14305 n_: *mut C_tensor,
14306 );
14307 pub fn atg_special_shifted_chebyshev_polynomial_v_x_scalar(
14308 out__: *mut *mut C_tensor,
14309 x_: *mut C_scalar,
14310 n_: *mut C_tensor,
14311 );
14312 pub fn atg_special_shifted_chebyshev_polynomial_v_x_scalar_out(
14313 out__: *mut *mut C_tensor,
14314 out_: *mut C_tensor,
14315 x_: *mut C_scalar,
14316 n_: *mut C_tensor,
14317 );
14318 pub fn atg_special_shifted_chebyshev_polynomial_w(
14319 out__: *mut *mut C_tensor,
14320 x_: *mut C_tensor,
14321 n_: *mut C_tensor,
14322 );
14323 pub fn atg_special_shifted_chebyshev_polynomial_w_n_scalar(
14324 out__: *mut *mut C_tensor,
14325 x_: *mut C_tensor,
14326 n_: *mut C_scalar,
14327 );
14328 pub fn atg_special_shifted_chebyshev_polynomial_w_n_scalar_out(
14329 out__: *mut *mut C_tensor,
14330 out_: *mut C_tensor,
14331 x_: *mut C_tensor,
14332 n_: *mut C_scalar,
14333 );
14334 pub fn atg_special_shifted_chebyshev_polynomial_w_out(
14335 out__: *mut *mut C_tensor,
14336 out_: *mut C_tensor,
14337 x_: *mut C_tensor,
14338 n_: *mut C_tensor,
14339 );
14340 pub fn atg_special_shifted_chebyshev_polynomial_w_x_scalar(
14341 out__: *mut *mut C_tensor,
14342 x_: *mut C_scalar,
14343 n_: *mut C_tensor,
14344 );
14345 pub fn atg_special_shifted_chebyshev_polynomial_w_x_scalar_out(
14346 out__: *mut *mut C_tensor,
14347 out_: *mut C_tensor,
14348 x_: *mut C_scalar,
14349 n_: *mut C_tensor,
14350 );
14351 pub fn atg_special_sinc(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14352 pub fn atg_special_sinc_out(
14353 out__: *mut *mut C_tensor,
14354 out_: *mut C_tensor,
14355 self_: *mut C_tensor,
14356 );
14357 pub fn atg_special_softmax(
14358 out__: *mut *mut C_tensor,
14359 self_: *mut C_tensor,
14360 dim_: i64,
14361 dtype_: c_int,
14362 );
14363 pub fn atg_special_spherical_bessel_j0(out__: *mut *mut C_tensor, x_: *mut C_tensor);
14364 pub fn atg_special_spherical_bessel_j0_out(
14365 out__: *mut *mut C_tensor,
14366 out_: *mut C_tensor,
14367 x_: *mut C_tensor,
14368 );
14369 pub fn atg_special_xlog1py(
14370 out__: *mut *mut C_tensor,
14371 self_: *mut C_tensor,
14372 other_: *mut C_tensor,
14373 );
14374 pub fn atg_special_xlog1py_other_scalar(
14375 out__: *mut *mut C_tensor,
14376 self_: *mut C_tensor,
14377 other_: *mut C_scalar,
14378 );
14379 pub fn atg_special_xlog1py_other_scalar_out(
14380 out__: *mut *mut C_tensor,
14381 out_: *mut C_tensor,
14382 self_: *mut C_tensor,
14383 other_: *mut C_scalar,
14384 );
14385 pub fn atg_special_xlog1py_out(
14386 out__: *mut *mut C_tensor,
14387 out_: *mut C_tensor,
14388 self_: *mut C_tensor,
14389 other_: *mut C_tensor,
14390 );
14391 pub fn atg_special_xlog1py_self_scalar(
14392 out__: *mut *mut C_tensor,
14393 self_scalar_: *mut C_scalar,
14394 other_: *mut C_tensor,
14395 );
14396 pub fn atg_special_xlog1py_self_scalar_out(
14397 out__: *mut *mut C_tensor,
14398 out_: *mut C_tensor,
14399 self_scalar_: *mut C_scalar,
14400 other_: *mut C_tensor,
14401 );
14402 pub fn atg_special_xlogy(
14403 out__: *mut *mut C_tensor,
14404 self_: *mut C_tensor,
14405 other_: *mut C_tensor,
14406 );
14407 pub fn atg_special_xlogy_other_scalar(
14408 out__: *mut *mut C_tensor,
14409 self_: *mut C_tensor,
14410 other_: *mut C_scalar,
14411 );
14412 pub fn atg_special_xlogy_other_scalar_out(
14413 out__: *mut *mut C_tensor,
14414 out_: *mut C_tensor,
14415 self_: *mut C_tensor,
14416 other_: *mut C_scalar,
14417 );
14418 pub fn atg_special_xlogy_out(
14419 out__: *mut *mut C_tensor,
14420 out_: *mut C_tensor,
14421 self_: *mut C_tensor,
14422 other_: *mut C_tensor,
14423 );
14424 pub fn atg_special_xlogy_self_scalar(
14425 out__: *mut *mut C_tensor,
14426 self_scalar_: *mut C_scalar,
14427 other_: *mut C_tensor,
14428 );
14429 pub fn atg_special_xlogy_self_scalar_out(
14430 out__: *mut *mut C_tensor,
14431 out_: *mut C_tensor,
14432 self_scalar_: *mut C_scalar,
14433 other_: *mut C_tensor,
14434 );
14435 pub fn atg_special_zeta(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
14436 pub fn atg_special_zeta_other_scalar(
14437 out__: *mut *mut C_tensor,
14438 self_: *mut C_tensor,
14439 other_: *mut C_scalar,
14440 );
14441 pub fn atg_special_zeta_other_scalar_out(
14442 out__: *mut *mut C_tensor,
14443 out_: *mut C_tensor,
14444 self_: *mut C_tensor,
14445 other_: *mut C_scalar,
14446 );
14447 pub fn atg_special_zeta_out(
14448 out__: *mut *mut C_tensor,
14449 out_: *mut C_tensor,
14450 self_: *mut C_tensor,
14451 other_: *mut C_tensor,
14452 );
14453 pub fn atg_special_zeta_self_scalar(
14454 out__: *mut *mut C_tensor,
14455 self_scalar_: *mut C_scalar,
14456 other_: *mut C_tensor,
14457 );
14458 pub fn atg_special_zeta_self_scalar_out(
14459 out__: *mut *mut C_tensor,
14460 out_: *mut C_tensor,
14461 self_scalar_: *mut C_scalar,
14462 other_: *mut C_tensor,
14463 );
14464 pub fn atg_split(self_: *mut C_tensor, split_size_: i64, dim_: i64) -> *mut *mut C_tensor;
14465 pub fn atg_split_copy(self_: *mut C_tensor, split_size_: i64, dim_: i64) -> *mut *mut C_tensor;
14466 pub fn atg_split_copy_tensor_out(
14467 out_data: *const *mut C_tensor,
14468 out_len: c_int,
14469 self_: *mut C_tensor,
14470 split_size_: i64,
14471 dim_: i64,
14472 );
14473 pub fn atg_split_sizes(
14474 self_: *mut C_tensor,
14475 split_size_data: *const i64,
14476 split_size_len: c_int,
14477 dim_: i64,
14478 ) -> *mut *mut C_tensor;
14479 pub fn atg_split_with_sizes(
14480 self_: *mut C_tensor,
14481 split_sizes_data: *const i64,
14482 split_sizes_len: c_int,
14483 dim_: i64,
14484 ) -> *mut *mut C_tensor;
14485 pub fn atg_split_with_sizes_copy(
14486 self_: *mut C_tensor,
14487 split_sizes_data: *const i64,
14488 split_sizes_len: c_int,
14489 dim_: i64,
14490 ) -> *mut *mut C_tensor;
14491 pub fn atg_split_with_sizes_copy_out(
14492 out_data: *const *mut C_tensor,
14493 out_len: c_int,
14494 self_: *mut C_tensor,
14495 split_sizes_data: *const i64,
14496 split_sizes_len: c_int,
14497 dim_: i64,
14498 );
14499 pub fn atg_sqrt(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14500 pub fn atg_sqrt_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14501 pub fn atg_sqrt_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14502 pub fn atg_square(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14503 pub fn atg_square_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14504 pub fn atg_square_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14505 pub fn atg_squeeze(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14506 pub fn atg_squeeze_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14507 pub fn atg_squeeze_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14508 pub fn atg_squeeze_copy_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
14509 pub fn atg_squeeze_copy_dim_out(
14510 out__: *mut *mut C_tensor,
14511 out_: *mut C_tensor,
14512 self_: *mut C_tensor,
14513 dim_: i64,
14514 );
14515 pub fn atg_squeeze_copy_dims(
14516 out__: *mut *mut C_tensor,
14517 self_: *mut C_tensor,
14518 dim_data: *const i64,
14519 dim_len: c_int,
14520 );
14521 pub fn atg_squeeze_copy_dims_out(
14522 out__: *mut *mut C_tensor,
14523 out_: *mut C_tensor,
14524 self_: *mut C_tensor,
14525 dim_data: *const i64,
14526 dim_len: c_int,
14527 );
14528 pub fn atg_squeeze_copy_out(
14529 out__: *mut *mut C_tensor,
14530 out_: *mut C_tensor,
14531 self_: *mut C_tensor,
14532 );
14533 pub fn atg_squeeze_dim(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
14534 pub fn atg_squeeze_dim_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
14535 pub fn atg_squeeze_dims(
14536 out__: *mut *mut C_tensor,
14537 self_: *mut C_tensor,
14538 dim_data: *const i64,
14539 dim_len: c_int,
14540 );
14541 pub fn atg_squeeze_dims_(
14542 out__: *mut *mut C_tensor,
14543 self_: *mut C_tensor,
14544 dim_data: *const i64,
14545 dim_len: c_int,
14546 );
14547 pub fn atg_sspaddmm(
14548 out__: *mut *mut C_tensor,
14549 self_: *mut C_tensor,
14550 mat1_: *mut C_tensor,
14551 mat2_: *mut C_tensor,
14552 );
14553 pub fn atg_sspaddmm_out(
14554 out__: *mut *mut C_tensor,
14555 out_: *mut C_tensor,
14556 self_: *mut C_tensor,
14557 mat1_: *mut C_tensor,
14558 mat2_: *mut C_tensor,
14559 );
14560 pub fn atg_stack(
14561 out__: *mut *mut C_tensor,
14562 tensors_data: *const *mut C_tensor,
14563 tensors_len: c_int,
14564 dim_: i64,
14565 );
14566 pub fn atg_stack_out(
14567 out__: *mut *mut C_tensor,
14568 out_: *mut C_tensor,
14569 tensors_data: *const *mut C_tensor,
14570 tensors_len: c_int,
14571 dim_: i64,
14572 );
14573 pub fn atg_std(out__: *mut *mut C_tensor, self_: *mut C_tensor, unbiased_: c_int);
14574 pub fn atg_std_correction(
14575 out__: *mut *mut C_tensor,
14576 self_: *mut C_tensor,
14577 dim_data: *const i64,
14578 dim_len: c_int,
14579 correction_: *mut C_scalar,
14580 keepdim_: c_int,
14581 );
14582 pub fn atg_std_correction_out(
14583 out__: *mut *mut C_tensor,
14584 out_: *mut C_tensor,
14585 self_: *mut C_tensor,
14586 dim_data: *const i64,
14587 dim_len: c_int,
14588 correction_: *mut C_scalar,
14589 keepdim_: c_int,
14590 );
14591 pub fn atg_std_dim(
14592 out__: *mut *mut C_tensor,
14593 self_: *mut C_tensor,
14594 dim_data: *const i64,
14595 dim_len: c_int,
14596 unbiased_: c_int,
14597 keepdim_: c_int,
14598 );
14599 pub fn atg_std_mean(out__: *mut *mut C_tensor, self_: *mut C_tensor, unbiased_: c_int);
14600 pub fn atg_std_mean_correction(
14601 out__: *mut *mut C_tensor,
14602 self_: *mut C_tensor,
14603 dim_data: *const i64,
14604 dim_len: c_int,
14605 correction_: *mut C_scalar,
14606 keepdim_: c_int,
14607 );
14608 pub fn atg_std_mean_correction_out(
14609 out__: *mut *mut C_tensor,
14610 out0_: *mut C_tensor,
14611 out1_: *mut C_tensor,
14612 self_: *mut C_tensor,
14613 dim_data: *const i64,
14614 dim_len: c_int,
14615 correction_: *mut C_scalar,
14616 keepdim_: c_int,
14617 );
14618 pub fn atg_std_mean_dim(
14619 out__: *mut *mut C_tensor,
14620 self_: *mut C_tensor,
14621 dim_data: *const i64,
14622 dim_len: c_int,
14623 unbiased_: c_int,
14624 keepdim_: c_int,
14625 );
14626 pub fn atg_std_out(
14627 out__: *mut *mut C_tensor,
14628 out_: *mut C_tensor,
14629 self_: *mut C_tensor,
14630 dim_data: *const i64,
14631 dim_len: c_int,
14632 unbiased_: c_int,
14633 keepdim_: c_int,
14634 );
14635 pub fn atg_stft(
14636 out__: *mut *mut C_tensor,
14637 self_: *mut C_tensor,
14638 n_fft_: i64,
14639 hop_length_v: i64,
14640 hop_length_null: i8,
14641 win_length_v: i64,
14642 win_length_null: i8,
14643 window_: *mut C_tensor,
14644 normalized_: c_int,
14645 onesided_: c_int,
14646 return_complex_: c_int,
14647 align_to_window_: c_int,
14648 );
14649 pub fn atg_stft_center(
14650 out__: *mut *mut C_tensor,
14651 self_: *mut C_tensor,
14652 n_fft_: i64,
14653 hop_length_v: i64,
14654 hop_length_null: i8,
14655 win_length_v: i64,
14656 win_length_null: i8,
14657 window_: *mut C_tensor,
14658 center_: c_int,
14659 pad_mode_ptr: *const u8,
14660 pad_mode_len: c_int,
14661 normalized_: c_int,
14662 onesided_: c_int,
14663 return_complex_: c_int,
14664 align_to_window_: c_int,
14665 );
14666 pub fn atg_sub(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
14667 pub fn atg_sub_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
14668 pub fn atg_sub_out(
14669 out__: *mut *mut C_tensor,
14670 out_: *mut C_tensor,
14671 self_: *mut C_tensor,
14672 other_: *mut C_tensor,
14673 );
14674 pub fn atg_sub_scalar(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
14675 pub fn atg_sub_scalar_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_scalar);
14676 pub fn atg_sub_scalar_out(
14677 out__: *mut *mut C_tensor,
14678 out_: *mut C_tensor,
14679 self_: *mut C_tensor,
14680 other_: *mut C_scalar,
14681 );
14682 pub fn atg_subtract(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
14683 pub fn atg_subtract_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
14684 pub fn atg_subtract_out(
14685 out__: *mut *mut C_tensor,
14686 out_: *mut C_tensor,
14687 self_: *mut C_tensor,
14688 other_: *mut C_tensor,
14689 );
14690 pub fn atg_subtract_scalar(
14691 out__: *mut *mut C_tensor,
14692 self_: *mut C_tensor,
14693 other_: *mut C_scalar,
14694 );
14695 pub fn atg_subtract_scalar_(
14696 out__: *mut *mut C_tensor,
14697 self_: *mut C_tensor,
14698 other_: *mut C_scalar,
14699 );
14700 pub fn atg_sum(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
14701 pub fn atg_sum_dim_intlist(
14702 out__: *mut *mut C_tensor,
14703 self_: *mut C_tensor,
14704 dim_data: *const i64,
14705 dim_len: c_int,
14706 keepdim_: c_int,
14707 dtype_: c_int,
14708 );
14709 pub fn atg_sum_intlist_out(
14710 out__: *mut *mut C_tensor,
14711 out_: *mut C_tensor,
14712 self_: *mut C_tensor,
14713 dim_data: *const i64,
14714 dim_len: c_int,
14715 keepdim_: c_int,
14716 dtype_: c_int,
14717 );
14718 pub fn atg_sum_out(
14719 out__: *mut *mut C_tensor,
14720 out_: *mut C_tensor,
14721 self_: *mut C_tensor,
14722 dtype_: c_int,
14723 );
14724 pub fn atg_sum_to_size(
14725 out__: *mut *mut C_tensor,
14726 self_: *mut C_tensor,
14727 size_data: *const i64,
14728 size_len: c_int,
14729 );
14730 pub fn atg_svd(
14731 out__: *mut *mut C_tensor,
14732 self_: *mut C_tensor,
14733 some_: c_int,
14734 compute_uv_: c_int,
14735 );
14736 pub fn atg_svd_u(
14737 out__: *mut *mut C_tensor,
14738 U_: *mut C_tensor,
14739 S_: *mut C_tensor,
14740 V_: *mut C_tensor,
14741 self_: *mut C_tensor,
14742 some_: c_int,
14743 compute_uv_: c_int,
14744 );
14745 pub fn atg_swapaxes(out__: *mut *mut C_tensor, self_: *mut C_tensor, axis0_: i64, axis1_: i64);
14746 pub fn atg_swapaxes_(out__: *mut *mut C_tensor, self_: *mut C_tensor, axis0_: i64, axis1_: i64);
14747 pub fn atg_swapdims(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim0_: i64, dim1_: i64);
14748 pub fn atg_swapdims_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim0_: i64, dim1_: i64);
14749 pub fn atg_t(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14750 pub fn atg_t_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14751 pub fn atg_t_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14752 pub fn atg_t_copy_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14753 pub fn atg_take(out__: *mut *mut C_tensor, self_: *mut C_tensor, index_: *mut C_tensor);
14754 pub fn atg_take_along_dim(
14755 out__: *mut *mut C_tensor,
14756 self_: *mut C_tensor,
14757 indices_: *mut C_tensor,
14758 dim_v: i64,
14759 dim_null: i8,
14760 );
14761 pub fn atg_take_along_dim_out(
14762 out__: *mut *mut C_tensor,
14763 out_: *mut C_tensor,
14764 self_: *mut C_tensor,
14765 indices_: *mut C_tensor,
14766 dim_v: i64,
14767 dim_null: i8,
14768 );
14769 pub fn atg_take_out(
14770 out__: *mut *mut C_tensor,
14771 out_: *mut C_tensor,
14772 self_: *mut C_tensor,
14773 index_: *mut C_tensor,
14774 );
14775 pub fn atg_tan(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14776 pub fn atg_tan_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14777 pub fn atg_tan_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14778 pub fn atg_tanh(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14779 pub fn atg_tanh_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14780 pub fn atg_tanh_backward(
14781 out__: *mut *mut C_tensor,
14782 grad_output_: *mut C_tensor,
14783 output_: *mut C_tensor,
14784 );
14785 pub fn atg_tanh_backward_grad_input(
14786 out__: *mut *mut C_tensor,
14787 grad_input_: *mut C_tensor,
14788 grad_output_: *mut C_tensor,
14789 output_: *mut C_tensor,
14790 );
14791 pub fn atg_tanh_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
14792 pub fn atg_tensor_split(self_: *mut C_tensor, sections_: i64, dim_: i64) -> *mut *mut C_tensor;
14793 pub fn atg_tensor_split_indices(
14794 self_: *mut C_tensor,
14795 indices_data: *const i64,
14796 indices_len: c_int,
14797 dim_: i64,
14798 ) -> *mut *mut C_tensor;
14799 pub fn atg_tensor_split_tensor_indices_or_sections(
14800 self_: *mut C_tensor,
14801 tensor_indices_or_sections_: *mut C_tensor,
14802 dim_: i64,
14803 ) -> *mut *mut C_tensor;
14804 pub fn atg_tensordot(
14805 out__: *mut *mut C_tensor,
14806 self_: *mut C_tensor,
14807 other_: *mut C_tensor,
14808 dims_self_data: *const i64,
14809 dims_self_len: c_int,
14810 dims_other_data: *const i64,
14811 dims_other_len: c_int,
14812 );
14813 pub fn atg_tensordot_out(
14814 out__: *mut *mut C_tensor,
14815 out_: *mut C_tensor,
14816 self_: *mut C_tensor,
14817 other_: *mut C_tensor,
14818 dims_self_data: *const i64,
14819 dims_self_len: c_int,
14820 dims_other_data: *const i64,
14821 dims_other_len: c_int,
14822 );
14823 pub fn atg_threshold(
14824 out__: *mut *mut C_tensor,
14825 self_: *mut C_tensor,
14826 threshold_: *mut C_scalar,
14827 value_: *mut C_scalar,
14828 );
14829 pub fn atg_threshold_(
14830 out__: *mut *mut C_tensor,
14831 self_: *mut C_tensor,
14832 threshold_: *mut C_scalar,
14833 value_: *mut C_scalar,
14834 );
14835 pub fn atg_threshold_backward(
14836 out__: *mut *mut C_tensor,
14837 grad_output_: *mut C_tensor,
14838 self_: *mut C_tensor,
14839 threshold_: *mut C_scalar,
14840 );
14841 pub fn atg_threshold_backward_grad_input(
14842 out__: *mut *mut C_tensor,
14843 grad_input_: *mut C_tensor,
14844 grad_output_: *mut C_tensor,
14845 self_: *mut C_tensor,
14846 threshold_: *mut C_scalar,
14847 );
14848 pub fn atg_threshold_out(
14849 out__: *mut *mut C_tensor,
14850 out_: *mut C_tensor,
14851 self_: *mut C_tensor,
14852 threshold_: *mut C_scalar,
14853 value_: *mut C_scalar,
14854 );
14855 pub fn atg_tile(
14856 out__: *mut *mut C_tensor,
14857 self_: *mut C_tensor,
14858 dims_data: *const i64,
14859 dims_len: c_int,
14860 );
14861 pub fn atg_to(out__: *mut *mut C_tensor, self_: *mut C_tensor, device_: c_int);
14862 pub fn atg_to_dense(
14863 out__: *mut *mut C_tensor,
14864 self_: *mut C_tensor,
14865 dtype_: c_int,
14866 masked_grad_: c_int,
14867 );
14868 pub fn atg_to_dense_backward(
14869 out__: *mut *mut C_tensor,
14870 grad_: *mut C_tensor,
14871 input_: *mut C_tensor,
14872 masked_grad_: c_int,
14873 );
14874 pub fn atg_to_device(
14875 out__: *mut *mut C_tensor,
14876 self_: *mut C_tensor,
14877 device_: c_int,
14878 dtype_: c_int,
14879 non_blocking_: c_int,
14880 copy_: c_int,
14881 );
14882 pub fn atg_to_dtype(
14883 out__: *mut *mut C_tensor,
14884 self_: *mut C_tensor,
14885 dtype_: c_int,
14886 non_blocking_: c_int,
14887 copy_: c_int,
14888 );
14889 pub fn atg_to_dtype_layout(
14890 out__: *mut *mut C_tensor,
14891 self_: *mut C_tensor,
14892 options_kind: c_int,
14893 options_device: c_int,
14894 non_blocking_: c_int,
14895 copy_: c_int,
14896 );
14897 pub fn atg_to_mkldnn(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
14898 pub fn atg_to_mkldnn_backward(
14899 out__: *mut *mut C_tensor,
14900 grad_: *mut C_tensor,
14901 input_: *mut C_tensor,
14902 );
14903 pub fn atg_to_mkldnn_out(
14904 out__: *mut *mut C_tensor,
14905 out_: *mut C_tensor,
14906 self_: *mut C_tensor,
14907 dtype_: c_int,
14908 );
14909 pub fn atg_to_other(
14910 out__: *mut *mut C_tensor,
14911 self_: *mut C_tensor,
14912 other_: *mut C_tensor,
14913 non_blocking_: c_int,
14914 copy_: c_int,
14915 );
14916 pub fn atg_to_padded_tensor(
14917 out__: *mut *mut C_tensor,
14918 self_: *mut C_tensor,
14919 padding_: f64,
14920 output_size_data: *const i64,
14921 output_size_len: c_int,
14922 );
14923 pub fn atg_to_padded_tensor_out(
14924 out__: *mut *mut C_tensor,
14925 out_: *mut C_tensor,
14926 self_: *mut C_tensor,
14927 padding_: f64,
14928 output_size_data: *const i64,
14929 output_size_len: c_int,
14930 );
14931 pub fn atg_to_sparse(
14932 out__: *mut *mut C_tensor,
14933 self_: *mut C_tensor,
14934 layout_: i8,
14935 blocksize_data: *const i64,
14936 blocksize_len: c_int,
14937 dense_dim_v: i64,
14938 dense_dim_null: i8,
14939 );
14940 pub fn atg_to_sparse_bsc(
14941 out__: *mut *mut C_tensor,
14942 self_: *mut C_tensor,
14943 blocksize_data: *const i64,
14944 blocksize_len: c_int,
14945 dense_dim_v: i64,
14946 dense_dim_null: i8,
14947 );
14948 pub fn atg_to_sparse_bsr(
14949 out__: *mut *mut C_tensor,
14950 self_: *mut C_tensor,
14951 blocksize_data: *const i64,
14952 blocksize_len: c_int,
14953 dense_dim_v: i64,
14954 dense_dim_null: i8,
14955 );
14956 pub fn atg_to_sparse_csc(
14957 out__: *mut *mut C_tensor,
14958 self_: *mut C_tensor,
14959 dense_dim_v: i64,
14960 dense_dim_null: i8,
14961 );
14962 pub fn atg_to_sparse_csr(
14963 out__: *mut *mut C_tensor,
14964 self_: *mut C_tensor,
14965 dense_dim_v: i64,
14966 dense_dim_null: i8,
14967 );
14968 pub fn atg_to_sparse_sparse_dim(
14969 out__: *mut *mut C_tensor,
14970 self_: *mut C_tensor,
14971 sparse_dim_: i64,
14972 );
14973 pub fn atg_topk(
14974 out__: *mut *mut C_tensor,
14975 self_: *mut C_tensor,
14976 k_: i64,
14977 dim_: i64,
14978 largest_: c_int,
14979 sorted_: c_int,
14980 );
14981 pub fn atg_topk_values(
14982 out__: *mut *mut C_tensor,
14983 values_: *mut C_tensor,
14984 indices_: *mut C_tensor,
14985 self_: *mut C_tensor,
14986 k_: i64,
14987 dim_: i64,
14988 largest_: c_int,
14989 sorted_: c_int,
14990 );
14991 pub fn atg_totype(out__: *mut *mut C_tensor, self_: *mut C_tensor, scalar_type_: c_int);
14992 pub fn atg_trace(out__: *mut *mut C_tensor, self_: *mut C_tensor);
14993 pub fn atg_trace_backward(
14994 out__: *mut *mut C_tensor,
14995 grad_: *mut C_tensor,
14996 sizes_data: *const i64,
14997 sizes_len: c_int,
14998 );
14999 pub fn atg_trace_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
15000 pub fn atg_transpose(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim0_: i64, dim1_: i64);
15001 pub fn atg_transpose_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim0_: i64, dim1_: i64);
15002 pub fn atg_transpose_copy(
15003 out__: *mut *mut C_tensor,
15004 self_: *mut C_tensor,
15005 dim0_: i64,
15006 dim1_: i64,
15007 );
15008 pub fn atg_transpose_copy_int_out(
15009 out__: *mut *mut C_tensor,
15010 out_: *mut C_tensor,
15011 self_: *mut C_tensor,
15012 dim0_: i64,
15013 dim1_: i64,
15014 );
15015 pub fn atg_trapezoid(out__: *mut *mut C_tensor, y_: *mut C_tensor, dim_: i64);
15016 pub fn atg_trapezoid_x(
15017 out__: *mut *mut C_tensor,
15018 y_: *mut C_tensor,
15019 x_: *mut C_tensor,
15020 dim_: i64,
15021 );
15022 pub fn atg_trapz(out__: *mut *mut C_tensor, y_: *mut C_tensor, x_: *mut C_tensor, dim_: i64);
15023 pub fn atg_trapz_dx(out__: *mut *mut C_tensor, y_: *mut C_tensor, dx_: f64, dim_: i64);
15024 pub fn atg_triangular_solve(
15025 out__: *mut *mut C_tensor,
15026 self_: *mut C_tensor,
15027 A_: *mut C_tensor,
15028 upper_: c_int,
15029 transpose_: c_int,
15030 unitriangular_: c_int,
15031 );
15032 pub fn atg_triangular_solve_x(
15033 out__: *mut *mut C_tensor,
15034 X_: *mut C_tensor,
15035 M_: *mut C_tensor,
15036 self_: *mut C_tensor,
15037 A_: *mut C_tensor,
15038 upper_: c_int,
15039 transpose_: c_int,
15040 unitriangular_: c_int,
15041 );
15042 pub fn atg_tril(out__: *mut *mut C_tensor, self_: *mut C_tensor, diagonal_: i64);
15043 pub fn atg_tril_(out__: *mut *mut C_tensor, self_: *mut C_tensor, diagonal_: i64);
15044 pub fn atg_tril_indices(
15045 out__: *mut *mut C_tensor,
15046 row_: i64,
15047 col_: i64,
15048 offset_: i64,
15049 options_kind: c_int,
15050 options_device: c_int,
15051 );
15052 pub fn atg_tril_indices_out(
15053 out__: *mut *mut C_tensor,
15054 out_: *mut C_tensor,
15055 row_: i64,
15056 col_: i64,
15057 offset_: i64,
15058 );
15059 pub fn atg_tril_out(
15060 out__: *mut *mut C_tensor,
15061 out_: *mut C_tensor,
15062 self_: *mut C_tensor,
15063 diagonal_: i64,
15064 );
15065 pub fn atg_triplet_margin_loss(
15066 out__: *mut *mut C_tensor,
15067 anchor_: *mut C_tensor,
15068 positive_: *mut C_tensor,
15069 negative_: *mut C_tensor,
15070 margin_: f64,
15071 p_: f64,
15072 eps_: f64,
15073 swap_: c_int,
15074 reduction_: i64,
15075 );
15076 pub fn atg_triu(out__: *mut *mut C_tensor, self_: *mut C_tensor, diagonal_: i64);
15077 pub fn atg_triu_(out__: *mut *mut C_tensor, self_: *mut C_tensor, diagonal_: i64);
15078 pub fn atg_triu_indices(
15079 out__: *mut *mut C_tensor,
15080 row_: i64,
15081 col_: i64,
15082 offset_: i64,
15083 options_kind: c_int,
15084 options_device: c_int,
15085 );
15086 pub fn atg_triu_indices_out(
15087 out__: *mut *mut C_tensor,
15088 out_: *mut C_tensor,
15089 row_: i64,
15090 col_: i64,
15091 offset_: i64,
15092 );
15093 pub fn atg_triu_out(
15094 out__: *mut *mut C_tensor,
15095 out_: *mut C_tensor,
15096 self_: *mut C_tensor,
15097 diagonal_: i64,
15098 );
15099 pub fn atg_true_divide(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15100 pub fn atg_true_divide_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15101 pub fn atg_true_divide_out(
15102 out__: *mut *mut C_tensor,
15103 out_: *mut C_tensor,
15104 self_: *mut C_tensor,
15105 other_: *mut C_tensor,
15106 );
15107 pub fn atg_true_divide_scalar(
15108 out__: *mut *mut C_tensor,
15109 self_: *mut C_tensor,
15110 other_: *mut C_scalar,
15111 );
15112 pub fn atg_true_divide_scalar_(
15113 out__: *mut *mut C_tensor,
15114 self_: *mut C_tensor,
15115 other_: *mut C_scalar,
15116 );
15117 pub fn atg_trunc(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15118 pub fn atg_trunc_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15119 pub fn atg_trunc_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
15120 pub fn atg_type_as(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15121 pub fn atg_unbind(self_: *mut C_tensor, dim_: i64) -> *mut *mut C_tensor;
15122 pub fn atg_unbind_copy(self_: *mut C_tensor, dim_: i64) -> *mut *mut C_tensor;
15123 pub fn atg_unbind_copy_int_out(
15124 out_data: *const *mut C_tensor,
15125 out_len: c_int,
15126 self_: *mut C_tensor,
15127 dim_: i64,
15128 );
15129 pub fn atg_unflatten(
15130 out__: *mut *mut C_tensor,
15131 self_: *mut C_tensor,
15132 dim_: i64,
15133 sizes_data: *const i64,
15134 sizes_len: c_int,
15135 );
15136 pub fn atg_unflatten_dense_tensors(
15137 flat_: *mut C_tensor,
15138 tensors_data: *const *mut C_tensor,
15139 tensors_len: c_int,
15140 ) -> *mut *mut C_tensor;
15141 pub fn atg_unfold(
15142 out__: *mut *mut C_tensor,
15143 self_: *mut C_tensor,
15144 dimension_: i64,
15145 size_: i64,
15146 step_: i64,
15147 );
15148 pub fn atg_unfold_backward(
15149 out__: *mut *mut C_tensor,
15150 grad_in_: *mut C_tensor,
15151 input_sizes_data: *const i64,
15152 input_sizes_len: c_int,
15153 dim_: i64,
15154 size_: i64,
15155 step_: i64,
15156 );
15157 pub fn atg_unfold_backward_out(
15158 out__: *mut *mut C_tensor,
15159 out_: *mut C_tensor,
15160 grad_in_: *mut C_tensor,
15161 input_sizes_data: *const i64,
15162 input_sizes_len: c_int,
15163 dim_: i64,
15164 size_: i64,
15165 step_: i64,
15166 );
15167 pub fn atg_unfold_copy(
15168 out__: *mut *mut C_tensor,
15169 self_: *mut C_tensor,
15170 dimension_: i64,
15171 size_: i64,
15172 step_: i64,
15173 );
15174 pub fn atg_unfold_copy_out(
15175 out__: *mut *mut C_tensor,
15176 out_: *mut C_tensor,
15177 self_: *mut C_tensor,
15178 dimension_: i64,
15179 size_: i64,
15180 step_: i64,
15181 );
15182 pub fn atg_uniform(out__: *mut *mut C_tensor, self_: *mut C_tensor, from_: f64, to_: f64);
15183 pub fn atg_uniform_(out__: *mut *mut C_tensor, self_: *mut C_tensor, from_: f64, to_: f64);
15184 pub fn atg_uniform_out(
15185 out__: *mut *mut C_tensor,
15186 out_: *mut C_tensor,
15187 self_: *mut C_tensor,
15188 from_: f64,
15189 to_: f64,
15190 );
15191 pub fn atg_unique_consecutive(
15192 out__: *mut *mut C_tensor,
15193 self_: *mut C_tensor,
15194 return_inverse_: c_int,
15195 return_counts_: c_int,
15196 dim_v: i64,
15197 dim_null: i8,
15198 );
15199 pub fn atg_unique_consecutive_out(
15200 out__: *mut *mut C_tensor,
15201 out0_: *mut C_tensor,
15202 out1_: *mut C_tensor,
15203 out2_: *mut C_tensor,
15204 self_: *mut C_tensor,
15205 return_inverse_: c_int,
15206 return_counts_: c_int,
15207 dim_v: i64,
15208 dim_null: i8,
15209 );
15210 pub fn atg_unique_dim(
15211 out__: *mut *mut C_tensor,
15212 self_: *mut C_tensor,
15213 dim_: i64,
15214 sorted_: c_int,
15215 return_inverse_: c_int,
15216 return_counts_: c_int,
15217 );
15218 pub fn atg_unique_dim_consecutive(
15219 out__: *mut *mut C_tensor,
15220 self_: *mut C_tensor,
15221 dim_: i64,
15222 return_inverse_: c_int,
15223 return_counts_: c_int,
15224 );
15225 pub fn atg_unique_dim_consecutive_out(
15226 out__: *mut *mut C_tensor,
15227 out0_: *mut C_tensor,
15228 out1_: *mut C_tensor,
15229 out2_: *mut C_tensor,
15230 self_: *mut C_tensor,
15231 dim_: i64,
15232 return_inverse_: c_int,
15233 return_counts_: c_int,
15234 );
15235 pub fn atg_unique_dim_out(
15236 out__: *mut *mut C_tensor,
15237 out0_: *mut C_tensor,
15238 out1_: *mut C_tensor,
15239 out2_: *mut C_tensor,
15240 self_: *mut C_tensor,
15241 dim_: i64,
15242 sorted_: c_int,
15243 return_inverse_: c_int,
15244 return_counts_: c_int,
15245 );
15246 pub fn atg_unsafe_chunk(self_: *mut C_tensor, chunks_: i64, dim_: i64) -> *mut *mut C_tensor;
15247 pub fn atg_unsafe_split(
15248 self_: *mut C_tensor,
15249 split_size_: i64,
15250 dim_: i64,
15251 ) -> *mut *mut C_tensor;
15252 pub fn atg_unsafe_split_tensor_out(
15253 out_data: *const *mut C_tensor,
15254 out_len: c_int,
15255 self_: *mut C_tensor,
15256 split_size_: i64,
15257 dim_: i64,
15258 );
15259 pub fn atg_unsafe_split_with_sizes(
15260 self_: *mut C_tensor,
15261 split_sizes_data: *const i64,
15262 split_sizes_len: c_int,
15263 dim_: i64,
15264 ) -> *mut *mut C_tensor;
15265 pub fn atg_unsafe_split_with_sizes_out(
15266 out_data: *const *mut C_tensor,
15267 out_len: c_int,
15268 self_: *mut C_tensor,
15269 split_sizes_data: *const i64,
15270 split_sizes_len: c_int,
15271 dim_: i64,
15272 );
15273 pub fn atg_unsqueeze(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
15274 pub fn atg_unsqueeze_(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
15275 pub fn atg_unsqueeze_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor, dim_: i64);
15276 pub fn atg_unsqueeze_copy_out(
15277 out__: *mut *mut C_tensor,
15278 out_: *mut C_tensor,
15279 self_: *mut C_tensor,
15280 dim_: i64,
15281 );
15282 pub fn atg_upsample_bicubic2d(
15283 out__: *mut *mut C_tensor,
15284 self_: *mut C_tensor,
15285 output_size_data: *const i64,
15286 output_size_len: c_int,
15287 align_corners_: c_int,
15288 scales_h_v: f64,
15289 scales_h_null: i8,
15290 scales_w_v: f64,
15291 scales_w_null: i8,
15292 );
15293 pub fn atg_upsample_bicubic2d_backward(
15294 out__: *mut *mut C_tensor,
15295 grad_output_: *mut C_tensor,
15296 output_size_data: *const i64,
15297 output_size_len: c_int,
15298 input_size_data: *const i64,
15299 input_size_len: c_int,
15300 align_corners_: c_int,
15301 scales_h_v: f64,
15302 scales_h_null: i8,
15303 scales_w_v: f64,
15304 scales_w_null: i8,
15305 );
15306 pub fn atg_upsample_bicubic2d_backward_grad_input(
15307 out__: *mut *mut C_tensor,
15308 grad_input_: *mut C_tensor,
15309 grad_output_: *mut C_tensor,
15310 output_size_data: *const i64,
15311 output_size_len: c_int,
15312 input_size_data: *const i64,
15313 input_size_len: c_int,
15314 align_corners_: c_int,
15315 scales_h_v: f64,
15316 scales_h_null: i8,
15317 scales_w_v: f64,
15318 scales_w_null: i8,
15319 );
15320 pub fn atg_upsample_bicubic2d_out(
15321 out__: *mut *mut C_tensor,
15322 out_: *mut C_tensor,
15323 self_: *mut C_tensor,
15324 output_size_data: *const i64,
15325 output_size_len: c_int,
15326 align_corners_: c_int,
15327 scales_h_v: f64,
15328 scales_h_null: i8,
15329 scales_w_v: f64,
15330 scales_w_null: i8,
15331 );
15332 pub fn atg_upsample_bicubic2d_vec(
15333 out__: *mut *mut C_tensor,
15334 input_: *mut C_tensor,
15335 output_size_data: *const i64,
15336 output_size_len: c_int,
15337 align_corners_: c_int,
15338 scale_factors_data: *const f64,
15339 scale_factors_len: c_int,
15340 );
15341 pub fn atg_upsample_bilinear2d(
15342 out__: *mut *mut C_tensor,
15343 self_: *mut C_tensor,
15344 output_size_data: *const i64,
15345 output_size_len: c_int,
15346 align_corners_: c_int,
15347 scales_h_v: f64,
15348 scales_h_null: i8,
15349 scales_w_v: f64,
15350 scales_w_null: i8,
15351 );
15352 pub fn atg_upsample_bilinear2d_backward(
15353 out__: *mut *mut C_tensor,
15354 grad_output_: *mut C_tensor,
15355 output_size_data: *const i64,
15356 output_size_len: c_int,
15357 input_size_data: *const i64,
15358 input_size_len: c_int,
15359 align_corners_: c_int,
15360 scales_h_v: f64,
15361 scales_h_null: i8,
15362 scales_w_v: f64,
15363 scales_w_null: i8,
15364 );
15365 pub fn atg_upsample_bilinear2d_backward_grad_input(
15366 out__: *mut *mut C_tensor,
15367 grad_input_: *mut C_tensor,
15368 grad_output_: *mut C_tensor,
15369 output_size_data: *const i64,
15370 output_size_len: c_int,
15371 input_size_data: *const i64,
15372 input_size_len: c_int,
15373 align_corners_: c_int,
15374 scales_h_v: f64,
15375 scales_h_null: i8,
15376 scales_w_v: f64,
15377 scales_w_null: i8,
15378 );
15379 pub fn atg_upsample_bilinear2d_out(
15380 out__: *mut *mut C_tensor,
15381 out_: *mut C_tensor,
15382 self_: *mut C_tensor,
15383 output_size_data: *const i64,
15384 output_size_len: c_int,
15385 align_corners_: c_int,
15386 scales_h_v: f64,
15387 scales_h_null: i8,
15388 scales_w_v: f64,
15389 scales_w_null: i8,
15390 );
15391 pub fn atg_upsample_bilinear2d_vec(
15392 out__: *mut *mut C_tensor,
15393 input_: *mut C_tensor,
15394 output_size_data: *const i64,
15395 output_size_len: c_int,
15396 align_corners_: c_int,
15397 scale_factors_data: *const f64,
15398 scale_factors_len: c_int,
15399 );
15400 pub fn atg_upsample_bilinear2d_vec_out(
15401 out__: *mut *mut C_tensor,
15402 out_: *mut C_tensor,
15403 input_: *mut C_tensor,
15404 output_size_data: *const i64,
15405 output_size_len: c_int,
15406 align_corners_: c_int,
15407 scale_factors_data: *const f64,
15408 scale_factors_len: c_int,
15409 );
15410 pub fn atg_upsample_linear1d(
15411 out__: *mut *mut C_tensor,
15412 self_: *mut C_tensor,
15413 output_size_data: *const i64,
15414 output_size_len: c_int,
15415 align_corners_: c_int,
15416 scales_v: f64,
15417 scales_null: i8,
15418 );
15419 pub fn atg_upsample_linear1d_backward(
15420 out__: *mut *mut C_tensor,
15421 grad_output_: *mut C_tensor,
15422 output_size_data: *const i64,
15423 output_size_len: c_int,
15424 input_size_data: *const i64,
15425 input_size_len: c_int,
15426 align_corners_: c_int,
15427 scales_v: f64,
15428 scales_null: i8,
15429 );
15430 pub fn atg_upsample_linear1d_backward_grad_input(
15431 out__: *mut *mut C_tensor,
15432 grad_input_: *mut C_tensor,
15433 grad_output_: *mut C_tensor,
15434 output_size_data: *const i64,
15435 output_size_len: c_int,
15436 input_size_data: *const i64,
15437 input_size_len: c_int,
15438 align_corners_: c_int,
15439 scales_v: f64,
15440 scales_null: i8,
15441 );
15442 pub fn atg_upsample_linear1d_out(
15443 out__: *mut *mut C_tensor,
15444 out_: *mut C_tensor,
15445 self_: *mut C_tensor,
15446 output_size_data: *const i64,
15447 output_size_len: c_int,
15448 align_corners_: c_int,
15449 scales_v: f64,
15450 scales_null: i8,
15451 );
15452 pub fn atg_upsample_linear1d_vec(
15453 out__: *mut *mut C_tensor,
15454 input_: *mut C_tensor,
15455 output_size_data: *const i64,
15456 output_size_len: c_int,
15457 align_corners_: c_int,
15458 scale_factors_data: *const f64,
15459 scale_factors_len: c_int,
15460 );
15461 pub fn atg_upsample_nearest1d(
15462 out__: *mut *mut C_tensor,
15463 self_: *mut C_tensor,
15464 output_size_data: *const i64,
15465 output_size_len: c_int,
15466 scales_v: f64,
15467 scales_null: i8,
15468 );
15469 pub fn atg_upsample_nearest1d_backward(
15470 out__: *mut *mut C_tensor,
15471 grad_output_: *mut C_tensor,
15472 output_size_data: *const i64,
15473 output_size_len: c_int,
15474 input_size_data: *const i64,
15475 input_size_len: c_int,
15476 scales_v: f64,
15477 scales_null: i8,
15478 );
15479 pub fn atg_upsample_nearest1d_backward_grad_input(
15480 out__: *mut *mut C_tensor,
15481 grad_input_: *mut C_tensor,
15482 grad_output_: *mut C_tensor,
15483 output_size_data: *const i64,
15484 output_size_len: c_int,
15485 input_size_data: *const i64,
15486 input_size_len: c_int,
15487 scales_v: f64,
15488 scales_null: i8,
15489 );
15490 pub fn atg_upsample_nearest1d_out(
15491 out__: *mut *mut C_tensor,
15492 out_: *mut C_tensor,
15493 self_: *mut C_tensor,
15494 output_size_data: *const i64,
15495 output_size_len: c_int,
15496 scales_v: f64,
15497 scales_null: i8,
15498 );
15499 pub fn atg_upsample_nearest1d_vec(
15500 out__: *mut *mut C_tensor,
15501 input_: *mut C_tensor,
15502 output_size_data: *const i64,
15503 output_size_len: c_int,
15504 scale_factors_data: *const f64,
15505 scale_factors_len: c_int,
15506 );
15507 pub fn atg_upsample_nearest2d(
15508 out__: *mut *mut C_tensor,
15509 self_: *mut C_tensor,
15510 output_size_data: *const i64,
15511 output_size_len: c_int,
15512 scales_h_v: f64,
15513 scales_h_null: i8,
15514 scales_w_v: f64,
15515 scales_w_null: i8,
15516 );
15517 pub fn atg_upsample_nearest2d_backward(
15518 out__: *mut *mut C_tensor,
15519 grad_output_: *mut C_tensor,
15520 output_size_data: *const i64,
15521 output_size_len: c_int,
15522 input_size_data: *const i64,
15523 input_size_len: c_int,
15524 scales_h_v: f64,
15525 scales_h_null: i8,
15526 scales_w_v: f64,
15527 scales_w_null: i8,
15528 );
15529 pub fn atg_upsample_nearest2d_backward_grad_input(
15530 out__: *mut *mut C_tensor,
15531 grad_input_: *mut C_tensor,
15532 grad_output_: *mut C_tensor,
15533 output_size_data: *const i64,
15534 output_size_len: c_int,
15535 input_size_data: *const i64,
15536 input_size_len: c_int,
15537 scales_h_v: f64,
15538 scales_h_null: i8,
15539 scales_w_v: f64,
15540 scales_w_null: i8,
15541 );
15542 pub fn atg_upsample_nearest2d_out(
15543 out__: *mut *mut C_tensor,
15544 out_: *mut C_tensor,
15545 self_: *mut C_tensor,
15546 output_size_data: *const i64,
15547 output_size_len: c_int,
15548 scales_h_v: f64,
15549 scales_h_null: i8,
15550 scales_w_v: f64,
15551 scales_w_null: i8,
15552 );
15553 pub fn atg_upsample_nearest2d_vec(
15554 out__: *mut *mut C_tensor,
15555 input_: *mut C_tensor,
15556 output_size_data: *const i64,
15557 output_size_len: c_int,
15558 scale_factors_data: *const f64,
15559 scale_factors_len: c_int,
15560 );
15561 pub fn atg_upsample_nearest2d_vec_out(
15562 out__: *mut *mut C_tensor,
15563 out_: *mut C_tensor,
15564 input_: *mut C_tensor,
15565 output_size_data: *const i64,
15566 output_size_len: c_int,
15567 scale_factors_data: *const f64,
15568 scale_factors_len: c_int,
15569 );
15570 pub fn atg_upsample_nearest3d(
15571 out__: *mut *mut C_tensor,
15572 self_: *mut C_tensor,
15573 output_size_data: *const i64,
15574 output_size_len: c_int,
15575 scales_d_v: f64,
15576 scales_d_null: i8,
15577 scales_h_v: f64,
15578 scales_h_null: i8,
15579 scales_w_v: f64,
15580 scales_w_null: i8,
15581 );
15582 pub fn atg_upsample_nearest3d_backward(
15583 out__: *mut *mut C_tensor,
15584 grad_output_: *mut C_tensor,
15585 output_size_data: *const i64,
15586 output_size_len: c_int,
15587 input_size_data: *const i64,
15588 input_size_len: c_int,
15589 scales_d_v: f64,
15590 scales_d_null: i8,
15591 scales_h_v: f64,
15592 scales_h_null: i8,
15593 scales_w_v: f64,
15594 scales_w_null: i8,
15595 );
15596 pub fn atg_upsample_nearest3d_backward_grad_input(
15597 out__: *mut *mut C_tensor,
15598 grad_input_: *mut C_tensor,
15599 grad_output_: *mut C_tensor,
15600 output_size_data: *const i64,
15601 output_size_len: c_int,
15602 input_size_data: *const i64,
15603 input_size_len: c_int,
15604 scales_d_v: f64,
15605 scales_d_null: i8,
15606 scales_h_v: f64,
15607 scales_h_null: i8,
15608 scales_w_v: f64,
15609 scales_w_null: i8,
15610 );
15611 pub fn atg_upsample_nearest3d_out(
15612 out__: *mut *mut C_tensor,
15613 out_: *mut C_tensor,
15614 self_: *mut C_tensor,
15615 output_size_data: *const i64,
15616 output_size_len: c_int,
15617 scales_d_v: f64,
15618 scales_d_null: i8,
15619 scales_h_v: f64,
15620 scales_h_null: i8,
15621 scales_w_v: f64,
15622 scales_w_null: i8,
15623 );
15624 pub fn atg_upsample_nearest3d_vec(
15625 out__: *mut *mut C_tensor,
15626 input_: *mut C_tensor,
15627 output_size_data: *const i64,
15628 output_size_len: c_int,
15629 scale_factors_data: *const f64,
15630 scale_factors_len: c_int,
15631 );
15632 pub fn atg_upsample_trilinear3d(
15633 out__: *mut *mut C_tensor,
15634 self_: *mut C_tensor,
15635 output_size_data: *const i64,
15636 output_size_len: c_int,
15637 align_corners_: c_int,
15638 scales_d_v: f64,
15639 scales_d_null: i8,
15640 scales_h_v: f64,
15641 scales_h_null: i8,
15642 scales_w_v: f64,
15643 scales_w_null: i8,
15644 );
15645 pub fn atg_upsample_trilinear3d_backward(
15646 out__: *mut *mut C_tensor,
15647 grad_output_: *mut C_tensor,
15648 output_size_data: *const i64,
15649 output_size_len: c_int,
15650 input_size_data: *const i64,
15651 input_size_len: c_int,
15652 align_corners_: c_int,
15653 scales_d_v: f64,
15654 scales_d_null: i8,
15655 scales_h_v: f64,
15656 scales_h_null: i8,
15657 scales_w_v: f64,
15658 scales_w_null: i8,
15659 );
15660 pub fn atg_upsample_trilinear3d_backward_grad_input(
15661 out__: *mut *mut C_tensor,
15662 grad_input_: *mut C_tensor,
15663 grad_output_: *mut C_tensor,
15664 output_size_data: *const i64,
15665 output_size_len: c_int,
15666 input_size_data: *const i64,
15667 input_size_len: c_int,
15668 align_corners_: c_int,
15669 scales_d_v: f64,
15670 scales_d_null: i8,
15671 scales_h_v: f64,
15672 scales_h_null: i8,
15673 scales_w_v: f64,
15674 scales_w_null: i8,
15675 );
15676 pub fn atg_upsample_trilinear3d_out(
15677 out__: *mut *mut C_tensor,
15678 out_: *mut C_tensor,
15679 self_: *mut C_tensor,
15680 output_size_data: *const i64,
15681 output_size_len: c_int,
15682 align_corners_: c_int,
15683 scales_d_v: f64,
15684 scales_d_null: i8,
15685 scales_h_v: f64,
15686 scales_h_null: i8,
15687 scales_w_v: f64,
15688 scales_w_null: i8,
15689 );
15690 pub fn atg_upsample_trilinear3d_vec(
15691 out__: *mut *mut C_tensor,
15692 input_: *mut C_tensor,
15693 output_size_data: *const i64,
15694 output_size_len: c_int,
15695 align_corners_: c_int,
15696 scale_factors_data: *const f64,
15697 scale_factors_len: c_int,
15698 );
15699 pub fn atg_value_selecting_reduction_backward(
15700 out__: *mut *mut C_tensor,
15701 grad_: *mut C_tensor,
15702 dim_: i64,
15703 indices_: *mut C_tensor,
15704 sizes_data: *const i64,
15705 sizes_len: c_int,
15706 keepdim_: c_int,
15707 );
15708 pub fn atg_values(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15709 pub fn atg_values_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15710 pub fn atg_values_copy_out(
15711 out__: *mut *mut C_tensor,
15712 out_: *mut C_tensor,
15713 self_: *mut C_tensor,
15714 );
15715 pub fn atg_vander(
15716 out__: *mut *mut C_tensor,
15717 x_: *mut C_tensor,
15718 n_v: i64,
15719 n_null: i8,
15720 increasing_: c_int,
15721 );
15722 pub fn atg_var(out__: *mut *mut C_tensor, self_: *mut C_tensor, unbiased_: c_int);
15723 pub fn atg_var_correction(
15724 out__: *mut *mut C_tensor,
15725 self_: *mut C_tensor,
15726 dim_data: *const i64,
15727 dim_len: c_int,
15728 correction_: *mut C_scalar,
15729 keepdim_: c_int,
15730 );
15731 pub fn atg_var_correction_out(
15732 out__: *mut *mut C_tensor,
15733 out_: *mut C_tensor,
15734 self_: *mut C_tensor,
15735 dim_data: *const i64,
15736 dim_len: c_int,
15737 correction_: *mut C_scalar,
15738 keepdim_: c_int,
15739 );
15740 pub fn atg_var_dim(
15741 out__: *mut *mut C_tensor,
15742 self_: *mut C_tensor,
15743 dim_data: *const i64,
15744 dim_len: c_int,
15745 unbiased_: c_int,
15746 keepdim_: c_int,
15747 );
15748 pub fn atg_var_mean(out__: *mut *mut C_tensor, self_: *mut C_tensor, unbiased_: c_int);
15749 pub fn atg_var_mean_correction(
15750 out__: *mut *mut C_tensor,
15751 self_: *mut C_tensor,
15752 dim_data: *const i64,
15753 dim_len: c_int,
15754 correction_: *mut C_scalar,
15755 keepdim_: c_int,
15756 );
15757 pub fn atg_var_mean_correction_out(
15758 out__: *mut *mut C_tensor,
15759 out0_: *mut C_tensor,
15760 out1_: *mut C_tensor,
15761 self_: *mut C_tensor,
15762 dim_data: *const i64,
15763 dim_len: c_int,
15764 correction_: *mut C_scalar,
15765 keepdim_: c_int,
15766 );
15767 pub fn atg_var_mean_dim(
15768 out__: *mut *mut C_tensor,
15769 self_: *mut C_tensor,
15770 dim_data: *const i64,
15771 dim_len: c_int,
15772 unbiased_: c_int,
15773 keepdim_: c_int,
15774 );
15775 pub fn atg_var_out(
15776 out__: *mut *mut C_tensor,
15777 out_: *mut C_tensor,
15778 self_: *mut C_tensor,
15779 dim_data: *const i64,
15780 dim_len: c_int,
15781 unbiased_: c_int,
15782 keepdim_: c_int,
15783 );
15784 pub fn atg_vdot(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15785 pub fn atg_vdot_out(
15786 out__: *mut *mut C_tensor,
15787 out_: *mut C_tensor,
15788 self_: *mut C_tensor,
15789 other_: *mut C_tensor,
15790 );
15791 pub fn atg_view(
15792 out__: *mut *mut C_tensor,
15793 self_: *mut C_tensor,
15794 size_data: *const i64,
15795 size_len: c_int,
15796 );
15797 pub fn atg_view_as(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15798 pub fn atg_view_as_complex(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15799 pub fn atg_view_as_complex_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15800 pub fn atg_view_as_complex_copy_out(
15801 out__: *mut *mut C_tensor,
15802 out_: *mut C_tensor,
15803 self_: *mut C_tensor,
15804 );
15805 pub fn atg_view_as_real(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15806 pub fn atg_view_as_real_copy(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15807 pub fn atg_view_as_real_copy_out(
15808 out__: *mut *mut C_tensor,
15809 out_: *mut C_tensor,
15810 self_: *mut C_tensor,
15811 );
15812 pub fn atg_view_copy(
15813 out__: *mut *mut C_tensor,
15814 self_: *mut C_tensor,
15815 size_data: *const i64,
15816 size_len: c_int,
15817 );
15818 pub fn atg_view_copy_dtype(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
15819 pub fn atg_view_copy_dtype_out(
15820 out__: *mut *mut C_tensor,
15821 out_: *mut C_tensor,
15822 self_: *mut C_tensor,
15823 dtype_: c_int,
15824 );
15825 pub fn atg_view_copy_out(
15826 out__: *mut *mut C_tensor,
15827 out_: *mut C_tensor,
15828 self_: *mut C_tensor,
15829 size_data: *const i64,
15830 size_len: c_int,
15831 );
15832 pub fn atg_view_dtype(out__: *mut *mut C_tensor, self_: *mut C_tensor, dtype_: c_int);
15833 pub fn atg_vsplit(self_: *mut C_tensor, sections_: i64) -> *mut *mut C_tensor;
15834 pub fn atg_vsplit_array(
15835 self_: *mut C_tensor,
15836 indices_data: *const i64,
15837 indices_len: c_int,
15838 ) -> *mut *mut C_tensor;
15839 pub fn atg_vstack(
15840 out__: *mut *mut C_tensor,
15841 tensors_data: *const *mut C_tensor,
15842 tensors_len: c_int,
15843 );
15844 pub fn atg_vstack_out(
15845 out__: *mut *mut C_tensor,
15846 out_: *mut C_tensor,
15847 tensors_data: *const *mut C_tensor,
15848 tensors_len: c_int,
15849 );
15850 pub fn atg_where(condition_: *mut C_tensor) -> *mut *mut C_tensor;
15851 pub fn atg_where_scalar(
15852 out__: *mut *mut C_tensor,
15853 condition_: *mut C_tensor,
15854 self_scalar_: *mut C_scalar,
15855 other_: *mut C_scalar,
15856 );
15857 pub fn atg_where_scalarother(
15858 out__: *mut *mut C_tensor,
15859 condition_: *mut C_tensor,
15860 self_: *mut C_tensor,
15861 other_: *mut C_scalar,
15862 );
15863 pub fn atg_where_scalarself(
15864 out__: *mut *mut C_tensor,
15865 condition_: *mut C_tensor,
15866 self_scalar_: *mut C_scalar,
15867 other_: *mut C_tensor,
15868 );
15869 pub fn atg_where_self(
15870 out__: *mut *mut C_tensor,
15871 condition_: *mut C_tensor,
15872 self_: *mut C_tensor,
15873 other_: *mut C_tensor,
15874 );
15875 pub fn atg_where_self_out(
15876 out__: *mut *mut C_tensor,
15877 out_: *mut C_tensor,
15878 condition_: *mut C_tensor,
15879 self_: *mut C_tensor,
15880 other_: *mut C_tensor,
15881 );
15882 pub fn atg_xlogy(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15883 pub fn atg_xlogy_(out__: *mut *mut C_tensor, self_: *mut C_tensor, other_: *mut C_tensor);
15884 pub fn atg_xlogy_outscalar_other(
15885 out__: *mut *mut C_tensor,
15886 out_: *mut C_tensor,
15887 self_: *mut C_tensor,
15888 other_: *mut C_scalar,
15889 );
15890 pub fn atg_xlogy_outscalar_self(
15891 out__: *mut *mut C_tensor,
15892 out_: *mut C_tensor,
15893 self_scalar_: *mut C_scalar,
15894 other_: *mut C_tensor,
15895 );
15896 pub fn atg_xlogy_outtensor(
15897 out__: *mut *mut C_tensor,
15898 out_: *mut C_tensor,
15899 self_: *mut C_tensor,
15900 other_: *mut C_tensor,
15901 );
15902 pub fn atg_xlogy_scalar_other(
15903 out__: *mut *mut C_tensor,
15904 self_: *mut C_tensor,
15905 other_: *mut C_scalar,
15906 );
15907 pub fn atg_xlogy_scalar_other_(
15908 out__: *mut *mut C_tensor,
15909 self_: *mut C_tensor,
15910 other_: *mut C_scalar,
15911 );
15912 pub fn atg_xlogy_scalar_self(
15913 out__: *mut *mut C_tensor,
15914 self_scalar_: *mut C_scalar,
15915 other_: *mut C_tensor,
15916 );
15917 pub fn atg_zero(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15918 pub fn atg_zero_(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15919 pub fn atg_zero_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
15920 pub fn atg_zeros(
15921 out__: *mut *mut C_tensor,
15922 size_data: *const i64,
15923 size_len: c_int,
15924 options_kind: c_int,
15925 options_device: c_int,
15926 );
15927 pub fn atg_zeros_like(out__: *mut *mut C_tensor, self_: *mut C_tensor);
15928 pub fn atg_zeros_like_out(out__: *mut *mut C_tensor, out_: *mut C_tensor, self_: *mut C_tensor);
15929 pub fn atg_zeros_out(
15930 out__: *mut *mut C_tensor,
15931 out_: *mut C_tensor,
15932 size_data: *const i64,
15933 size_len: c_int,
15934 );
15935}