Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_assert_scalar_native.hAdded+21
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Int_ops.hAdded+28
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_convert_indices_from_coo_to_csr_meta_dispatch.hAdded+25
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_cudnn_rnn_flatten_weight_cuda_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_embedding_bag.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_euclidean_dist_ops.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_native.hAdded+35
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_ops.hAdded+116
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sub_compositeexplicitautograd_dispatch.hAdded+34
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_histogramdd_from_bin_cts_compositeexplicitautograd_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_logcumsumexp_native.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_coo_tensor_unsafe_native.hAdded+21
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_log_softmax_ops.hAdded+61
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_semi_structured_apply.hAdded+30
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_stack.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_to_sparse_bsr_cuda_dispatch.hAdded+23
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_upsample_nearest_exact2d.hAdded+113
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_validate_sparse_csc_tensor_args_compositeimplicitautograd_dispatch.hAdded+23
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/affine_grid_generator_backward_compositeimplicitautograd_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/arcsin_compositeimplicitautograd_dispatch.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/bincount_compositeexplicitautograd_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ceil_compositeexplicitautogradnonfunctional_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/digamma_meta.hAdded+27
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/expm1_native.hAdded+29
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/eye_compositeexplicitautograd_dispatch.hAdded+30
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/feature_alpha_dropout_ops.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/fft_hfft2_compositeimplicitautograd_dispatch.hAdded+28
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/frac_meta_dispatch.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/fractional_max_pool2d.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ger_compositeimplicitautograd_dispatch.hAdded+25
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/heaviside_cuda_dispatch.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/index_copy_cpu_dispatch.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/indices.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/isclose_ops.hAdded+28
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/isnan_ops.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ldexp_native.hAdded+23
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/leaky_relu_meta_dispatch.hAdded+26
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/lift_fresh_copy_native.hAdded+22
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/linalg_det_native.hAdded+22
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/log_normal.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/log_sigmoid_compositeimplicitautograd_dispatch.hAdded+25
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/logical_and_compositeexplicitautograd_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/masked_fill_cuda_dispatch.hAdded+24
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/masked_fill_ops.hAdded+83
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/matrix_H_native.hAdded+21
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/max_pool1d_native.hAdded+21
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/max_pool2d_with_indices_ops.hAdded+39
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/mean_compositeexplicitautograd_dispatch.hAdded+25
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/mean_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
- vllm/lib/python3.10/site-packages/torch/include/ATen/ops/minimum_native.hAdded+23
123456789101112131415161718192021#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API void _assert_scalar(const at::Scalar & self, c10::string_view assert_msg);} // namespace native} // namespace at12345678910111213141516171819202122232425262728#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API _cast_Int { using schema = at::Tensor (const at::Tensor &, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_cast_Int") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_cast_Int(Tensor self, bool non_blocking=False) -> Tensor") static at::Tensor call(const at::Tensor & self, bool non_blocking); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, bool non_blocking);};
}} // namespace at::_ops12345678910111213141516171819202122232425#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace meta {
TORCH_API at::Tensor _convert_indices_from_coo_to_csr(const at::Tensor & self, int64_t size, bool out_int32=false);TORCH_API at::Tensor & _convert_indices_from_coo_to_csr_out(at::Tensor & out, const at::Tensor & self, int64_t size, bool out_int32=false);TORCH_API at::Tensor & _convert_indices_from_coo_to_csr_outf(const at::Tensor & self, int64_t size, bool out_int32, at::Tensor & out);
} // namespace meta} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace cuda {
TORCH_API at::Tensor _cudnn_rnn_flatten_weight(at::TensorList weight_arr, int64_t weight_stride0, int64_t input_size, int64_t mode, int64_t hidden_size, int64_t proj_size, int64_t num_layers, bool batch_first, bool bidirectional);TORCH_API at::Tensor _cudnn_rnn_flatten_weight_symint(at::TensorList weight_arr, int64_t weight_stride0, c10::SymInt input_size, int64_t mode, c10::SymInt hidden_size, c10::SymInt proj_size, int64_t num_layers, bool batch_first, bool bidirectional);
} // namespace cuda} // namespace at123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/_embedding_bag_ops.h>
namespace at {
// aten::_embedding_bag(Tensor weight, Tensor indices, Tensor offsets, bool scale_grad_by_freq=False, int mode=0, bool sparse=False, Tensor? per_sample_weights=None, bool include_last_offset=False, int padding_idx=-1) -> (Tensor, Tensor, Tensor, Tensor)inline ::std::tuple<at::Tensor,at::Tensor,at::Tensor,at::Tensor> _embedding_bag(const at::Tensor & weight, const at::Tensor & indices, const at::Tensor & offsets, bool scale_grad_by_freq=false, int64_t mode=0, bool sparse=false, const ::std::optional<at::Tensor> & per_sample_weights={}, bool include_last_offset=false, int64_t padding_idx=-1) { return at::_ops::_embedding_bag::call(weight, indices, offsets, scale_grad_by_freq, mode, sparse, per_sample_weights, include_last_offset, padding_idx);}
// aten::_embedding_bag.out(Tensor weight, Tensor indices, Tensor offsets, bool scale_grad_by_freq=False, int mode=0, bool sparse=False, Tensor? per_sample_weights=None, bool include_last_offset=False, int padding_idx=-1, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2, Tensor(d!) out3) -> (Tensor(a!), Tensor(b!), Tensor(c!), Tensor(d!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &> _embedding_bag_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, at::Tensor & out3, const at::Tensor & weight, const at::Tensor & indices, const at::Tensor & offsets, bool scale_grad_by_freq=false, int64_t mode=0, bool sparse=false, const ::std::optional<at::Tensor> & per_sample_weights={}, bool include_last_offset=false, int64_t padding_idx=-1) { return at::_ops::_embedding_bag_out::call(weight, indices, offsets, scale_grad_by_freq, mode, sparse, per_sample_weights, include_last_offset, padding_idx, out0, out1, out2, out3);}// aten::_embedding_bag.out(Tensor weight, Tensor indices, Tensor offsets, bool scale_grad_by_freq=False, int mode=0, bool sparse=False, Tensor? per_sample_weights=None, bool include_last_offset=False, int padding_idx=-1, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2, Tensor(d!) out3) -> (Tensor(a!), Tensor(b!), Tensor(c!), Tensor(d!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &> _embedding_bag_outf(const at::Tensor & weight, const at::Tensor & indices, const at::Tensor & offsets, bool scale_grad_by_freq, int64_t mode, bool sparse, const ::std::optional<at::Tensor> & per_sample_weights, bool include_last_offset, int64_t padding_idx, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, at::Tensor & out3) { return at::_ops::_embedding_bag_out::call(weight, indices, offsets, scale_grad_by_freq, mode, sparse, per_sample_weights, include_last_offset, padding_idx, out0, out1, out2, out3);}
}123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API _euclidean_dist { using schema = at::Tensor (const at::Tensor &, const at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_euclidean_dist") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_euclidean_dist(Tensor x1, Tensor x2) -> Tensor") static at::Tensor call(const at::Tensor & x1, const at::Tensor & x2); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x1, const at::Tensor & x2);};
struct TORCH_API _euclidean_dist_out { using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_euclidean_dist") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_euclidean_dist.out(Tensor x1, Tensor x2, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & x1, const at::Tensor & x2, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x1, const at::Tensor & x2, at::Tensor & out);};
}} // namespace at::_ops1234567891011121314151617181920212223242526272829303132333435#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalar_kernel_slow(at::TensorList self, const at::Scalar & scalar);TORCH_API void _foreach_maximum_Scalar_out(at::TensorList self, const at::Scalar & scalar, at::TensorList out);TORCH_API void foreach_tensor_clamp_min_scalar_kernel_slow_(at::TensorList self, const at::Scalar & scalar);TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalar_kernel_cuda(at::TensorList self, const at::Scalar & scalar);TORCH_API void foreach_tensor_clamp_min_scalar_kernel_cuda_(at::TensorList self, const at::Scalar & scalar);TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_list_kernel_slow(at::TensorList self, at::TensorList other);TORCH_API void _foreach_maximum_List_out(at::TensorList self, at::TensorList other, at::TensorList out);TORCH_API void foreach_tensor_clamp_min_list_kernel_slow_(at::TensorList self, at::TensorList other);TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_list_kernel_cuda(at::TensorList self, at::TensorList other);TORCH_API void foreach_tensor_clamp_min_list_kernel_cuda_(at::TensorList self, at::TensorList other);TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalarlist_kernel_slow(at::TensorList self, at::ArrayRef<at::Scalar> scalars);TORCH_API void _foreach_maximum_ScalarList_out(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);TORCH_API void foreach_tensor_clamp_min_scalarlist_kernel_slow_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);TORCH_API ::std::vector<at::Tensor> foreach_tensor_clamp_min_scalarlist_kernel_cuda(at::TensorList self, at::ArrayRef<at::Scalar> scalars);TORCH_API void foreach_tensor_clamp_min_scalarlist_kernel_cuda_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);} // namespace native} // namespace at123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API _foreach_minimum_Scalar { using schema = ::std::vector<at::Tensor> (at::TensorList, const at::Scalar &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]") static ::std::vector<at::Tensor> call(at::TensorList self, const at::Scalar & scalar); static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);};
struct TORCH_API _foreach_minimum__Scalar { using schema = void (at::TensorList, const at::Scalar &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()") static void call(at::TensorList self, const at::Scalar & scalar); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar);};
struct TORCH_API _foreach_minimum_List { using schema = ::std::vector<at::Tensor> (at::TensorList, at::TensorList); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "List") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.List(Tensor[] self, Tensor[] other) -> Tensor[]") static ::std::vector<at::Tensor> call(at::TensorList self, at::TensorList other); static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);};
struct TORCH_API _foreach_minimum__List { using schema = void (at::TensorList, at::TensorList); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "List") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum_.List(Tensor(a!)[] self, Tensor[] other) -> ()") static void call(at::TensorList self, at::TensorList other); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other);};
struct TORCH_API _foreach_minimum_ScalarList { using schema = ::std::vector<at::Tensor> (at::TensorList, at::ArrayRef<at::Scalar>); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "ScalarList") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]") static ::std::vector<at::Tensor> call(at::TensorList self, at::ArrayRef<at::Scalar> scalars); static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);};
struct TORCH_API _foreach_minimum__ScalarList { using schema = void (at::TensorList, at::ArrayRef<at::Scalar>); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "ScalarList") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()") static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars);};
struct TORCH_API _foreach_minimum_Scalar_out { using schema = void (at::TensorList, const at::Scalar &, at::TensorList); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar_out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()") static void call(at::TensorList self, const at::Scalar & scalar, at::TensorList out); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, const at::Scalar & scalar, at::TensorList out);};
struct TORCH_API _foreach_minimum_List_out { using schema = void (at::TensorList, at::TensorList, at::TensorList); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "List_out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()") static void call(at::TensorList self, at::TensorList other, at::TensorList out); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList other, at::TensorList out);};
struct TORCH_API _foreach_minimum_ScalarList_out { using schema = void (at::TensorList, at::ArrayRef<at::Scalar>, at::TensorList); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_minimum") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "ScalarList_out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_minimum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()") static void call(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);};
}} // namespace at::_ops12345678910111213141516171819202122232425262728293031323334#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API ::std::vector<at::Tensor> _foreach_sub(at::TensorList self, const at::Scalar & scalar);TORCH_API void _foreach_sub_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar);TORCH_API void _foreach_sub_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out);TORCH_API void _foreach_sub_(at::TensorList self, const at::Scalar & scalar);TORCH_API ::std::vector<at::Tensor> _foreach_sub(at::TensorList self, at::TensorList other, const at::Scalar & alpha=1);TORCH_API void _foreach_sub_out(at::TensorList out, at::TensorList self, at::TensorList other, const at::Scalar & alpha=1);TORCH_API void _foreach_sub_outf(at::TensorList self, at::TensorList other, const at::Scalar & alpha, at::TensorList out);TORCH_API void _foreach_sub_(at::TensorList self, at::TensorList other, const at::Scalar & alpha=1);TORCH_API ::std::vector<at::Tensor> _foreach_sub(at::TensorList self, at::ArrayRef<at::Scalar> scalars);TORCH_API void _foreach_sub_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars);TORCH_API void _foreach_sub_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out);TORCH_API void _foreach_sub_(at::TensorList self, at::ArrayRef<at::Scalar> scalars);
} // namespace compositeexplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API at::Tensor & _histogramdd_from_bin_cts_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef bins, ::std::optional<at::ArrayRef<double>> range=::std::nullopt, const ::std::optional<at::Tensor> & weight={}, bool density=false);TORCH_API at::Tensor & _histogramdd_from_bin_cts_outf(const at::Tensor & self, at::IntArrayRef bins, ::std::optional<at::ArrayRef<double>> range, const ::std::optional<at::Tensor> & weight, bool density, at::Tensor & out);
} // namespace compositeexplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor _logcumsumexp_cpu(const at::Tensor & self, int64_t dim);TORCH_API at::Tensor & _logcumsumexp_out_cpu(const at::Tensor & self, int64_t dim, at::Tensor & out);TORCH_API at::Tensor _logcumsumexp_cuda(const at::Tensor & self, int64_t dim);TORCH_API at::Tensor & _logcumsumexp_out_cuda(const at::Tensor & self, int64_t dim, at::Tensor & out);} // namespace native} // namespace at123456789101112131415161718192021#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor _sparse_coo_tensor_unsafe_symint(const at::Tensor & indices, const at::Tensor & values, c10::SymIntArrayRef size, ::std::optional<at::ScalarType> dtype={}, ::std::optional<at::Layout> layout={}, ::std::optional<at::Device> device={}, ::std::optional<bool> pin_memory={}, ::std::optional<bool> is_coalesced=::std::nullopt);} // namespace native} // namespace at12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API _sparse_log_softmax_int { using schema = at::Tensor (const at::Tensor &, int64_t, ::std::optional<at::ScalarType>); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_sparse_log_softmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "int") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_log_softmax.int(Tensor self, int dim, ScalarType? dtype=None) -> Tensor") static at::Tensor call(const at::Tensor & self, int64_t dim, ::std::optional<at::ScalarType> dtype); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, int64_t dim, ::std::optional<at::ScalarType> dtype);};
struct TORCH_API _sparse_log_softmax_Dimname { using schema = at::Tensor (const at::Tensor &, at::Dimname, ::std::optional<at::ScalarType>); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_sparse_log_softmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Dimname") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_log_softmax.Dimname(Tensor self, Dimname dim, *, ScalarType? dtype=None) -> Tensor") static at::Tensor call(const at::Tensor & self, at::Dimname dim, ::std::optional<at::ScalarType> dtype); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::Dimname dim, ::std::optional<at::ScalarType> dtype);};
struct TORCH_API _sparse_log_softmax { using schema = at::Tensor (const at::Tensor &, int64_t, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_sparse_log_softmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_log_softmax(Tensor self, int dim, bool half_to_float) -> Tensor") static at::Tensor call(const at::Tensor & self, int64_t dim, bool half_to_float); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, int64_t dim, bool half_to_float);};
struct TORCH_API _sparse_log_softmax_out { using schema = at::Tensor & (const at::Tensor &, int64_t, bool, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_sparse_log_softmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_log_softmax.out(Tensor self, int dim, bool half_to_float, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, int64_t dim, bool half_to_float, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, int64_t dim, bool half_to_float, at::Tensor & out);};
}} // namespace at::_ops123456789101112131415161718192021222324252627282930#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/_sparse_semi_structured_apply_ops.h>
namespace at {
// aten::_sparse_semi_structured_apply(Tensor input, Tensor thread_masks) -> (Tensor, Tensor)inline ::std::tuple<at::Tensor,at::Tensor> _sparse_semi_structured_apply(const at::Tensor & input, const at::Tensor & thread_masks) { return at::_ops::_sparse_semi_structured_apply::call(input, thread_masks);}
}123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/_stack_ops.h>
namespace at {
// aten::_stack(Tensor[] tensors, int dim=0) -> Tensorinline at::Tensor _stack(at::TensorList tensors, int64_t dim=0) { return at::_ops::_stack::call(tensors, dim);}
// aten::_stack.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _stack_out(at::Tensor & out, at::TensorList tensors, int64_t dim=0) { return at::_ops::_stack_out::call(tensors, dim, out);}// aten::_stack.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _stack_outf(at::TensorList tensors, int64_t dim, at::Tensor & out) { return at::_ops::_stack_out::call(tensors, dim, out);}
}1234567891011121314151617181920212223#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace cuda {
TORCH_API at::Tensor _to_sparse_bsr(const at::Tensor & self, at::IntArrayRef blocksize, ::std::optional<int64_t> dense_dim=::std::nullopt);
} // namespace cuda} // namespace at123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/_upsample_nearest_exact2d_ops.h>
namespace at {
// aten::_upsample_nearest_exact2d.vec(Tensor input, SymInt[]? output_size, float[]? scale_factors) -> Tensorinline at::Tensor _upsample_nearest_exact2d(const at::Tensor & input, at::OptionalIntArrayRef output_size, ::std::optional<at::ArrayRef<double>> scale_factors) { return at::_ops::_upsample_nearest_exact2d_vec::call(input, output_size.has_value() ? ::std::make_optional(c10::fromIntArrayRefSlow(*output_size)) : ::std::nullopt, scale_factors);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> at::Tensor _upsample_nearest_exact2d(const at::Tensor & input, at::OptionalIntArrayRef output_size, ::std::optional<at::ArrayRef<double>> scale_factors) { return at::_ops::_upsample_nearest_exact2d_vec::call(input, output_size.has_value() ? ::std::make_optional(c10::fromIntArrayRefSlow(*output_size)) : ::std::nullopt, scale_factors); }}
// aten::_upsample_nearest_exact2d.vec(Tensor input, SymInt[]? output_size, float[]? scale_factors) -> Tensorinline at::Tensor _upsample_nearest_exact2d_symint(const at::Tensor & input, at::OptionalSymIntArrayRef output_size, ::std::optional<at::ArrayRef<double>> scale_factors) { return at::_ops::_upsample_nearest_exact2d_vec::call(input, output_size, scale_factors);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> at::Tensor _upsample_nearest_exact2d(const at::Tensor & input, at::OptionalSymIntArrayRef output_size, ::std::optional<at::ArrayRef<double>> scale_factors) { return at::_ops::_upsample_nearest_exact2d_vec::call(input, output_size, scale_factors); }}
// aten::_upsample_nearest_exact2d.out(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _upsample_nearest_exact2d_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d_out::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w, out);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> at::Tensor & _upsample_nearest_exact2d_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d_out::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w, out); }}
// aten::_upsample_nearest_exact2d.out(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _upsample_nearest_exact2d_outf(const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h, ::std::optional<double> scales_w, at::Tensor & out) { return at::_ops::_upsample_nearest_exact2d_out::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w, out);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> at::Tensor & _upsample_nearest_exact2d_outf(const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h, ::std::optional<double> scales_w, at::Tensor & out) { return at::_ops::_upsample_nearest_exact2d_out::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w, out); }}
// aten::_upsample_nearest_exact2d.out(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _upsample_nearest_exact2d_symint_out(at::Tensor & out, const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d_out::call(self, output_size, scales_h, scales_w, out);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> at::Tensor & _upsample_nearest_exact2d_out(at::Tensor & out, const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d_out::call(self, output_size, scales_h, scales_w, out); }}
// aten::_upsample_nearest_exact2d.out(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _upsample_nearest_exact2d_symint_outf(const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h, ::std::optional<double> scales_w, at::Tensor & out) { return at::_ops::_upsample_nearest_exact2d_out::call(self, output_size, scales_h, scales_w, out);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> at::Tensor & _upsample_nearest_exact2d_outf(const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h, ::std::optional<double> scales_w, at::Tensor & out) { return at::_ops::_upsample_nearest_exact2d_out::call(self, output_size, scales_h, scales_w, out); }}
// aten::_upsample_nearest_exact2d(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None) -> Tensorinline at::Tensor _upsample_nearest_exact2d(const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> at::Tensor _upsample_nearest_exact2d(const at::Tensor & self, at::IntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d::call(self, c10::fromIntArrayRefSlow(output_size), scales_h, scales_w); }}
// aten::_upsample_nearest_exact2d(Tensor self, SymInt[2] output_size, float? scales_h=None, float? scales_w=None) -> Tensorinline at::Tensor _upsample_nearest_exact2d_symint(const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d::call(self, output_size, scales_h, scales_w);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> at::Tensor _upsample_nearest_exact2d(const at::Tensor & self, c10::SymIntArrayRef output_size, ::std::optional<double> scales_h=::std::nullopt, ::std::optional<double> scales_w=::std::nullopt) { return at::_ops::_upsample_nearest_exact2d::call(self, output_size, scales_h, scales_w); }}
}1234567891011121314151617181920212223#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API void _validate_sparse_csc_tensor_args(const at::Tensor & ccol_indices, const at::Tensor & row_indices, const at::Tensor & values, at::IntArrayRef size);
} // namespace compositeimplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API at::Tensor affine_grid_generator_backward(const at::Tensor & grad, at::IntArrayRef size, bool align_corners);TORCH_API at::Tensor affine_grid_generator_backward_symint(const at::Tensor & grad, c10::SymIntArrayRef size, bool align_corners);
} // namespace compositeimplicitautograd} // namespace at1234567891011121314151617181920212223242526#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API at::Tensor arcsin(const at::Tensor & self);TORCH_API at::Tensor & arcsin_out(at::Tensor & out, const at::Tensor & self);TORCH_API at::Tensor & arcsin_outf(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor & arcsin_(at::Tensor & self);
} // namespace compositeimplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API at::Tensor & bincount_out(at::Tensor & out, const at::Tensor & self, const ::std::optional<at::Tensor> & weights={}, int64_t minlength=0);TORCH_API at::Tensor & bincount_outf(const at::Tensor & self, const ::std::optional<at::Tensor> & weights, int64_t minlength, at::Tensor & out);
} // namespace compositeexplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautogradnonfunctional {
TORCH_API at::Tensor ceil(const at::Tensor & self);TORCH_API at::Tensor & ceil_(at::Tensor & self);
} // namespace compositeexplicitautogradnonfunctional} // namespace at123456789101112131415161718192021222324252627#pragma once
// @generated by torchgen/gen.py from NativeMetaFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/TensorIterator.h>#include <ATen/TensorMeta.h>#include <tuple>#include <vector>
namespace at {namespace meta {
struct TORCH_API structured_digamma : public TensorIteratorBase { void meta(const at::Tensor & self);};
} // namespace native} // namespace at1234567891011121314151617181920212223242526272829#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>#include <ATen/ops/expm1_meta.h>
namespace at {namespace native {struct TORCH_API structured_expm1_out : public at::meta::structured_expm1 {void impl(const at::Tensor & self, const at::Tensor & out);};TORCH_API at::Tensor expm1_sparse(const at::Tensor & self);TORCH_API at::Tensor & expm1_sparse_out(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor & expm1_sparse_(at::Tensor & self);TORCH_API at::Tensor expm1_sparse_csr(const at::Tensor & self);TORCH_API at::Tensor & expm1_sparse_csr_out(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor & expm1_sparse_csr_(at::Tensor & self);} // namespace native} // namespace at123456789101112131415161718192021222324252627282930#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API at::Tensor eye(int64_t n, at::TensorOptions options={});TORCH_API at::Tensor eye(int64_t n, ::std::optional<at::ScalarType> dtype, ::std::optional<at::Layout> layout, ::std::optional<at::Device> device, ::std::optional<bool> pin_memory);TORCH_API at::Tensor eye_symint(c10::SymInt n, at::TensorOptions options={});TORCH_API at::Tensor eye_symint(c10::SymInt n, ::std::optional<at::ScalarType> dtype, ::std::optional<at::Layout> layout, ::std::optional<at::Device> device, ::std::optional<bool> pin_memory);TORCH_API at::Tensor eye(int64_t n, int64_t m, at::TensorOptions options={});TORCH_API at::Tensor eye(int64_t n, int64_t m, ::std::optional<at::ScalarType> dtype, ::std::optional<at::Layout> layout, ::std::optional<at::Device> device, ::std::optional<bool> pin_memory);TORCH_API at::Tensor eye_symint(c10::SymInt n, c10::SymInt m, at::TensorOptions options={});TORCH_API at::Tensor eye_symint(c10::SymInt n, c10::SymInt m, ::std::optional<at::ScalarType> dtype, ::std::optional<at::Layout> layout, ::std::optional<at::Device> device, ::std::optional<bool> pin_memory);
} // namespace compositeexplicitautograd} // namespace at123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API feature_alpha_dropout { using schema = at::Tensor (const at::Tensor &, double, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::feature_alpha_dropout") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "feature_alpha_dropout(Tensor input, float p, bool train) -> Tensor") static at::Tensor call(const at::Tensor & input, double p, bool train); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & input, double p, bool train);};
struct TORCH_API feature_alpha_dropout_ { using schema = at::Tensor & (at::Tensor &, double, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::feature_alpha_dropout_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "feature_alpha_dropout_(Tensor(a!) self, float p, bool train) -> Tensor(a!)") static at::Tensor & call(at::Tensor & self, double p, bool train); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, double p, bool train);};
}} // namespace at::_ops12345678910111213141516171819202122232425262728#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API at::Tensor fft_hfft2(const at::Tensor & self, at::OptionalIntArrayRef s=::std::nullopt, at::IntArrayRef dim={-2,-1}, ::std::optional<c10::string_view> norm=::std::nullopt);TORCH_API at::Tensor fft_hfft2_symint(const at::Tensor & self, at::OptionalSymIntArrayRef s=::std::nullopt, at::IntArrayRef dim={-2,-1}, ::std::optional<c10::string_view> norm=::std::nullopt);TORCH_API const at::Tensor & fft_hfft2_out(const at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef s=::std::nullopt, at::IntArrayRef dim={-2,-1}, ::std::optional<c10::string_view> norm=::std::nullopt);TORCH_API const at::Tensor & fft_hfft2_outf(const at::Tensor & self, at::OptionalIntArrayRef s, at::IntArrayRef dim, ::std::optional<c10::string_view> norm, const at::Tensor & out);TORCH_API const at::Tensor & fft_hfft2_symint_out(const at::Tensor & out, const at::Tensor & self, at::OptionalSymIntArrayRef s=::std::nullopt, at::IntArrayRef dim={-2,-1}, ::std::optional<c10::string_view> norm=::std::nullopt);TORCH_API const at::Tensor & fft_hfft2_symint_outf(const at::Tensor & self, at::OptionalSymIntArrayRef s, at::IntArrayRef dim, ::std::optional<c10::string_view> norm, const at::Tensor & out);
} // namespace compositeimplicitautograd} // namespace at1234567891011121314151617181920212223242526#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace meta {
TORCH_API at::Tensor frac(const at::Tensor & self);TORCH_API at::Tensor & frac_out(at::Tensor & out, const at::Tensor & self);TORCH_API at::Tensor & frac_outf(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor & frac_(at::Tensor & self);
} // namespace meta} // namespace at123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/fractional_max_pool2d_ops.h>
namespace at {
// aten::fractional_max_pool2d.output(Tensor self, int[2] kernel_size, int[2] output_size, Tensor random_samples, *, Tensor(a!) output, Tensor(b!) indices) -> (Tensor(a!), Tensor(b!))inline ::std::tuple<at::Tensor &,at::Tensor &> fractional_max_pool2d_out(at::Tensor & output, at::Tensor & indices, const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef output_size, const at::Tensor & random_samples) { return at::_ops::fractional_max_pool2d_output::call(self, kernel_size, output_size, random_samples, output, indices);}// aten::fractional_max_pool2d.output(Tensor self, int[2] kernel_size, int[2] output_size, Tensor random_samples, *, Tensor(a!) output, Tensor(b!) indices) -> (Tensor(a!), Tensor(b!))inline ::std::tuple<at::Tensor &,at::Tensor &> fractional_max_pool2d_outf(const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef output_size, const at::Tensor & random_samples, at::Tensor & output, at::Tensor & indices) { return at::_ops::fractional_max_pool2d_output::call(self, kernel_size, output_size, random_samples, output, indices);}
// aten::fractional_max_pool2d(Tensor self, int[2] kernel_size, int[2] output_size, Tensor random_samples) -> (Tensor, Tensor)inline ::std::tuple<at::Tensor,at::Tensor> fractional_max_pool2d(const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef output_size, const at::Tensor & random_samples) { return at::_ops::fractional_max_pool2d::call(self, kernel_size, output_size, random_samples);}
}12345678910111213141516171819202122232425#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API at::Tensor ger(const at::Tensor & self, const at::Tensor & vec2);TORCH_API at::Tensor & ger_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & vec2);TORCH_API at::Tensor & ger_outf(const at::Tensor & self, const at::Tensor & vec2, at::Tensor & out);
} // namespace compositeimplicitautograd} // namespace at1234567891011121314151617181920212223242526#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace cuda {
TORCH_API at::Tensor heaviside(const at::Tensor & self, const at::Tensor & values);TORCH_API at::Tensor & heaviside_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & values);TORCH_API at::Tensor & heaviside_outf(const at::Tensor & self, const at::Tensor & values, at::Tensor & out);TORCH_API at::Tensor & heaviside_(at::Tensor & self, const at::Tensor & values);
} // namespace cuda} // namespace at1234567891011121314151617181920212223242526#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace cpu {
TORCH_API at::Tensor index_copy(const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & source);TORCH_API at::Tensor & index_copy_out(at::Tensor & out, const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & source);TORCH_API at::Tensor & index_copy_outf(const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & source, at::Tensor & out);TORCH_API at::Tensor & index_copy_(at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & source);
} // namespace cpu} // namespace at1234567891011121314151617181920212223242526#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/indices_ops.h>
namespace at {
}12345678910111213141516171819202122232425262728#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API isclose { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, double, double, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::isclose") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "isclose(Tensor self, Tensor other, float rtol=1e-05, float atol=1e-08, bool equal_nan=False) -> Tensor") static at::Tensor call(const at::Tensor & self, const at::Tensor & other, double rtol, double atol, bool equal_nan); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & other, double rtol, double atol, bool equal_nan);};
}} // namespace at::_ops123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API isnan { using schema = at::Tensor (const at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::isnan") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "isnan(Tensor self) -> Tensor") static at::Tensor call(const at::Tensor & self); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self);};
struct TORCH_API isnan_out { using schema = at::Tensor & (const at::Tensor &, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::isnan") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "isnan.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::Tensor & out);};
}} // namespace at::_ops1234567891011121314151617181920212223#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor ldexp(const at::Tensor & self, const at::Tensor & other);TORCH_API at::Tensor & ldexp_out(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);TORCH_API at::Tensor & ldexp_(at::Tensor & self, const at::Tensor & other);} // namespace native} // namespace at1234567891011121314151617181920212223242526#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace meta {
TORCH_API at::Tensor leaky_relu(const at::Tensor & self, const at::Scalar & negative_slope=0.01);TORCH_API at::Tensor & leaky_relu_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & negative_slope=0.01);TORCH_API at::Tensor & leaky_relu_outf(const at::Tensor & self, const at::Scalar & negative_slope, at::Tensor & out);TORCH_API at::Tensor & leaky_relu_(at::Tensor & self, const at::Scalar & negative_slope=0.01);
} // namespace meta} // namespace at12345678910111213141516171819202122#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor & lift_fresh_copy_out(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor lift_fresh_copy(const at::Tensor & self);} // namespace native} // namespace at12345678910111213141516171819202122#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor linalg_det(const at::Tensor & A);TORCH_API at::Tensor & linalg_det_out(const at::Tensor & A, at::Tensor & out);} // namespace native} // namespace at123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Function.h
#include <ATen/Context.h>#include <ATen/DeviceGuard.h>#include <ATen/TensorUtils.h>#include <ATen/TracerMode.h>#include <ATen/core/Generator.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>
#include <ATen/ops/log_normal_ops.h>
namespace at {
// aten::log_normal.out(Tensor self, float mean=1, float std=2, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & log_normal_out(at::Tensor & out, const at::Tensor & self, double mean=1, double std=2, ::std::optional<at::Generator> generator=::std::nullopt) { return at::_ops::log_normal_out::call(self, mean, std, generator, out);}// aten::log_normal.out(Tensor self, float mean=1, float std=2, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & log_normal_outf(const at::Tensor & self, double mean, double std, ::std::optional<at::Generator> generator, at::Tensor & out) { return at::_ops::log_normal_out::call(self, mean, std, generator, out);}
// aten::log_normal(Tensor self, float mean=1, float std=2, *, Generator? generator=None) -> Tensorinline at::Tensor log_normal(const at::Tensor & self, double mean=1, double std=2, ::std::optional<at::Generator> generator=::std::nullopt) { return at::_ops::log_normal::call(self, mean, std, generator);}
}12345678910111213141516171819202122232425#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeimplicitautograd {
TORCH_API at::Tensor log_sigmoid(const at::Tensor & self);TORCH_API at::Tensor & log_sigmoid_out(at::Tensor & out, const at::Tensor & self);TORCH_API at::Tensor & log_sigmoid_outf(const at::Tensor & self, at::Tensor & out);
} // namespace compositeimplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API at::Tensor logical_and(const at::Tensor & self, const at::Tensor & other);TORCH_API at::Tensor & logical_and_(at::Tensor & self, const at::Tensor & other);
} // namespace compositeexplicitautograd} // namespace at123456789101112131415161718192021222324#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace cuda {
TORCH_API at::Tensor & masked_fill_(at::Tensor & self, const at::Tensor & mask, const at::Scalar & value);TORCH_API at::Tensor & masked_fill_(at::Tensor & self, const at::Tensor & mask, const at::Tensor & value);
} // namespace cuda} // namespace at1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API masked_fill__Scalar { using schema = at::Tensor & (at::Tensor &, const at::Tensor &, const at::Scalar &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill_.Scalar(Tensor(a!) self, Tensor mask, Scalar value) -> Tensor(a!)") static at::Tensor & call(at::Tensor & self, const at::Tensor & mask, const at::Scalar & value); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, const at::Tensor & mask, const at::Scalar & value);};
struct TORCH_API masked_fill_Scalar { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Scalar &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill.Scalar(Tensor self, Tensor mask, Scalar value) -> Tensor") static at::Tensor call(const at::Tensor & self, const at::Tensor & mask, const at::Scalar & value); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mask, const at::Scalar & value);};
struct TORCH_API masked_fill__Tensor { using schema = at::Tensor & (at::Tensor &, const at::Tensor &, const at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill_.Tensor(Tensor(a!) self, Tensor mask, Tensor value) -> Tensor(a!)") static at::Tensor & call(at::Tensor & self, const at::Tensor & mask, const at::Tensor & value); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, const at::Tensor & mask, const at::Tensor & value);};
struct TORCH_API masked_fill_Tensor { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill.Tensor(Tensor self, Tensor mask, Tensor value) -> Tensor") static at::Tensor call(const at::Tensor & self, const at::Tensor & mask, const at::Tensor & value); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mask, const at::Tensor & value);};
struct TORCH_API masked_fill_Scalar_out { using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Scalar &, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Scalar_out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill.Scalar_out(Tensor self, Tensor mask, Scalar value, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, const at::Tensor & mask, const at::Scalar & value, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mask, const at::Scalar & value, at::Tensor & out);};
struct TORCH_API masked_fill_Tensor_out { using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Tensor &, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::masked_fill") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor_out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "masked_fill.Tensor_out(Tensor self, Tensor mask, Tensor value, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, const at::Tensor & mask, const at::Tensor & value, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mask, const at::Tensor & value, at::Tensor & out);};
}} // namespace at::_ops123456789101112131415161718192021#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor matrix_H(const at::Tensor & self);} // namespace native} // namespace at123456789101112131415161718192021#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>
namespace at {namespace native {TORCH_API at::Tensor max_pool1d(const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride={}, at::IntArrayRef padding=0, at::IntArrayRef dilation=1, bool ceil_mode=false);} // namespace native} // namespace at123456789101112131415161718192021222324252627282930313233343536373839#pragma once
// @generated by torchgen/gen.py from Operator.h
#include <tuple>#include <vector>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {namespace _ops {
struct TORCH_API max_pool2d_with_indices_out { using schema = ::std::tuple<at::Tensor &,at::Tensor &> (const at::Tensor &, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, bool, at::Tensor &, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::max_pool2d_with_indices") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "max_pool2d_with_indices.out(Tensor self, int[2] kernel_size, int[2] stride=[], int[2] padding=0, int[2] dilation=1, bool ceil_mode=False, *, Tensor(a!) out, Tensor(b!) indices) -> (Tensor(a!), Tensor(b!))") static ::std::tuple<at::Tensor &,at::Tensor &> call(const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool ceil_mode, at::Tensor & out, at::Tensor & indices); static ::std::tuple<at::Tensor &,at::Tensor &> redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool ceil_mode, at::Tensor & out, at::Tensor & indices);};
struct TORCH_API max_pool2d_with_indices { using schema = ::std::tuple<at::Tensor,at::Tensor> (const at::Tensor &, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, bool); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::max_pool2d_with_indices") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "max_pool2d_with_indices(Tensor self, int[2] kernel_size, int[2] stride=[], int[2] padding=0, int[2] dilation=1, bool ceil_mode=False) -> (Tensor, Tensor)") static ::std::tuple<at::Tensor,at::Tensor> call(const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool ceil_mode); static ::std::tuple<at::Tensor,at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool ceil_mode);};
}} // namespace at::_ops12345678910111213141516171819202122232425#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautograd {
TORCH_API at::Tensor mean(const at::Tensor & self, ::std::optional<at::ScalarType> dtype=::std::nullopt);TORCH_API at::Tensor & mean_out(at::Tensor & out, const at::Tensor & self, ::std::optional<at::ScalarType> dtype=::std::nullopt);TORCH_API at::Tensor & mean_outf(const at::Tensor & self, ::std::optional<at::ScalarType> dtype, at::Tensor & out);
} // namespace compositeexplicitautograd} // namespace at1234567891011121314151617181920212223#pragma once// @generated by torchgen/gen.py from DispatchKeyFunction.h
// NB: The implementing C++ file is RegisterDispatchKey.cpp
// The only #includes we need are for custom classes that have defaults in the C++ API#include <c10/core/MemoryFormat.h>#include <c10/core/Scalar.h>#include <ATen/core/Reduction.h>
// Forward declarations of any types needed in the operator signatures.// We can't directly include these classes because it will cause circular include dependencies.// This file is included by TensorBody.h, which defines the Tensor class.#include <ATen/core/ATen_fwd.h>
namespace at {
namespace compositeexplicitautogradnonfunctional {
TORCH_API at::Tensor mean(const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim=false, ::std::optional<at::ScalarType> dtype=::std::nullopt);
} // namespace compositeexplicitautogradnonfunctional} // namespace at1234567891011121314151617181920212223#pragma once
// @generated by torchgen/gen.py from NativeFunction.h
#include <c10/core/Scalar.h>#include <c10/core/Storage.h>#include <c10/core/TensorOptions.h>#include <c10/util/Deprecated.h>#include <optional>#include <c10/core/QScheme.h>#include <ATen/core/Reduction.h>#include <ATen/core/Tensor.h>#include <tuple>#include <vector>#include <ATen/ops/minimum_meta.h>
namespace at {namespace native {struct TORCH_API structured_minimum_out : public at::meta::structured_minimum {void impl(const at::Tensor & self, const at::Tensor & other, const at::Tensor & out);};} // namespace native} // namespace atvllm/lib/python3.10/site-packages/torch/include/ATen/ops/_assert_scalar_native.hAdded+21
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Int_ops.hAdded+28
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_convert_indices_from_coo_to_csr_meta_dispatch.hAdded+25
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_cudnn_rnn_flatten_weight_cuda_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_embedding_bag.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_euclidean_dist_ops.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_maximum_native.hAdded+35
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_minimum_ops.hAdded+116
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sub_compositeexplicitautograd_dispatch.hAdded+34
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_histogramdd_from_bin_cts_compositeexplicitautograd_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_logcumsumexp_native.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_coo_tensor_unsafe_native.hAdded+21
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_log_softmax_ops.hAdded+61
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_semi_structured_apply.hAdded+30
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_stack.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_to_sparse_bsr_cuda_dispatch.hAdded+23
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_upsample_nearest_exact2d.hAdded+113
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/_validate_sparse_csc_tensor_args_compositeimplicitautograd_dispatch.hAdded+23
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/affine_grid_generator_backward_compositeimplicitautograd_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/arcsin_compositeimplicitautograd_dispatch.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/bincount_compositeexplicitautograd_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ceil_compositeexplicitautogradnonfunctional_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/digamma_meta.hAdded+27
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/expm1_native.hAdded+29
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/eye_compositeexplicitautograd_dispatch.hAdded+30
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/feature_alpha_dropout_ops.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/fft_hfft2_compositeimplicitautograd_dispatch.hAdded+28
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/frac_meta_dispatch.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/fractional_max_pool2d.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ger_compositeimplicitautograd_dispatch.hAdded+25
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/heaviside_cuda_dispatch.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/index_copy_cpu_dispatch.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/indices.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/isclose_ops.hAdded+28
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/isnan_ops.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/ldexp_native.hAdded+23
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/leaky_relu_meta_dispatch.hAdded+26
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/lift_fresh_copy_native.hAdded+22
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/linalg_det_native.hAdded+22
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/log_normal.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/log_sigmoid_compositeimplicitautograd_dispatch.hAdded+25
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/logical_and_compositeexplicitautograd_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/masked_fill_cuda_dispatch.hAdded+24
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/masked_fill_ops.hAdded+83
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/matrix_H_native.hAdded+21
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/max_pool1d_native.hAdded+21
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/max_pool2d_with_indices_ops.hAdded+39
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/mean_compositeexplicitautograd_dispatch.hAdded+25
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/mean_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
vllm/lib/python3.10/site-packages/torch/include/ATen/ops/minimum_native.hAdded+23