jasonfan commited on
Commit
ec8a371
·
verified ·
1 Parent(s): f15601c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_compositeexplicitautograd_dispatch.h +31 -0
  2. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_cuda_dispatch.h +29 -0
  3. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_native.h +30 -0
  4. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_ops.h +56 -0
  5. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p.h +50 -0
  6. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_compositeexplicitautograd_dispatch.h +31 -0
  7. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_cuda_dispatch.h +29 -0
  8. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_native.h +30 -0
  9. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_ops.h +56 -0
  10. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2.h +50 -0
  11. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_compositeexplicitautograd_dispatch.h +31 -0
  12. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_cuda_dispatch.h +29 -0
  13. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_native.h +30 -0
  14. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_ops.h +56 -0
  15. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_compositeexplicitautograd_dispatch.h +31 -0
  16. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_cuda_dispatch.h +29 -0
  17. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_native.h +30 -0
  18. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_ops.h +56 -0
  19. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max.h +45 -0
  20. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_compositeexplicitautograd_dispatch.h +30 -0
  21. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_cuda_dispatch.h +28 -0
  22. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_native.h +28 -0
  23. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_ops.h +45 -0
  24. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum.h +88 -0
  25. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_compositeexplicitautograd_dispatch.h +39 -0
  26. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_cuda_dispatch.h +33 -0
  27. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_native.h +40 -0
  28. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_ops.h +122 -0
  29. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum.h +88 -0
  30. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_compositeexplicitautograd_dispatch.h +39 -0
  31. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_cuda_dispatch.h +33 -0
  32. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_native.h +40 -0
  33. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_ops.h +122 -0
  34. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul.h +107 -0
  35. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_compositeexplicitautograd_dispatch.h +43 -0
  36. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_cuda_dispatch.h +35 -0
  37. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_native.h +45 -0
  38. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_ops.h +155 -0
  39. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg.h +50 -0
  40. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_compositeexplicitautograd_dispatch.h +31 -0
  41. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_cuda_dispatch.h +29 -0
  42. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_native.h +30 -0
  43. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_ops.h +56 -0
  44. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm.h +45 -0
  45. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_compositeexplicitautograd_dispatch.h +30 -0
  46. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_cuda_dispatch.h +28 -0
  47. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_native.h +28 -0
  48. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_ops.h +45 -0
  49. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_pow.h +93 -0
  50. miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_pow_compositeexplicitautograd_dispatch.h +40 -0
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log10(at::TensorList self);
22
+ TORCH_API void _foreach_log10_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_log10_outf(at::TensorList self, at::TensorList out);
24
+ TORCH_API void _foreach_log10_(at::TensorList self);
25
+
26
+ } // namespace compositeexplicitautograd
27
+ } // namespace at
28
+
29
+ #else
30
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
31
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_cuda_dispatch.h ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log10(at::TensorList self);
22
+ TORCH_API void _foreach_log10_(at::TensorList self);
23
+
24
+ } // namespace cuda
25
+ } // namespace at
26
+
27
+ #else
28
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
29
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_native.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log10_slow(at::TensorList self);
21
+ TORCH_API void _foreach_log10_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API void foreach_tensor_log10_slow_(at::TensorList self);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log10_cuda(at::TensorList self);
24
+ TORCH_API void foreach_tensor_log10_cuda_(at::TensorList self);
25
+ } // namespace native
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log10_ops.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_log10 {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_log10";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_log10(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_log10_ {
31
+ using schema = void (at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_log10_";
35
+ static constexpr const char* overload_name = "";
36
+ static constexpr const char* schema_str = "_foreach_log10_(Tensor(a!)[] self) -> ()";
37
+ static void call(at::TensorList self);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
39
+ };
40
+
41
+ struct TORCH_API _foreach_log10_out {
42
+ using schema = void (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_log10";
46
+ static constexpr const char* overload_name = "out";
47
+ static constexpr const char* schema_str = "_foreach_log10.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
48
+ static void call(at::TensorList self, at::TensorList out);
49
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
50
+ };
51
+
52
+ }} // namespace at::_ops
53
+
54
+ #else
55
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
56
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p.h ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_log1p_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_log1p(Tensor[] self) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_log1p(at::TensorList self) {
29
+ return at::_ops::_foreach_log1p::call(self);
30
+ }
31
+
32
+ // aten::_foreach_log1p_(Tensor(a!)[] self) -> ()
33
+ inline void _foreach_log1p_(at::TensorList self) {
34
+ return at::_ops::_foreach_log1p_::call(self);
35
+ }
36
+
37
+ // aten::_foreach_log1p.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
38
+ inline void _foreach_log1p_out(at::TensorList out, at::TensorList self) {
39
+ return at::_ops::_foreach_log1p_out::call(self, out);
40
+ }
41
+ // aten::_foreach_log1p.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
42
+ inline void _foreach_log1p_outf(at::TensorList self, at::TensorList out) {
43
+ return at::_ops::_foreach_log1p_out::call(self, out);
44
+ }
45
+
46
+ }
47
+
48
+ #else
49
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
50
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log1p(at::TensorList self);
22
+ TORCH_API void _foreach_log1p_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_log1p_outf(at::TensorList self, at::TensorList out);
24
+ TORCH_API void _foreach_log1p_(at::TensorList self);
25
+
26
+ } // namespace compositeexplicitautograd
27
+ } // namespace at
28
+
29
+ #else
30
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
31
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_cuda_dispatch.h ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log1p(at::TensorList self);
22
+ TORCH_API void _foreach_log1p_(at::TensorList self);
23
+
24
+ } // namespace cuda
25
+ } // namespace at
26
+
27
+ #else
28
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
29
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_native.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log1p_slow(at::TensorList self);
21
+ TORCH_API void _foreach_log1p_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API void foreach_tensor_log1p_slow_(at::TensorList self);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log1p_cuda(at::TensorList self);
24
+ TORCH_API void foreach_tensor_log1p_cuda_(at::TensorList self);
25
+ } // namespace native
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log1p_ops.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_log1p {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_log1p";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_log1p(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_log1p_ {
31
+ using schema = void (at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_log1p_";
35
+ static constexpr const char* overload_name = "";
36
+ static constexpr const char* schema_str = "_foreach_log1p_(Tensor(a!)[] self) -> ()";
37
+ static void call(at::TensorList self);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
39
+ };
40
+
41
+ struct TORCH_API _foreach_log1p_out {
42
+ using schema = void (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_log1p";
46
+ static constexpr const char* overload_name = "out";
47
+ static constexpr const char* schema_str = "_foreach_log1p.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
48
+ static void call(at::TensorList self, at::TensorList out);
49
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
50
+ };
51
+
52
+ }} // namespace at::_ops
53
+
54
+ #else
55
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
56
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2.h ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_log2_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_log2(Tensor[] self) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_log2(at::TensorList self) {
29
+ return at::_ops::_foreach_log2::call(self);
30
+ }
31
+
32
+ // aten::_foreach_log2_(Tensor(a!)[] self) -> ()
33
+ inline void _foreach_log2_(at::TensorList self) {
34
+ return at::_ops::_foreach_log2_::call(self);
35
+ }
36
+
37
+ // aten::_foreach_log2.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
38
+ inline void _foreach_log2_out(at::TensorList out, at::TensorList self) {
39
+ return at::_ops::_foreach_log2_out::call(self, out);
40
+ }
41
+ // aten::_foreach_log2.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
42
+ inline void _foreach_log2_outf(at::TensorList self, at::TensorList out) {
43
+ return at::_ops::_foreach_log2_out::call(self, out);
44
+ }
45
+
46
+ }
47
+
48
+ #else
49
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
50
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log2(at::TensorList self);
22
+ TORCH_API void _foreach_log2_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_log2_outf(at::TensorList self, at::TensorList out);
24
+ TORCH_API void _foreach_log2_(at::TensorList self);
25
+
26
+ } // namespace compositeexplicitautograd
27
+ } // namespace at
28
+
29
+ #else
30
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
31
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_cuda_dispatch.h ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log2(at::TensorList self);
22
+ TORCH_API void _foreach_log2_(at::TensorList self);
23
+
24
+ } // namespace cuda
25
+ } // namespace at
26
+
27
+ #else
28
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
29
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_native.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log2_slow(at::TensorList self);
21
+ TORCH_API void _foreach_log2_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API void foreach_tensor_log2_slow_(at::TensorList self);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log2_cuda(at::TensorList self);
24
+ TORCH_API void foreach_tensor_log2_cuda_(at::TensorList self);
25
+ } // namespace native
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log2_ops.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_log2 {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_log2";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_log2(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_log2_ {
31
+ using schema = void (at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_log2_";
35
+ static constexpr const char* overload_name = "";
36
+ static constexpr const char* schema_str = "_foreach_log2_(Tensor(a!)[] self) -> ()";
37
+ static void call(at::TensorList self);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
39
+ };
40
+
41
+ struct TORCH_API _foreach_log2_out {
42
+ using schema = void (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_log2";
46
+ static constexpr const char* overload_name = "out";
47
+ static constexpr const char* schema_str = "_foreach_log2.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
48
+ static void call(at::TensorList self, at::TensorList out);
49
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
50
+ };
51
+
52
+ }} // namespace at::_ops
53
+
54
+ #else
55
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
56
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log(at::TensorList self);
22
+ TORCH_API void _foreach_log_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_log_outf(at::TensorList self, at::TensorList out);
24
+ TORCH_API void _foreach_log_(at::TensorList self);
25
+
26
+ } // namespace compositeexplicitautograd
27
+ } // namespace at
28
+
29
+ #else
30
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
31
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_cuda_dispatch.h ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_log(at::TensorList self);
22
+ TORCH_API void _foreach_log_(at::TensorList self);
23
+
24
+ } // namespace cuda
25
+ } // namespace at
26
+
27
+ #else
28
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
29
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_native.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log_slow(at::TensorList self);
21
+ TORCH_API void _foreach_log_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API void foreach_tensor_log_slow_(at::TensorList self);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_log_cuda(at::TensorList self);
24
+ TORCH_API void foreach_tensor_log_cuda_(at::TensorList self);
25
+ } // namespace native
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_log_ops.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_log {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_log";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_log(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_log_ {
31
+ using schema = void (at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_log_";
35
+ static constexpr const char* overload_name = "";
36
+ static constexpr const char* schema_str = "_foreach_log_(Tensor(a!)[] self) -> ()";
37
+ static void call(at::TensorList self);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
39
+ };
40
+
41
+ struct TORCH_API _foreach_log_out {
42
+ using schema = void (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_log";
46
+ static constexpr const char* overload_name = "out";
47
+ static constexpr const char* schema_str = "_foreach_log.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
48
+ static void call(at::TensorList self, at::TensorList out);
49
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
50
+ };
51
+
52
+ }} // namespace at::_ops
53
+
54
+ #else
55
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
56
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_max_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_max(Tensor[] self) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_max(at::TensorList self) {
29
+ return at::_ops::_foreach_max::call(self);
30
+ }
31
+
32
+ // aten::_foreach_max.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
33
+ inline void _foreach_max_out(at::TensorList out, at::TensorList self) {
34
+ return at::_ops::_foreach_max_out::call(self, out);
35
+ }
36
+ // aten::_foreach_max.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
37
+ inline void _foreach_max_outf(at::TensorList self, at::TensorList out) {
38
+ return at::_ops::_foreach_max_out::call(self, out);
39
+ }
40
+
41
+ }
42
+
43
+ #else
44
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
45
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_max(at::TensorList self);
22
+ TORCH_API void _foreach_max_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_max_outf(at::TensorList self, at::TensorList out);
24
+
25
+ } // namespace compositeexplicitautograd
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_cuda_dispatch.h ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_max(at::TensorList self);
22
+
23
+ } // namespace cuda
24
+ } // namespace at
25
+
26
+ #else
27
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
28
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_native.h ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_max_slow(at::TensorList self);
21
+ TORCH_API void _foreach_max_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_max_cuda(at::TensorList self);
23
+ } // namespace native
24
+ } // namespace at
25
+
26
+ #else
27
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
28
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_max_ops.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_max {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_max";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_max(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_max_out {
31
+ using schema = void (at::TensorList, at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_max";
35
+ static constexpr const char* overload_name = "out";
36
+ static constexpr const char* schema_str = "_foreach_max.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
37
+ static void call(at::TensorList self, at::TensorList out);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
39
+ };
40
+
41
+ }} // namespace at::_ops
42
+
43
+ #else
44
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
45
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum.h ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_maximum_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_maximum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, const at::Scalar & scalar) {
29
+ return at::_ops::_foreach_maximum_Scalar::call(self, scalar);
30
+ }
31
+
32
+ // aten::_foreach_maximum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()
33
+ inline void _foreach_maximum_(at::TensorList self, const at::Scalar & scalar) {
34
+ return at::_ops::_foreach_maximum__Scalar::call(self, scalar);
35
+ }
36
+
37
+ // aten::_foreach_maximum.List(Tensor[] self, Tensor[] other) -> Tensor[]
38
+ inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::TensorList other) {
39
+ return at::_ops::_foreach_maximum_List::call(self, other);
40
+ }
41
+
42
+ // aten::_foreach_maximum_.List(Tensor(a!)[] self, Tensor[] other) -> ()
43
+ inline void _foreach_maximum_(at::TensorList self, at::TensorList other) {
44
+ return at::_ops::_foreach_maximum__List::call(self, other);
45
+ }
46
+
47
+ // aten::_foreach_maximum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]
48
+ inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
49
+ return at::_ops::_foreach_maximum_ScalarList::call(self, scalars);
50
+ }
51
+
52
+ // aten::_foreach_maximum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()
53
+ inline void _foreach_maximum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
54
+ return at::_ops::_foreach_maximum__ScalarList::call(self, scalars);
55
+ }
56
+
57
+ // aten::_foreach_maximum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
58
+ inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar) {
59
+ return at::_ops::_foreach_maximum_Scalar_out::call(self, scalar, out);
60
+ }
61
+ // aten::_foreach_maximum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
62
+ inline void _foreach_maximum_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out) {
63
+ return at::_ops::_foreach_maximum_Scalar_out::call(self, scalar, out);
64
+ }
65
+
66
+ // aten::_foreach_maximum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
67
+ inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::TensorList other) {
68
+ return at::_ops::_foreach_maximum_List_out::call(self, other, out);
69
+ }
70
+ // aten::_foreach_maximum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
71
+ inline void _foreach_maximum_outf(at::TensorList self, at::TensorList other, at::TensorList out) {
72
+ return at::_ops::_foreach_maximum_List_out::call(self, other, out);
73
+ }
74
+
75
+ // aten::_foreach_maximum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
76
+ inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
77
+ return at::_ops::_foreach_maximum_ScalarList_out::call(self, scalars, out);
78
+ }
79
+ // aten::_foreach_maximum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
80
+ inline void _foreach_maximum_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out) {
81
+ return at::_ops::_foreach_maximum_ScalarList_out::call(self, scalars, out);
82
+ }
83
+
84
+ }
85
+
86
+ #else
87
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
88
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_maximum_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API void _foreach_maximum_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
24
+ TORCH_API void _foreach_maximum_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::TensorList other);
27
+ TORCH_API void _foreach_maximum_outf(at::TensorList self, at::TensorList other, at::TensorList out);
28
+ TORCH_API void _foreach_maximum_(at::TensorList self, at::TensorList other);
29
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
30
+ TORCH_API void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_maximum_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void _foreach_maximum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+
34
+ } // namespace compositeexplicitautograd
35
+ } // namespace at
36
+
37
+ #else
38
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
39
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_cuda_dispatch.h ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_maximum_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::TensorList other);
24
+ TORCH_API void _foreach_maximum_(at::TensorList self, at::TensorList other);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
26
+ TORCH_API void _foreach_maximum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
27
+
28
+ } // namespace cuda
29
+ } // namespace at
30
+
31
+ #else
32
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
33
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_native.h ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalar_kernel_slow(at::TensorList self, const at::Scalar & scalar);
21
+ TORCH_API void _foreach_maximum_Scalar_out(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
22
+ TORCH_API void foreach_tensor_clamp_min_scalar_kernel_slow_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalar_kernel_cuda(at::TensorList self, const at::Scalar & scalar);
24
+ TORCH_API void foreach_tensor_clamp_min_scalar_kernel_cuda_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_list_kernel_slow(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_maximum_List_out(at::TensorList self, at::TensorList other, at::TensorList out);
27
+ TORCH_API void foreach_tensor_clamp_min_list_kernel_slow_(at::TensorList self, at::TensorList other);
28
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_list_kernel_cuda(at::TensorList self, at::TensorList other);
29
+ TORCH_API void foreach_tensor_clamp_min_list_kernel_cuda_(at::TensorList self, at::TensorList other);
30
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalarlist_kernel_slow(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_maximum_ScalarList_out(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void foreach_tensor_clamp_min_scalarlist_kernel_slow_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalarlist_kernel_cuda(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
34
+ TORCH_API void foreach_tensor_clamp_min_scalarlist_kernel_cuda_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
35
+ } // namespace native
36
+ } // namespace at
37
+
38
+ #else
39
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
40
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_ops.h ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_maximum_Scalar {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Scalar &);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_maximum";
24
+ static constexpr const char* overload_name = "Scalar";
25
+ static constexpr const char* schema_str = "_foreach_maximum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self, const at::Scalar & scalar);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
28
+ };
29
+
30
+ struct TORCH_API _foreach_maximum__Scalar {
31
+ using schema = void (at::TensorList, const at::Scalar &);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_maximum_";
35
+ static constexpr const char* overload_name = "Scalar";
36
+ static constexpr const char* schema_str = "_foreach_maximum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()";
37
+ static void call(at::TensorList self, const at::Scalar & scalar);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
39
+ };
40
+
41
+ struct TORCH_API _foreach_maximum_List {
42
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_maximum";
46
+ static constexpr const char* overload_name = "List";
47
+ static constexpr const char* schema_str = "_foreach_maximum.List(Tensor[] self, Tensor[] other) -> Tensor[]";
48
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::TensorList other);
49
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
50
+ };
51
+
52
+ struct TORCH_API _foreach_maximum__List {
53
+ using schema = void (at::TensorList, at::TensorList);
54
+ using ptr_schema = schema*;
55
+ // See Note [static constexpr char* members for windows NVCC]
56
+ static constexpr const char* name = "aten::_foreach_maximum_";
57
+ static constexpr const char* overload_name = "List";
58
+ static constexpr const char* schema_str = "_foreach_maximum_.List(Tensor(a!)[] self, Tensor[] other) -> ()";
59
+ static void call(at::TensorList self, at::TensorList other);
60
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
61
+ };
62
+
63
+ struct TORCH_API _foreach_maximum_ScalarList {
64
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::ArrayRef<at::Scalar>);
65
+ using ptr_schema = schema*;
66
+ // See Note [static constexpr char* members for windows NVCC]
67
+ static constexpr const char* name = "aten::_foreach_maximum";
68
+ static constexpr const char* overload_name = "ScalarList";
69
+ static constexpr const char* schema_str = "_foreach_maximum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]";
70
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
71
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
72
+ };
73
+
74
+ struct TORCH_API _foreach_maximum__ScalarList {
75
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>);
76
+ using ptr_schema = schema*;
77
+ // See Note [static constexpr char* members for windows NVCC]
78
+ static constexpr const char* name = "aten::_foreach_maximum_";
79
+ static constexpr const char* overload_name = "ScalarList";
80
+ static constexpr const char* schema_str = "_foreach_maximum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()";
81
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
82
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
83
+ };
84
+
85
+ struct TORCH_API _foreach_maximum_Scalar_out {
86
+ using schema = void (at::TensorList, const at::Scalar &, at::TensorList);
87
+ using ptr_schema = schema*;
88
+ // See Note [static constexpr char* members for windows NVCC]
89
+ static constexpr const char* name = "aten::_foreach_maximum";
90
+ static constexpr const char* overload_name = "Scalar_out";
91
+ static constexpr const char* schema_str = "_foreach_maximum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()";
92
+ static void call(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
93
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar, at::TensorList out);
94
+ };
95
+
96
+ struct TORCH_API _foreach_maximum_List_out {
97
+ using schema = void (at::TensorList, at::TensorList, at::TensorList);
98
+ using ptr_schema = schema*;
99
+ // See Note [static constexpr char* members for windows NVCC]
100
+ static constexpr const char* name = "aten::_foreach_maximum";
101
+ static constexpr const char* overload_name = "List_out";
102
+ static constexpr const char* schema_str = "_foreach_maximum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()";
103
+ static void call(at::TensorList self, at::TensorList other, at::TensorList out);
104
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other, at::TensorList out);
105
+ };
106
+
107
+ struct TORCH_API _foreach_maximum_ScalarList_out {
108
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>, at::TensorList);
109
+ using ptr_schema = schema*;
110
+ // See Note [static constexpr char* members for windows NVCC]
111
+ static constexpr const char* name = "aten::_foreach_maximum";
112
+ static constexpr const char* overload_name = "ScalarList_out";
113
+ static constexpr const char* schema_str = "_foreach_maximum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()";
114
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
115
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
116
+ };
117
+
118
+ }} // namespace at::_ops
119
+
120
+ #else
121
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
122
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum.h ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_minimum_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_minimum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, const at::Scalar & scalar) {
29
+ return at::_ops::_foreach_minimum_Scalar::call(self, scalar);
30
+ }
31
+
32
+ // aten::_foreach_minimum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()
33
+ inline void _foreach_minimum_(at::TensorList self, const at::Scalar & scalar) {
34
+ return at::_ops::_foreach_minimum__Scalar::call(self, scalar);
35
+ }
36
+
37
+ // aten::_foreach_minimum.List(Tensor[] self, Tensor[] other) -> Tensor[]
38
+ inline ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::TensorList other) {
39
+ return at::_ops::_foreach_minimum_List::call(self, other);
40
+ }
41
+
42
+ // aten::_foreach_minimum_.List(Tensor(a!)[] self, Tensor[] other) -> ()
43
+ inline void _foreach_minimum_(at::TensorList self, at::TensorList other) {
44
+ return at::_ops::_foreach_minimum__List::call(self, other);
45
+ }
46
+
47
+ // aten::_foreach_minimum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]
48
+ inline ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
49
+ return at::_ops::_foreach_minimum_ScalarList::call(self, scalars);
50
+ }
51
+
52
+ // aten::_foreach_minimum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()
53
+ inline void _foreach_minimum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
54
+ return at::_ops::_foreach_minimum__ScalarList::call(self, scalars);
55
+ }
56
+
57
+ // aten::_foreach_minimum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
58
+ inline void _foreach_minimum_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar) {
59
+ return at::_ops::_foreach_minimum_Scalar_out::call(self, scalar, out);
60
+ }
61
+ // aten::_foreach_minimum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
62
+ inline void _foreach_minimum_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out) {
63
+ return at::_ops::_foreach_minimum_Scalar_out::call(self, scalar, out);
64
+ }
65
+
66
+ // aten::_foreach_minimum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
67
+ inline void _foreach_minimum_out(at::TensorList out, at::TensorList self, at::TensorList other) {
68
+ return at::_ops::_foreach_minimum_List_out::call(self, other, out);
69
+ }
70
+ // aten::_foreach_minimum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
71
+ inline void _foreach_minimum_outf(at::TensorList self, at::TensorList other, at::TensorList out) {
72
+ return at::_ops::_foreach_minimum_List_out::call(self, other, out);
73
+ }
74
+
75
+ // aten::_foreach_minimum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
76
+ inline void _foreach_minimum_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
77
+ return at::_ops::_foreach_minimum_ScalarList_out::call(self, scalars, out);
78
+ }
79
+ // aten::_foreach_minimum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
80
+ inline void _foreach_minimum_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out) {
81
+ return at::_ops::_foreach_minimum_ScalarList_out::call(self, scalars, out);
82
+ }
83
+
84
+ }
85
+
86
+ #else
87
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
88
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_minimum_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API void _foreach_minimum_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
24
+ TORCH_API void _foreach_minimum_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_minimum_out(at::TensorList out, at::TensorList self, at::TensorList other);
27
+ TORCH_API void _foreach_minimum_outf(at::TensorList self, at::TensorList other, at::TensorList out);
28
+ TORCH_API void _foreach_minimum_(at::TensorList self, at::TensorList other);
29
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
30
+ TORCH_API void _foreach_minimum_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_minimum_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void _foreach_minimum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+
34
+ } // namespace compositeexplicitautograd
35
+ } // namespace at
36
+
37
+ #else
38
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
39
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_cuda_dispatch.h ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_minimum_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::TensorList other);
24
+ TORCH_API void _foreach_minimum_(at::TensorList self, at::TensorList other);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_minimum(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
26
+ TORCH_API void _foreach_minimum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
27
+
28
+ } // namespace cuda
29
+ } // namespace at
30
+
31
+ #else
32
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
33
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_native.h ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_scalar_kernel_slow(at::TensorList self, const at::Scalar & scalar);
21
+ TORCH_API void _foreach_minimum_Scalar_out(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
22
+ TORCH_API void foreach_tensor_clamp_max_scalar_kernel_slow_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_scalar_kernel_cuda(at::TensorList self, const at::Scalar & scalar);
24
+ TORCH_API void foreach_tensor_clamp_max_scalar_kernel_cuda_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_list_kernel_slow(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_minimum_List_out(at::TensorList self, at::TensorList other, at::TensorList out);
27
+ TORCH_API void foreach_tensor_clamp_max_list_kernel_slow_(at::TensorList self, at::TensorList other);
28
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_list_kernel_cuda(at::TensorList self, at::TensorList other);
29
+ TORCH_API void foreach_tensor_clamp_max_list_kernel_cuda_(at::TensorList self, at::TensorList other);
30
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_scalarlist_kernel_slow(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_minimum_ScalarList_out(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void foreach_tensor_clamp_max_scalarlist_kernel_slow_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_max_scalarlist_kernel_cuda(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
34
+ TORCH_API void foreach_tensor_clamp_max_scalarlist_kernel_cuda_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
35
+ } // namespace native
36
+ } // namespace at
37
+
38
+ #else
39
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
40
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_ops.h ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_minimum_Scalar {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Scalar &);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_minimum";
24
+ static constexpr const char* overload_name = "Scalar";
25
+ static constexpr const char* schema_str = "_foreach_minimum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self, const at::Scalar & scalar);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
28
+ };
29
+
30
+ struct TORCH_API _foreach_minimum__Scalar {
31
+ using schema = void (at::TensorList, const at::Scalar &);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_minimum_";
35
+ static constexpr const char* overload_name = "Scalar";
36
+ static constexpr const char* schema_str = "_foreach_minimum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()";
37
+ static void call(at::TensorList self, const at::Scalar & scalar);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
39
+ };
40
+
41
+ struct TORCH_API _foreach_minimum_List {
42
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_minimum";
46
+ static constexpr const char* overload_name = "List";
47
+ static constexpr const char* schema_str = "_foreach_minimum.List(Tensor[] self, Tensor[] other) -> Tensor[]";
48
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::TensorList other);
49
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
50
+ };
51
+
52
+ struct TORCH_API _foreach_minimum__List {
53
+ using schema = void (at::TensorList, at::TensorList);
54
+ using ptr_schema = schema*;
55
+ // See Note [static constexpr char* members for windows NVCC]
56
+ static constexpr const char* name = "aten::_foreach_minimum_";
57
+ static constexpr const char* overload_name = "List";
58
+ static constexpr const char* schema_str = "_foreach_minimum_.List(Tensor(a!)[] self, Tensor[] other) -> ()";
59
+ static void call(at::TensorList self, at::TensorList other);
60
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
61
+ };
62
+
63
+ struct TORCH_API _foreach_minimum_ScalarList {
64
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::ArrayRef<at::Scalar>);
65
+ using ptr_schema = schema*;
66
+ // See Note [static constexpr char* members for windows NVCC]
67
+ static constexpr const char* name = "aten::_foreach_minimum";
68
+ static constexpr const char* overload_name = "ScalarList";
69
+ static constexpr const char* schema_str = "_foreach_minimum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]";
70
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
71
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
72
+ };
73
+
74
+ struct TORCH_API _foreach_minimum__ScalarList {
75
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>);
76
+ using ptr_schema = schema*;
77
+ // See Note [static constexpr char* members for windows NVCC]
78
+ static constexpr const char* name = "aten::_foreach_minimum_";
79
+ static constexpr const char* overload_name = "ScalarList";
80
+ static constexpr const char* schema_str = "_foreach_minimum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()";
81
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
82
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
83
+ };
84
+
85
+ struct TORCH_API _foreach_minimum_Scalar_out {
86
+ using schema = void (at::TensorList, const at::Scalar &, at::TensorList);
87
+ using ptr_schema = schema*;
88
+ // See Note [static constexpr char* members for windows NVCC]
89
+ static constexpr const char* name = "aten::_foreach_minimum";
90
+ static constexpr const char* overload_name = "Scalar_out";
91
+ static constexpr const char* schema_str = "_foreach_minimum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()";
92
+ static void call(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
93
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar, at::TensorList out);
94
+ };
95
+
96
+ struct TORCH_API _foreach_minimum_List_out {
97
+ using schema = void (at::TensorList, at::TensorList, at::TensorList);
98
+ using ptr_schema = schema*;
99
+ // See Note [static constexpr char* members for windows NVCC]
100
+ static constexpr const char* name = "aten::_foreach_minimum";
101
+ static constexpr const char* overload_name = "List_out";
102
+ static constexpr const char* schema_str = "_foreach_minimum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()";
103
+ static void call(at::TensorList self, at::TensorList other, at::TensorList out);
104
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other, at::TensorList out);
105
+ };
106
+
107
+ struct TORCH_API _foreach_minimum_ScalarList_out {
108
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>, at::TensorList);
109
+ using ptr_schema = schema*;
110
+ // See Note [static constexpr char* members for windows NVCC]
111
+ static constexpr const char* name = "aten::_foreach_minimum";
112
+ static constexpr const char* overload_name = "ScalarList_out";
113
+ static constexpr const char* schema_str = "_foreach_minimum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()";
114
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
115
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
116
+ };
117
+
118
+ }} // namespace at::_ops
119
+
120
+ #else
121
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
122
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul.h ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_mul_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_mul.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Scalar & scalar) {
29
+ return at::_ops::_foreach_mul_Scalar::call(self, scalar);
30
+ }
31
+
32
+ // aten::_foreach_mul_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()
33
+ inline void _foreach_mul_(at::TensorList self, const at::Scalar & scalar) {
34
+ return at::_ops::_foreach_mul__Scalar::call(self, scalar);
35
+ }
36
+
37
+ // aten::_foreach_mul.List(Tensor[] self, Tensor[] other) -> Tensor[]
38
+ inline ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::TensorList other) {
39
+ return at::_ops::_foreach_mul_List::call(self, other);
40
+ }
41
+
42
+ // aten::_foreach_mul_.List(Tensor(a!)[] self, Tensor[] other) -> ()
43
+ inline void _foreach_mul_(at::TensorList self, at::TensorList other) {
44
+ return at::_ops::_foreach_mul__List::call(self, other);
45
+ }
46
+
47
+ // aten::_foreach_mul.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]
48
+ inline ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
49
+ return at::_ops::_foreach_mul_ScalarList::call(self, scalars);
50
+ }
51
+
52
+ // aten::_foreach_mul_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()
53
+ inline void _foreach_mul_(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
54
+ return at::_ops::_foreach_mul__ScalarList::call(self, scalars);
55
+ }
56
+
57
+ // aten::_foreach_mul.Tensor(Tensor[] self, Tensor other) -> Tensor[]
58
+ inline ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Tensor & other) {
59
+ return at::_ops::_foreach_mul_Tensor::call(self, other);
60
+ }
61
+
62
+ // aten::_foreach_mul_.Tensor(Tensor(a!)[] self, Tensor other) -> ()
63
+ inline void _foreach_mul_(at::TensorList self, const at::Tensor & other) {
64
+ return at::_ops::_foreach_mul__Tensor::call(self, other);
65
+ }
66
+
67
+ // aten::_foreach_mul.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
68
+ inline void _foreach_mul_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar) {
69
+ return at::_ops::_foreach_mul_Scalar_out::call(self, scalar, out);
70
+ }
71
+ // aten::_foreach_mul.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
72
+ inline void _foreach_mul_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out) {
73
+ return at::_ops::_foreach_mul_Scalar_out::call(self, scalar, out);
74
+ }
75
+
76
+ // aten::_foreach_mul.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
77
+ inline void _foreach_mul_out(at::TensorList out, at::TensorList self, at::TensorList other) {
78
+ return at::_ops::_foreach_mul_List_out::call(self, other, out);
79
+ }
80
+ // aten::_foreach_mul.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
81
+ inline void _foreach_mul_outf(at::TensorList self, at::TensorList other, at::TensorList out) {
82
+ return at::_ops::_foreach_mul_List_out::call(self, other, out);
83
+ }
84
+
85
+ // aten::_foreach_mul.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
86
+ inline void _foreach_mul_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
87
+ return at::_ops::_foreach_mul_ScalarList_out::call(self, scalars, out);
88
+ }
89
+ // aten::_foreach_mul.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
90
+ inline void _foreach_mul_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out) {
91
+ return at::_ops::_foreach_mul_ScalarList_out::call(self, scalars, out);
92
+ }
93
+
94
+ // aten::_foreach_mul.Tensor_out(Tensor[] self, Tensor other, *, Tensor(a!)[] out) -> ()
95
+ inline void _foreach_mul_out(at::TensorList out, at::TensorList self, const at::Tensor & other) {
96
+ return at::_ops::_foreach_mul_Tensor_out::call(self, other, out);
97
+ }
98
+ // aten::_foreach_mul.Tensor_out(Tensor[] self, Tensor other, *, Tensor(a!)[] out) -> ()
99
+ inline void _foreach_mul_outf(at::TensorList self, const at::Tensor & other, at::TensorList out) {
100
+ return at::_ops::_foreach_mul_Tensor_out::call(self, other, out);
101
+ }
102
+
103
+ }
104
+
105
+ #else
106
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
107
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_mul_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API void _foreach_mul_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
24
+ TORCH_API void _foreach_mul_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_mul_out(at::TensorList out, at::TensorList self, at::TensorList other);
27
+ TORCH_API void _foreach_mul_outf(at::TensorList self, at::TensorList other, at::TensorList out);
28
+ TORCH_API void _foreach_mul_(at::TensorList self, at::TensorList other);
29
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
30
+ TORCH_API void _foreach_mul_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_mul_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void _foreach_mul_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Tensor & other);
34
+ TORCH_API void _foreach_mul_out(at::TensorList out, at::TensorList self, const at::Tensor & other);
35
+ TORCH_API void _foreach_mul_outf(at::TensorList self, const at::Tensor & other, at::TensorList out);
36
+ TORCH_API void _foreach_mul_(at::TensorList self, const at::Tensor & other);
37
+
38
+ } // namespace compositeexplicitautograd
39
+ } // namespace at
40
+
41
+ #else
42
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
43
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_cuda_dispatch.h ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Scalar & scalar);
22
+ TORCH_API void _foreach_mul_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::TensorList other);
24
+ TORCH_API void _foreach_mul_(at::TensorList self, at::TensorList other);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
26
+ TORCH_API void _foreach_mul_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
27
+ TORCH_API ::std::vector<at::Tensor> _foreach_mul(at::TensorList self, const at::Tensor & other);
28
+ TORCH_API void _foreach_mul_(at::TensorList self, const at::Tensor & other);
29
+
30
+ } // namespace cuda
31
+ } // namespace at
32
+
33
+ #else
34
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
35
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_native.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_scalar_kernel_slow(at::TensorList self, const at::Scalar & scalar);
21
+ TORCH_API void _foreach_mul_Scalar_out(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
22
+ TORCH_API void foreach_tensor_mul_scalar_kernel_slow_(at::TensorList self, const at::Scalar & scalar);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_scalar_kernel_cuda(at::TensorList self, const at::Scalar & scalar);
24
+ TORCH_API void foreach_tensor_mul_scalar_kernel_cuda_(at::TensorList self, const at::Scalar & scalar);
25
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_list_kernel_slow(at::TensorList self, at::TensorList other);
26
+ TORCH_API void _foreach_mul_List_out(at::TensorList self, at::TensorList other, at::TensorList out);
27
+ TORCH_API void foreach_tensor_mul_list_kernel_slow_(at::TensorList self, at::TensorList other);
28
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_list_kernel_cuda(at::TensorList self, at::TensorList other);
29
+ TORCH_API void foreach_tensor_mul_list_kernel_cuda_(at::TensorList self, at::TensorList other);
30
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_scalarlist_kernel_slow(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
31
+ TORCH_API void _foreach_mul_ScalarList_out(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
32
+ TORCH_API void foreach_tensor_mul_scalarlist_kernel_slow_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
33
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_scalarlist_kernel_cuda(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
34
+ TORCH_API void foreach_tensor_mul_scalarlist_kernel_cuda_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
35
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_tensor_kernel_slow(at::TensorList self, const at::Tensor & other);
36
+ TORCH_API void _foreach_mul_Tensor_out(at::TensorList self, const at::Tensor & other, at::TensorList out);
37
+ TORCH_API void foreach_tensor_mul_tensor_kernel_slow_(at::TensorList self, const at::Tensor & other);
38
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_mul_tensor_kernel_cuda(at::TensorList self, const at::Tensor & other);
39
+ TORCH_API void foreach_tensor_mul_tensor_kernel_cuda_(at::TensorList self, const at::Tensor & other);
40
+ } // namespace native
41
+ } // namespace at
42
+
43
+ #else
44
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
45
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_mul_ops.h ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_mul_Scalar {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Scalar &);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_mul";
24
+ static constexpr const char* overload_name = "Scalar";
25
+ static constexpr const char* schema_str = "_foreach_mul.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self, const at::Scalar & scalar);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
28
+ };
29
+
30
+ struct TORCH_API _foreach_mul__Scalar {
31
+ using schema = void (at::TensorList, const at::Scalar &);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_mul_";
35
+ static constexpr const char* overload_name = "Scalar";
36
+ static constexpr const char* schema_str = "_foreach_mul_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()";
37
+ static void call(at::TensorList self, const at::Scalar & scalar);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);
39
+ };
40
+
41
+ struct TORCH_API _foreach_mul_List {
42
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_mul";
46
+ static constexpr const char* overload_name = "List";
47
+ static constexpr const char* schema_str = "_foreach_mul.List(Tensor[] self, Tensor[] other) -> Tensor[]";
48
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::TensorList other);
49
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
50
+ };
51
+
52
+ struct TORCH_API _foreach_mul__List {
53
+ using schema = void (at::TensorList, at::TensorList);
54
+ using ptr_schema = schema*;
55
+ // See Note [static constexpr char* members for windows NVCC]
56
+ static constexpr const char* name = "aten::_foreach_mul_";
57
+ static constexpr const char* overload_name = "List";
58
+ static constexpr const char* schema_str = "_foreach_mul_.List(Tensor(a!)[] self, Tensor[] other) -> ()";
59
+ static void call(at::TensorList self, at::TensorList other);
60
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);
61
+ };
62
+
63
+ struct TORCH_API _foreach_mul_ScalarList {
64
+ using schema = ::std::vector<at::Tensor> (at::TensorList, at::ArrayRef<at::Scalar>);
65
+ using ptr_schema = schema*;
66
+ // See Note [static constexpr char* members for windows NVCC]
67
+ static constexpr const char* name = "aten::_foreach_mul";
68
+ static constexpr const char* overload_name = "ScalarList";
69
+ static constexpr const char* schema_str = "_foreach_mul.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]";
70
+ static ::std::vector<at::Tensor> call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
71
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
72
+ };
73
+
74
+ struct TORCH_API _foreach_mul__ScalarList {
75
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>);
76
+ using ptr_schema = schema*;
77
+ // See Note [static constexpr char* members for windows NVCC]
78
+ static constexpr const char* name = "aten::_foreach_mul_";
79
+ static constexpr const char* overload_name = "ScalarList";
80
+ static constexpr const char* schema_str = "_foreach_mul_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()";
81
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
82
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);
83
+ };
84
+
85
+ struct TORCH_API _foreach_mul_Tensor {
86
+ using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Tensor &);
87
+ using ptr_schema = schema*;
88
+ // See Note [static constexpr char* members for windows NVCC]
89
+ static constexpr const char* name = "aten::_foreach_mul";
90
+ static constexpr const char* overload_name = "Tensor";
91
+ static constexpr const char* schema_str = "_foreach_mul.Tensor(Tensor[] self, Tensor other) -> Tensor[]";
92
+ static ::std::vector<at::Tensor> call(at::TensorList self, const at::Tensor & other);
93
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Tensor & other);
94
+ };
95
+
96
+ struct TORCH_API _foreach_mul__Tensor {
97
+ using schema = void (at::TensorList, const at::Tensor &);
98
+ using ptr_schema = schema*;
99
+ // See Note [static constexpr char* members for windows NVCC]
100
+ static constexpr const char* name = "aten::_foreach_mul_";
101
+ static constexpr const char* overload_name = "Tensor";
102
+ static constexpr const char* schema_str = "_foreach_mul_.Tensor(Tensor(a!)[] self, Tensor other) -> ()";
103
+ static void call(at::TensorList self, const at::Tensor & other);
104
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Tensor & other);
105
+ };
106
+
107
+ struct TORCH_API _foreach_mul_Scalar_out {
108
+ using schema = void (at::TensorList, const at::Scalar &, at::TensorList);
109
+ using ptr_schema = schema*;
110
+ // See Note [static constexpr char* members for windows NVCC]
111
+ static constexpr const char* name = "aten::_foreach_mul";
112
+ static constexpr const char* overload_name = "Scalar_out";
113
+ static constexpr const char* schema_str = "_foreach_mul.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()";
114
+ static void call(at::TensorList self, const at::Scalar & scalar, at::TensorList out);
115
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar, at::TensorList out);
116
+ };
117
+
118
+ struct TORCH_API _foreach_mul_List_out {
119
+ using schema = void (at::TensorList, at::TensorList, at::TensorList);
120
+ using ptr_schema = schema*;
121
+ // See Note [static constexpr char* members for windows NVCC]
122
+ static constexpr const char* name = "aten::_foreach_mul";
123
+ static constexpr const char* overload_name = "List_out";
124
+ static constexpr const char* schema_str = "_foreach_mul.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()";
125
+ static void call(at::TensorList self, at::TensorList other, at::TensorList out);
126
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other, at::TensorList out);
127
+ };
128
+
129
+ struct TORCH_API _foreach_mul_ScalarList_out {
130
+ using schema = void (at::TensorList, at::ArrayRef<at::Scalar>, at::TensorList);
131
+ using ptr_schema = schema*;
132
+ // See Note [static constexpr char* members for windows NVCC]
133
+ static constexpr const char* name = "aten::_foreach_mul";
134
+ static constexpr const char* overload_name = "ScalarList_out";
135
+ static constexpr const char* schema_str = "_foreach_mul.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()";
136
+ static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
137
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);
138
+ };
139
+
140
+ struct TORCH_API _foreach_mul_Tensor_out {
141
+ using schema = void (at::TensorList, const at::Tensor &, at::TensorList);
142
+ using ptr_schema = schema*;
143
+ // See Note [static constexpr char* members for windows NVCC]
144
+ static constexpr const char* name = "aten::_foreach_mul";
145
+ static constexpr const char* overload_name = "Tensor_out";
146
+ static constexpr const char* schema_str = "_foreach_mul.Tensor_out(Tensor[] self, Tensor other, *, Tensor(a!)[] out) -> ()";
147
+ static void call(at::TensorList self, const at::Tensor & other, at::TensorList out);
148
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Tensor & other, at::TensorList out);
149
+ };
150
+
151
+ }} // namespace at::_ops
152
+
153
+ #else
154
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
155
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg.h ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_neg_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_neg(Tensor[] self) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_neg(at::TensorList self) {
29
+ return at::_ops::_foreach_neg::call(self);
30
+ }
31
+
32
+ // aten::_foreach_neg_(Tensor(a!)[] self) -> ()
33
+ inline void _foreach_neg_(at::TensorList self) {
34
+ return at::_ops::_foreach_neg_::call(self);
35
+ }
36
+
37
+ // aten::_foreach_neg.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
38
+ inline void _foreach_neg_out(at::TensorList out, at::TensorList self) {
39
+ return at::_ops::_foreach_neg_out::call(self, out);
40
+ }
41
+ // aten::_foreach_neg.out(Tensor[] self, *, Tensor(a!)[] out) -> ()
42
+ inline void _foreach_neg_outf(at::TensorList self, at::TensorList out) {
43
+ return at::_ops::_foreach_neg_out::call(self, out);
44
+ }
45
+
46
+ }
47
+
48
+ #else
49
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
50
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_neg(at::TensorList self);
22
+ TORCH_API void _foreach_neg_out(at::TensorList out, at::TensorList self);
23
+ TORCH_API void _foreach_neg_outf(at::TensorList self, at::TensorList out);
24
+ TORCH_API void _foreach_neg_(at::TensorList self);
25
+
26
+ } // namespace compositeexplicitautograd
27
+ } // namespace at
28
+
29
+ #else
30
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
31
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_cuda_dispatch.h ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_neg(at::TensorList self);
22
+ TORCH_API void _foreach_neg_(at::TensorList self);
23
+
24
+ } // namespace cuda
25
+ } // namespace at
26
+
27
+ #else
28
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
29
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_native.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_neg_slow(at::TensorList self);
21
+ TORCH_API void _foreach_neg_out(at::TensorList self, at::TensorList out);
22
+ TORCH_API void foreach_tensor_neg_slow_(at::TensorList self);
23
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_neg_cuda(at::TensorList self);
24
+ TORCH_API void foreach_tensor_neg_cuda_(at::TensorList self);
25
+ } // namespace native
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_neg_ops.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_neg {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_neg";
24
+ static constexpr const char* overload_name = "";
25
+ static constexpr const char* schema_str = "_foreach_neg(Tensor[] self) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
28
+ };
29
+
30
+ struct TORCH_API _foreach_neg_ {
31
+ using schema = void (at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_neg_";
35
+ static constexpr const char* overload_name = "";
36
+ static constexpr const char* schema_str = "_foreach_neg_(Tensor(a!)[] self) -> ()";
37
+ static void call(at::TensorList self);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);
39
+ };
40
+
41
+ struct TORCH_API _foreach_neg_out {
42
+ using schema = void (at::TensorList, at::TensorList);
43
+ using ptr_schema = schema*;
44
+ // See Note [static constexpr char* members for windows NVCC]
45
+ static constexpr const char* name = "aten::_foreach_neg";
46
+ static constexpr const char* overload_name = "out";
47
+ static constexpr const char* schema_str = "_foreach_neg.out(Tensor[] self, *, Tensor(a!)[] out) -> ()";
48
+ static void call(at::TensorList self, at::TensorList out);
49
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);
50
+ };
51
+
52
+ }} // namespace at::_ops
53
+
54
+ #else
55
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
56
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_norm_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_norm.Scalar(Tensor[] self, Scalar ord=2, ScalarType? dtype=None) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_norm(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt) {
29
+ return at::_ops::_foreach_norm_Scalar::call(self, ord, dtype);
30
+ }
31
+
32
+ // aten::_foreach_norm.Scalar_out(Tensor[] self, Scalar ord=2, ScalarType? dtype=None, *, Tensor(a!)[] out) -> ()
33
+ inline void _foreach_norm_out(at::TensorList out, at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt) {
34
+ return at::_ops::_foreach_norm_Scalar_out::call(self, ord, dtype, out);
35
+ }
36
+ // aten::_foreach_norm.Scalar_out(Tensor[] self, Scalar ord=2, ScalarType? dtype=None, *, Tensor(a!)[] out) -> ()
37
+ inline void _foreach_norm_outf(at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype, at::TensorList out) {
38
+ return at::_ops::_foreach_norm_Scalar_out::call(self, ord, dtype, out);
39
+ }
40
+
41
+ }
42
+
43
+ #else
44
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
45
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_norm(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
22
+ TORCH_API void _foreach_norm_out(at::TensorList out, at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
23
+ TORCH_API void _foreach_norm_outf(at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype, at::TensorList out);
24
+
25
+ } // namespace compositeexplicitautograd
26
+ } // namespace at
27
+
28
+ #else
29
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
30
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_cuda_dispatch.h ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace cuda {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_norm(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
22
+
23
+ } // namespace cuda
24
+ } // namespace at
25
+
26
+ #else
27
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
28
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_native.h ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from NativeFunction.h
5
+
6
+ #include <c10/core/Scalar.h>
7
+ #include <c10/core/Storage.h>
8
+ #include <c10/core/TensorOptions.h>
9
+ #include <c10/util/Deprecated.h>
10
+ #include <optional>
11
+ #include <c10/core/QScheme.h>
12
+ #include <ATen/core/Reduction.h>
13
+ #include <ATen/core/Tensor.h>
14
+ #include <tuple>
15
+ #include <vector>
16
+
17
+
18
+ namespace at {
19
+ namespace native {
20
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_norm_slow(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
21
+ TORCH_API void _foreach_norm_Scalar_out(at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype, at::TensorList out);
22
+ TORCH_API ::std::vector<at::Tensor> foreach_tensor_norm_cuda(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
23
+ } // namespace native
24
+ } // namespace at
25
+
26
+ #else
27
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
28
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_ops.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Operator.h
5
+
6
+ #include <string_view>
7
+ #include <tuple>
8
+ #include <vector>
9
+
10
+ // Forward declarations of any types needed in the operator signatures.
11
+ // We can't directly include these classes because it will cause circular include dependencies.
12
+ // This file is included by TensorBody.h, which defines the Tensor class.
13
+ #include <ATen/core/ATen_fwd.h>
14
+
15
+ namespace at {
16
+ namespace _ops {
17
+
18
+
19
+ struct TORCH_API _foreach_norm_Scalar {
20
+ using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Scalar &, ::std::optional<at::ScalarType>);
21
+ using ptr_schema = schema*;
22
+ // See Note [static constexpr char* members for windows NVCC]
23
+ static constexpr const char* name = "aten::_foreach_norm";
24
+ static constexpr const char* overload_name = "Scalar";
25
+ static constexpr const char* schema_str = "_foreach_norm.Scalar(Tensor[] self, Scalar ord=2, ScalarType? dtype=None) -> Tensor[]";
26
+ static ::std::vector<at::Tensor> call(at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype);
27
+ static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype);
28
+ };
29
+
30
+ struct TORCH_API _foreach_norm_Scalar_out {
31
+ using schema = void (at::TensorList, const at::Scalar &, ::std::optional<at::ScalarType>, at::TensorList);
32
+ using ptr_schema = schema*;
33
+ // See Note [static constexpr char* members for windows NVCC]
34
+ static constexpr const char* name = "aten::_foreach_norm";
35
+ static constexpr const char* overload_name = "Scalar_out";
36
+ static constexpr const char* schema_str = "_foreach_norm.Scalar_out(Tensor[] self, Scalar ord=2, ScalarType? dtype=None, *, Tensor(a!)[] out) -> ()";
37
+ static void call(at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype, at::TensorList out);
38
+ static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & ord, ::std::optional<at::ScalarType> dtype, at::TensorList out);
39
+ };
40
+
41
+ }} // namespace at::_ops
42
+
43
+ #else
44
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
45
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_pow.h ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+
4
+ // @generated by torchgen/gen.py from Function.h
5
+
6
+ #include <ATen/Context.h>
7
+ #include <ATen/DeviceGuard.h>
8
+ #include <ATen/TensorUtils.h>
9
+ #include <ATen/TracerMode.h>
10
+ #include <ATen/core/Generator.h>
11
+ #include <ATen/core/Reduction.h>
12
+ #include <ATen/core/Tensor.h>
13
+ #include <c10/core/Scalar.h>
14
+ #include <c10/core/Storage.h>
15
+ #include <c10/core/TensorOptions.h>
16
+ #include <c10/util/Deprecated.h>
17
+ #include <optional>
18
+ #include <string_view>
19
+
20
+
21
+
22
+ #include <ATen/ops/_foreach_pow_ops.h>
23
+
24
+ namespace at {
25
+
26
+
27
+ // aten::_foreach_pow.List(Tensor[] self, Tensor[] exponent) -> Tensor[]
28
+ inline ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, at::TensorList exponent) {
29
+ return at::_ops::_foreach_pow_List::call(self, exponent);
30
+ }
31
+
32
+ // aten::_foreach_pow.Scalar(Tensor[] self, Scalar exponent) -> Tensor[]
33
+ inline ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, const at::Scalar & exponent) {
34
+ return at::_ops::_foreach_pow_Scalar::call(self, exponent);
35
+ }
36
+
37
+ // aten::_foreach_pow.ScalarList(Tensor[] self, Scalar[] exponent) -> Tensor[]
38
+ inline ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, at::ArrayRef<at::Scalar> exponent) {
39
+ return at::_ops::_foreach_pow_ScalarList::call(self, exponent);
40
+ }
41
+
42
+ // aten::_foreach_pow.ScalarAndTensor(Scalar self, Tensor[] exponent) -> Tensor[]
43
+ inline ::std::vector<at::Tensor> _foreach_pow(const at::Scalar & self, at::TensorList exponent) {
44
+ return at::_ops::_foreach_pow_ScalarAndTensor::call(self, exponent);
45
+ }
46
+
47
+ // aten::_foreach_pow_.List(Tensor(a!)[] self, Tensor[] exponent) -> ()
48
+ inline void _foreach_pow_(at::TensorList self, at::TensorList exponent) {
49
+ return at::_ops::_foreach_pow__List::call(self, exponent);
50
+ }
51
+
52
+ // aten::_foreach_pow_.Scalar(Tensor(a!)[] self, Scalar exponent) -> ()
53
+ inline void _foreach_pow_(at::TensorList self, const at::Scalar & exponent) {
54
+ return at::_ops::_foreach_pow__Scalar::call(self, exponent);
55
+ }
56
+
57
+ // aten::_foreach_pow_.ScalarList(Tensor(a!)[] self, Scalar[] exponent) -> ()
58
+ inline void _foreach_pow_(at::TensorList self, at::ArrayRef<at::Scalar> exponent) {
59
+ return at::_ops::_foreach_pow__ScalarList::call(self, exponent);
60
+ }
61
+
62
+ // aten::_foreach_pow.List_out(Tensor[] self, Tensor[] exponent, *, Tensor(a!)[] out) -> ()
63
+ inline void _foreach_pow_out(at::TensorList out, at::TensorList self, at::TensorList exponent) {
64
+ return at::_ops::_foreach_pow_List_out::call(self, exponent, out);
65
+ }
66
+ // aten::_foreach_pow.List_out(Tensor[] self, Tensor[] exponent, *, Tensor(a!)[] out) -> ()
67
+ inline void _foreach_pow_outf(at::TensorList self, at::TensorList exponent, at::TensorList out) {
68
+ return at::_ops::_foreach_pow_List_out::call(self, exponent, out);
69
+ }
70
+
71
+ // aten::_foreach_pow.Scalar_out(Tensor[] self, Scalar exponent, *, Tensor(a!)[] out) -> ()
72
+ inline void _foreach_pow_out(at::TensorList out, at::TensorList self, const at::Scalar & exponent) {
73
+ return at::_ops::_foreach_pow_Scalar_out::call(self, exponent, out);
74
+ }
75
+ // aten::_foreach_pow.Scalar_out(Tensor[] self, Scalar exponent, *, Tensor(a!)[] out) -> ()
76
+ inline void _foreach_pow_outf(at::TensorList self, const at::Scalar & exponent, at::TensorList out) {
77
+ return at::_ops::_foreach_pow_Scalar_out::call(self, exponent, out);
78
+ }
79
+
80
+ // aten::_foreach_pow.ScalarList_out(Tensor[] self, Scalar[] exponent, *, Tensor(a!)[] out) -> ()
81
+ inline void _foreach_pow_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> exponent) {
82
+ return at::_ops::_foreach_pow_ScalarList_out::call(self, exponent, out);
83
+ }
84
+ // aten::_foreach_pow.ScalarList_out(Tensor[] self, Scalar[] exponent, *, Tensor(a!)[] out) -> ()
85
+ inline void _foreach_pow_outf(at::TensorList self, at::ArrayRef<at::Scalar> exponent, at::TensorList out) {
86
+ return at::_ops::_foreach_pow_ScalarList_out::call(self, exponent, out);
87
+ }
88
+
89
+ }
90
+
91
+ #else
92
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
93
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
miniconda3/envs/ladir/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_pow_compositeexplicitautograd_dispatch.h ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
2
+ #pragma once
3
+ // @generated by torchgen/gen.py from DispatchKeyFunction.h
4
+
5
+ // NB: The implementing C++ file is RegisterDispatchKey.cpp
6
+
7
+ // The only #includes we need are for custom classes that have defaults in the C++ API
8
+ #include <c10/core/MemoryFormat.h>
9
+ #include <c10/core/Scalar.h>
10
+ #include <ATen/core/Reduction.h>
11
+
12
+ // Forward declarations of any types needed in the operator signatures.
13
+ // We can't directly include these classes because it will cause circular include dependencies.
14
+ // This file is included by TensorBody.h, which defines the Tensor class.
15
+ #include <ATen/core/ATen_fwd.h>
16
+
17
+ namespace at {
18
+
19
+ namespace compositeexplicitautograd {
20
+
21
+ TORCH_API ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, at::TensorList exponent);
22
+ TORCH_API void _foreach_pow_out(at::TensorList out, at::TensorList self, at::TensorList exponent);
23
+ TORCH_API void _foreach_pow_outf(at::TensorList self, at::TensorList exponent, at::TensorList out);
24
+ TORCH_API void _foreach_pow_(at::TensorList self, at::TensorList exponent);
25
+ TORCH_API ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, const at::Scalar & exponent);
26
+ TORCH_API void _foreach_pow_out(at::TensorList out, at::TensorList self, const at::Scalar & exponent);
27
+ TORCH_API void _foreach_pow_outf(at::TensorList self, const at::Scalar & exponent, at::TensorList out);
28
+ TORCH_API void _foreach_pow_(at::TensorList self, const at::Scalar & exponent);
29
+ TORCH_API ::std::vector<at::Tensor> _foreach_pow(at::TensorList self, at::ArrayRef<at::Scalar> exponent);
30
+ TORCH_API void _foreach_pow_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> exponent);
31
+ TORCH_API void _foreach_pow_outf(at::TensorList self, at::ArrayRef<at::Scalar> exponent, at::TensorList out);
32
+ TORCH_API void _foreach_pow_(at::TensorList self, at::ArrayRef<at::Scalar> exponent);
33
+ TORCH_API ::std::vector<at::Tensor> _foreach_pow(const at::Scalar & self, at::TensorList exponent);
34
+
35
+ } // namespace compositeexplicitautograd
36
+ } // namespace at
37
+
38
+ #else
39
+ #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
40
+ #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)