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)
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_adaptive_avg_pool3d_backward.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_aminmax_compositeexplicitautograd_dispatch.hAdded+26
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Byte_ops.hAdded+28
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_conj_copy_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_convolution_mode_compositeimplicitautograd_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_cummin_helper.hAdded+30
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_dimI.hAdded+26
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foobar_cpu_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_erf_cuda_dispatch.hAdded+24
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sigmoid.hAdded+44
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sigmoid_ops.hAdded+50
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_zero_ops.hAdded+50
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_nested_from_padded_cpu_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_nested_view_from_buffer.hAdded+30
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_pack_padded_sequence_backward_native.hAdded+21
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_pad_circular_ops.hAdded+28
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_addmm_ops.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_thnn_fused_gru_cell_backward_native.hAdded+22
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_thnn_fused_lstm_cell_backward_native.hAdded+21
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/adaptive_max_pool2d_backward_ops.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/adjoint_native.hAdded+21
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmax.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmax_ops.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmin_cuda_dispatch.hAdded+25
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/bitwise_not_ops.hAdded+50
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/clamp_min_cpu_dispatch.hAdded+30
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/conv_tbc_compositeexplicitautograd_dispatch.hAdded+25
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/convolution_compositeexplicitautograd_dispatch.hAdded+28
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/cov_ops.hAdded+28
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/detach_copy_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/diagonal_scatter_compositeexplicitautograd_dispatch.hAdded+25
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/elu_backward_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/empty_compositeimplicitautograd_dispatch.hAdded+26
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/fake_quantize_per_tensor_affine_compositeimplicitautograd_dispatch.hAdded+24
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/flip_compositeexplicitautograd_dispatch.hAdded+24
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/fractional_max_pool2d_cpu_dispatch.hAdded+25
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/glu_backward_jvp_cuda_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/grid_sampler_3d_cuda_dispatch.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/gru_cell_ops.hAdded+28
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hardsigmoid_compositeexplicitautogradnonfunctional_dispatch.hAdded+24
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hardsigmoid_cpu_dispatch.hAdded+26
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hstack.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/isclose.hAdded+30
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/linalg_vecdot_ops.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/logical_not_native.hAdded+23
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/mkldnn_reorder_conv2d_weight.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/mse_loss_cuda_dispatch.hAdded+25
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/native_dropout_backward.hAdded+39
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/native_group_norm_backward.hAdded+91
- openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/qr_ops.hAdded+39
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 <c10/util/Optional.h>
#include <ATen/ops/_adaptive_avg_pool3d_backward_ops.h>
namespace at {
// aten::_adaptive_avg_pool3d_backward(Tensor grad_output, Tensor self) -> Tensorinline at::Tensor _adaptive_avg_pool3d_backward(const at::Tensor & grad_output, const at::Tensor & self) { return at::_ops::_adaptive_avg_pool3d_backward::call(grad_output, self);}
// aten::_adaptive_avg_pool3d_backward.out(Tensor grad_output, Tensor self, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _adaptive_avg_pool3d_backward_out(at::Tensor & out, const at::Tensor & grad_output, const at::Tensor & self) { return at::_ops::_adaptive_avg_pool3d_backward_out::call(grad_output, self, out);}// aten::_adaptive_avg_pool3d_backward.out(Tensor grad_output, Tensor self, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & _adaptive_avg_pool3d_backward_outf(const at::Tensor & grad_output, const at::Tensor & self, at::Tensor & out) { return at::_ops::_adaptive_avg_pool3d_backward_out::call(grad_output, self, out);}
}1234567891011121314151617181920212223242526#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::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self);TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, at::Tensor & out0, at::Tensor & out1);TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self, int64_t dim, bool keepdim=false);TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, int64_t dim, bool keepdim, at::Tensor & out0, at::Tensor & out1);
} // namespace compositeexplicitautograd} // 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_Byte { 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_Byte") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_cast_Byte(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::_ops1234567891011121314151617181920212223#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 _conj_copy(const at::Tensor & self);
} // namespace compositeexplicitautogradnonfunctional} // 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 compositeimplicitautograd {
TORCH_API at::Tensor _convolution_mode(const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, c10::string_view padding, at::IntArrayRef dilation, int64_t groups);
} // namespace compositeimplicitautograd} // namespace at123456789101112131415161718192021222324252627282930#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 <c10/util/Optional.h>
#include <ATen/ops/_cummin_helper_ops.h>
namespace at {
// aten::_cummin_helper(Tensor self, Tensor(a!) values, Tensor(b!) indices, int dim) -> ()inline void _cummin_helper(const at::Tensor & self, at::Tensor & values, at::Tensor & indices, int64_t dim) { return at::_ops::_cummin_helper::call(self, values, indices, dim);}
}1234567891011121314151617181920212223242526#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 <c10/util/Optional.h>
#include <ATen/ops/_dimI_ops.h>
namespace at {
}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 cpu {
TORCH_API at::Tensor _foobar(const at::Tensor & self, bool arg1=true, bool arg2=true, bool arg3=true);
} // namespace cpu} // 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 ::std::vector<at::Tensor> _foreach_erf(at::TensorList self);TORCH_API void _foreach_erf_(at::TensorList self);
} // namespace cuda} // namespace at1234567891011121314151617181920212223242526272829303132333435363738394041424344#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 <c10/util/Optional.h>
#include <ATen/ops/_foreach_sigmoid_ops.h>
namespace at {
// aten::_foreach_sigmoid(Tensor[] self) -> Tensor[]inline ::std::vector<at::Tensor> _foreach_sigmoid(at::TensorList self) { return at::_ops::_foreach_sigmoid::call(self);}
// aten::_foreach_sigmoid_(Tensor(a!)[] self) -> ()inline void _foreach_sigmoid_(at::TensorList self) { return at::_ops::_foreach_sigmoid_::call(self);}
// aten::_foreach_sigmoid.out(Tensor[] self, *, Tensor(a!)[] out) -> ()inline void _foreach_sigmoid_out(at::TensorList out, at::TensorList self) { return at::_ops::_foreach_sigmoid_out::call(self, out);}// aten::_foreach_sigmoid.out(Tensor[] self, *, Tensor(a!)[] out) -> ()inline void _foreach_sigmoid_outf(at::TensorList self, at::TensorList out) { return at::_ops::_foreach_sigmoid_out::call(self, out);}
}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950#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_sigmoid { using schema = ::std::vector<at::Tensor> (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_sigmoid") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_sigmoid(Tensor[] self) -> Tensor[]") static ::std::vector<at::Tensor> call(at::TensorList self); static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);};
struct TORCH_API _foreach_sigmoid_ { using schema = void (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_sigmoid_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_sigmoid_(Tensor(a!)[] self) -> ()") static void call(at::TensorList self); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);};
struct TORCH_API _foreach_sigmoid_out { 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_sigmoid") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_sigmoid.out(Tensor[] self, *, Tensor(a!)[] out) -> ()") static void call(at::TensorList self, at::TensorList out); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);};
}} // namespace at::_ops1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950#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_zero_ { using schema = void (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_zero_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_zero_(Tensor(a!)[] self) -> ()") static void call(at::TensorList self); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);};
struct TORCH_API _foreach_zero_out { 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_zero") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_zero.out(Tensor[] self, *, Tensor(a!)[] out) -> ()") static void call(at::TensorList self, at::TensorList out); static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out);};
struct TORCH_API _foreach_zero { using schema = ::std::vector<at::Tensor> (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_zero") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_zero(Tensor[] self) -> Tensor[] self_out") static ::std::vector<at::Tensor> call(at::TensorList self); static ::std::vector<at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self);};
}} // namespace at::_ops1234567891011121314151617181920212223#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 _nested_from_padded(const at::Tensor & padded, const at::Tensor & cpu_nested_shape_example, bool fuse_transform_0213=false);
} // namespace cpu} // namespace at123456789101112131415161718192021222324252627282930#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 <c10/util/Optional.h>
#include <ATen/ops/_nested_view_from_buffer_ops.h>
namespace at {
// aten::_nested_view_from_buffer(Tensor(a) self, Tensor nested_size, Tensor nested_strides, int[] offsets) -> Tensor(a)inline at::Tensor _nested_view_from_buffer(const at::Tensor & self, const at::Tensor & nested_size, const at::Tensor & nested_strides, at::IntArrayRef offsets) { return at::_ops::_nested_view_from_buffer::call(self, nested_size, nested_strides, offsets);}
}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 <c10/util/Optional.h>#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 _pack_padded_sequence_backward_symint(const at::Tensor & grad, c10::SymIntArrayRef input_size, const at::Tensor & batch_sizes, bool batch_first);} // 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 _pad_circular { using schema = at::Tensor (const at::Tensor &, c10::SymIntArrayRef); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_pad_circular") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_pad_circular(Tensor self, SymInt[] pad) -> Tensor") static at::Tensor call(const at::Tensor & self, c10::SymIntArrayRef pad); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::SymIntArrayRef pad);};
}} // 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 _sparse_addmm { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Scalar &, 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::_sparse_addmm") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_addmm(Tensor self, Tensor mat1, Tensor mat2, *, Scalar beta=1, Scalar alpha=1) -> Tensor") static at::Tensor call(const at::Tensor & self, const at::Tensor & mat1, const at::Tensor & mat2, const at::Scalar & beta, const at::Scalar & alpha); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mat1, const at::Tensor & mat2, const at::Scalar & beta, const at::Scalar & alpha);};
struct TORCH_API _sparse_addmm_out { using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Scalar &, 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::_sparse_addmm") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sparse_addmm.out(Tensor self, Tensor mat1, Tensor mat2, *, Scalar beta=1, Scalar alpha=1, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, const at::Tensor & mat1, const at::Tensor & mat2, const at::Scalar & beta, const at::Scalar & alpha, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & mat1, const at::Tensor & mat2, const at::Scalar & beta, const at::Scalar & alpha, at::Tensor & out);};
}} // namespace at::_ops12345678910111213141516171819202122#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 <c10/util/Optional.h>#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::tuple<at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &> _thnn_fused_gru_cell_backward_out(const at::Tensor & grad_hy, const at::Tensor & workspace, bool has_bias, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, at::Tensor & out3, at::Tensor & out4);TORCH_API ::std::tuple<at::Tensor,at::Tensor,at::Tensor,at::Tensor,at::Tensor> _thnn_fused_gru_cell_backward_cuda(const at::Tensor & grad_hy, const at::Tensor & workspace, bool has_bias);} // 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 <c10/util/Optional.h>#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::tuple<at::Tensor,at::Tensor,at::Tensor,at::Tensor,at::Tensor> _thnn_fused_lstm_cell_backward(const c10::optional<at::Tensor> & grad_hy, const c10::optional<at::Tensor> & grad_cy, const at::Tensor & cx, const at::Tensor & cy, const at::Tensor & workspace, bool has_bias);} // 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 adaptive_max_pool2d_backward_grad_input { 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::adaptive_max_pool2d_backward") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "grad_input") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "adaptive_max_pool2d_backward.grad_input(Tensor grad_output, Tensor self, Tensor indices, *, Tensor(a!) grad_input) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & indices, at::Tensor & grad_input); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & indices, at::Tensor & grad_input);};
struct TORCH_API adaptive_max_pool2d_backward { 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::adaptive_max_pool2d_backward") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "adaptive_max_pool2d_backward(Tensor grad_output, Tensor self, Tensor indices) -> Tensor") static at::Tensor call(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & indices); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & indices);};
}} // 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 <c10/util/Optional.h>#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 adjoint(const at::Tensor & self);} // 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 <c10/util/Optional.h>
#include <ATen/ops/argmax_ops.h>
namespace at {
// aten::argmax(Tensor self, int? dim=None, bool keepdim=False) -> Tensorinline at::Tensor argmax(const at::Tensor & self, c10::optional<int64_t> dim=c10::nullopt, bool keepdim=false) { return at::_ops::argmax::call(self, dim, keepdim);}
// aten::argmax.out(Tensor self, int? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & argmax_out(at::Tensor & out, const at::Tensor & self, c10::optional<int64_t> dim=c10::nullopt, bool keepdim=false) { return at::_ops::argmax_out::call(self, dim, keepdim, out);}// aten::argmax.out(Tensor self, int? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & argmax_outf(const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim, at::Tensor & out) { return at::_ops::argmax_out::call(self, dim, keepdim, out);}
}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 argmax { using schema = at::Tensor (const at::Tensor &, c10::optional<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::argmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "argmax(Tensor self, int? dim=None, bool keepdim=False) -> Tensor") static at::Tensor call(const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim);};
struct TORCH_API argmax_out { using schema = at::Tensor & (const at::Tensor &, c10::optional<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::argmax") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "argmax.out(Tensor self, int? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim, at::Tensor & out);};
}} // 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 cuda {
TORCH_API at::Tensor argmin(const at::Tensor & self, c10::optional<int64_t> dim=c10::nullopt, bool keepdim=false);TORCH_API at::Tensor & argmin_out(at::Tensor & out, const at::Tensor & self, c10::optional<int64_t> dim=c10::nullopt, bool keepdim=false);TORCH_API at::Tensor & argmin_outf(const at::Tensor & self, c10::optional<int64_t> dim, bool keepdim, at::Tensor & out);
} // namespace cuda} // namespace at1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950#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 bitwise_not { 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::bitwise_not") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "bitwise_not(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 bitwise_not_ { using schema = 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::bitwise_not_") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "bitwise_not_(Tensor(a!) self) -> Tensor(a!)") static at::Tensor & call(at::Tensor & self); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self);};
struct TORCH_API bitwise_not_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::bitwise_not") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "bitwise_not.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::_ops123456789101112131415161718192021222324252627282930#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 clamp_min(const at::Tensor & self, const at::Scalar & min);TORCH_API at::Tensor & clamp_min_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & min);TORCH_API at::Tensor & clamp_min_outf(const at::Tensor & self, const at::Scalar & min, at::Tensor & out);TORCH_API at::Tensor & clamp_min_(at::Tensor & self, const at::Scalar & min);TORCH_API at::Tensor clamp_min(const at::Tensor & self, const at::Tensor & min);TORCH_API at::Tensor & clamp_min_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & min);TORCH_API at::Tensor & clamp_min_outf(const at::Tensor & self, const at::Tensor & min, at::Tensor & out);TORCH_API at::Tensor & clamp_min_(at::Tensor & self, const at::Tensor & min);
} // namespace cpu} // namespace at12345678910111213141516171819202122232425#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 conv_tbc(const at::Tensor & self, const at::Tensor & weight, const at::Tensor & bias, int64_t pad=0);TORCH_API at::Tensor & conv_tbc_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & weight, const at::Tensor & bias, int64_t pad=0);TORCH_API at::Tensor & conv_tbc_outf(const at::Tensor & self, const at::Tensor & weight, const at::Tensor & bias, int64_t pad, at::Tensor & out);
} // namespace compositeexplicitautograd} // namespace at12345678910111213141516171819202122232425262728#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 convolution(const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups);TORCH_API at::Tensor convolution_symint(const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, c10::SymIntArrayRef padding, at::IntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, int64_t groups);TORCH_API at::Tensor & convolution_out(at::Tensor & out, const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups);TORCH_API at::Tensor & convolution_outf(const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, at::Tensor & out);TORCH_API at::Tensor & convolution_symint_out(at::Tensor & out, const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, c10::SymIntArrayRef padding, at::IntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, int64_t groups);TORCH_API at::Tensor & convolution_symint_outf(const at::Tensor & input, const at::Tensor & weight, const c10::optional<at::Tensor> & bias, at::IntArrayRef stride, c10::SymIntArrayRef padding, at::IntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, int64_t groups, at::Tensor & out);
} // namespace compositeexplicitautograd} // 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 cov { using schema = at::Tensor (const at::Tensor &, int64_t, const c10::optional<at::Tensor> &, const c10::optional<at::Tensor> &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::cov") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "cov(Tensor self, *, int correction=1, Tensor? fweights=None, Tensor? aweights=None) -> Tensor") static at::Tensor call(const at::Tensor & self, int64_t correction, const c10::optional<at::Tensor> & fweights, const c10::optional<at::Tensor> & aweights); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, int64_t correction, const c10::optional<at::Tensor> & fweights, const c10::optional<at::Tensor> & aweights);};
}} // namespace at::_ops1234567891011121314151617181920212223#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 detach_copy(const at::Tensor & self);
} // namespace compositeexplicitautogradnonfunctional} // namespace at12345678910111213141516171819202122232425#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 diagonal_scatter(const at::Tensor & self, const at::Tensor & src, int64_t offset=0, int64_t dim1=0, int64_t dim2=1);TORCH_API at::Tensor & diagonal_scatter_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & src, int64_t offset=0, int64_t dim1=0, int64_t dim2=1);TORCH_API at::Tensor & diagonal_scatter_outf(const at::Tensor & self, const at::Tensor & src, int64_t offset, int64_t dim1, int64_t dim2, 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 elu_backward(const at::Tensor & grad_output, const at::Scalar & alpha, const at::Scalar & scale, const at::Scalar & input_scale, bool is_result, const at::Tensor & self_or_result);
} // namespace compositeexplicitautogradnonfunctional} // 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 & empty_out(at::Tensor & out, at::IntArrayRef size, c10::optional<at::MemoryFormat> memory_format=c10::nullopt);TORCH_API at::Tensor & empty_outf(at::IntArrayRef size, c10::optional<at::MemoryFormat> memory_format, at::Tensor & out);TORCH_API at::Tensor & empty_symint_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional<at::MemoryFormat> memory_format=c10::nullopt);TORCH_API at::Tensor & empty_symint_outf(c10::SymIntArrayRef size, c10::optional<at::MemoryFormat> memory_format, 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 compositeimplicitautograd {
TORCH_API at::Tensor fake_quantize_per_tensor_affine(const at::Tensor & self, double scale, int64_t zero_point, int64_t quant_min, int64_t quant_max);TORCH_API at::Tensor fake_quantize_per_tensor_affine(const at::Tensor & self, const at::Tensor & scale, const at::Tensor & zero_point, int64_t quant_min, int64_t quant_max);
} // 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 & flip_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef dims);TORCH_API at::Tensor & flip_outf(const at::Tensor & self, at::IntArrayRef dims, at::Tensor & out);
} // namespace compositeexplicitautograd} // namespace at12345678910111213141516171819202122232425#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 ::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);TORCH_API ::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);TORCH_API ::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);
} // namespace cpu} // 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 cuda {
TORCH_API at::Tensor glu_backward_jvp(const at::Tensor & grad_x, const at::Tensor & grad_glu, const at::Tensor & x, const at::Tensor & dgrad_glu, const at::Tensor & dx, int64_t dim);
} // namespace cuda} // 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 cuda {
TORCH_API at::Tensor grid_sampler_3d(const at::Tensor & input, const at::Tensor & grid, int64_t interpolation_mode, int64_t padding_mode, bool align_corners);
} // namespace cuda} // 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 gru_cell { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const c10::optional<at::Tensor> &, const c10::optional<at::Tensor> &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::gru_cell") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "gru_cell(Tensor input, Tensor hx, Tensor w_ih, Tensor w_hh, Tensor? b_ih=None, Tensor? b_hh=None) -> Tensor") static at::Tensor call(const at::Tensor & input, const at::Tensor & hx, const at::Tensor & w_ih, const at::Tensor & w_hh, const c10::optional<at::Tensor> & b_ih, const c10::optional<at::Tensor> & b_hh); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & input, const at::Tensor & hx, const at::Tensor & w_ih, const at::Tensor & w_hh, const c10::optional<at::Tensor> & b_ih, const c10::optional<at::Tensor> & b_hh);};
}} // namespace at::_ops123456789101112131415161718192021222324#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 hardsigmoid(const at::Tensor & self);TORCH_API at::Tensor & hardsigmoid_(at::Tensor & self);
} // namespace compositeexplicitautogradnonfunctional} // 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 hardsigmoid(const at::Tensor & self);TORCH_API at::Tensor & hardsigmoid_out(at::Tensor & out, const at::Tensor & self);TORCH_API at::Tensor & hardsigmoid_outf(const at::Tensor & self, at::Tensor & out);TORCH_API at::Tensor & hardsigmoid_(at::Tensor & self);
} // namespace cpu} // 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 <c10/util/Optional.h>
#include <ATen/ops/hstack_ops.h>
namespace at {
// aten::hstack(Tensor[] tensors) -> Tensorinline at::Tensor hstack(at::TensorList tensors) { return at::_ops::hstack::call(tensors);}
// aten::hstack.out(Tensor[] tensors, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & hstack_out(at::Tensor & out, at::TensorList tensors) { return at::_ops::hstack_out::call(tensors, out);}// aten::hstack.out(Tensor[] tensors, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & hstack_outf(at::TensorList tensors, at::Tensor & out) { return at::_ops::hstack_out::call(tensors, out);}
}123456789101112131415161718192021222324252627282930#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 <c10/util/Optional.h>
#include <ATen/ops/isclose_ops.h>
namespace at {
// aten::isclose(Tensor self, Tensor other, float rtol=1e-05, float atol=1e-08, bool equal_nan=False) -> Tensorinline at::Tensor isclose(const at::Tensor & self, const at::Tensor & other, double rtol=1e-05, double atol=1e-08, bool equal_nan=false) { return at::_ops::isclose::call(self, other, rtol, atol, equal_nan);}
}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 linalg_vecdot { using schema = at::Tensor (const at::Tensor &, const at::Tensor &, int64_t); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::linalg_vecdot") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "linalg_vecdot(Tensor x, Tensor y, *, int dim=-1) -> Tensor") static at::Tensor call(const at::Tensor & x, const at::Tensor & y, int64_t dim); static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Tensor & y, int64_t dim);};
struct TORCH_API linalg_vecdot_out { using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, int64_t, at::Tensor &); using ptr_schema = schema*; // See Note [static constexpr char* members for windows NVCC] STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::linalg_vecdot") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "linalg_vecdot.out(Tensor x, Tensor y, *, int dim=-1, Tensor(a!) out) -> Tensor(a!)") static at::Tensor & call(const at::Tensor & x, const at::Tensor & y, int64_t dim, at::Tensor & out); static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Tensor & y, int64_t dim, 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 <c10/util/Optional.h>#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 logical_not(const at::Tensor & self);TORCH_API at::Tensor & logical_not_(at::Tensor & self);TORCH_API at::Tensor & logical_not_out(const at::Tensor & self, 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 <c10/util/Optional.h>
#include <ATen/ops/mkldnn_reorder_conv2d_weight_ops.h>
namespace at {
// aten::mkldnn_reorder_conv2d_weight(Tensor self, int[2] padding=0, int[2] stride=1, int[2] dilation=1, int groups=1, int[]? input_size=None) -> Tensorinline at::Tensor mkldnn_reorder_conv2d_weight(const at::Tensor & self, at::IntArrayRef padding=0, at::IntArrayRef stride=1, at::IntArrayRef dilation=1, int64_t groups=1, at::OptionalIntArrayRef input_size=c10::nullopt) { return at::_ops::mkldnn_reorder_conv2d_weight::call(self, padding, stride, dilation, groups, input_size);}
// aten::mkldnn_reorder_conv2d_weight.out(Tensor self, int[2] padding=0, int[2] stride=1, int[2] dilation=1, int groups=1, int[]? input_size=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & mkldnn_reorder_conv2d_weight_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef padding=0, at::IntArrayRef stride=1, at::IntArrayRef dilation=1, int64_t groups=1, at::OptionalIntArrayRef input_size=c10::nullopt) { return at::_ops::mkldnn_reorder_conv2d_weight_out::call(self, padding, stride, dilation, groups, input_size, out);}// aten::mkldnn_reorder_conv2d_weight.out(Tensor self, int[2] padding=0, int[2] stride=1, int[2] dilation=1, int groups=1, int[]? input_size=None, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & mkldnn_reorder_conv2d_weight_outf(const at::Tensor & self, at::IntArrayRef padding, at::IntArrayRef stride, at::IntArrayRef dilation, int64_t groups, at::OptionalIntArrayRef input_size, at::Tensor & out) { return at::_ops::mkldnn_reorder_conv2d_weight_out::call(self, padding, stride, dilation, groups, input_size, out);}
}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 cuda {
TORCH_API at::Tensor mse_loss(const at::Tensor & self, const at::Tensor & target, int64_t reduction=at::Reduction::Mean);TORCH_API at::Tensor & mse_loss_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & target, int64_t reduction=at::Reduction::Mean);TORCH_API at::Tensor & mse_loss_outf(const at::Tensor & self, const at::Tensor & target, int64_t reduction, at::Tensor & out);
} // 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 <c10/util/Optional.h>
#include <ATen/ops/native_dropout_backward_ops.h>
namespace at {
// aten::native_dropout_backward(Tensor grad_output, Tensor mask, float scale) -> Tensorinline at::Tensor native_dropout_backward(const at::Tensor & grad_output, const at::Tensor & mask, double scale) { return at::_ops::native_dropout_backward::call(grad_output, mask, scale);}
// aten::native_dropout_backward.out(Tensor grad_output, Tensor mask, float scale, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & native_dropout_backward_out(at::Tensor & out, const at::Tensor & grad_output, const at::Tensor & mask, double scale) { return at::_ops::native_dropout_backward_out::call(grad_output, mask, scale, out);}// aten::native_dropout_backward.out(Tensor grad_output, Tensor mask, float scale, *, Tensor(a!) out) -> Tensor(a!)inline at::Tensor & native_dropout_backward_outf(const at::Tensor & grad_output, const at::Tensor & mask, double scale, at::Tensor & out) { return at::_ops::native_dropout_backward_out::call(grad_output, mask, scale, out);}
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091#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 <c10/util/Optional.h>
#include <ATen/ops/native_group_norm_backward_ops.h>
namespace at {
// aten::native_group_norm_backward(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask) -> (Tensor, Tensor, Tensor)inline ::std::tuple<at::Tensor,at::Tensor,at::Tensor> native_group_norm_backward(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> ::std::tuple<at::Tensor,at::Tensor,at::Tensor> native_group_norm_backward(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask); }}
// aten::native_group_norm_backward(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask) -> (Tensor, Tensor, Tensor)inline ::std::tuple<at::Tensor,at::Tensor,at::Tensor> native_group_norm_backward_symint(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> ::std::tuple<at::Tensor,at::Tensor,at::Tensor> native_group_norm_backward(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask); }}
// aten::native_group_norm_backward.out(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2); }}
// aten::native_group_norm_backward.out(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_outf(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, int64_t>::value>> ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_outf(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, int64_t N, int64_t C, int64_t HxW, int64_t group, ::std::array<bool,3> output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2); }}
// aten::native_group_norm_backward.out(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_symint_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2); }}
// aten::native_group_norm_backward.out(Tensor grad_out, Tensor input, Tensor mean, Tensor rstd, Tensor? weight, SymInt N, SymInt C, SymInt HxW, int group, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!))inline ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_symint_outf(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2);}namespace symint { template <typename T, typename = std::enable_if_t<std::is_same<T, c10::SymInt>::value>> ::std::tuple<at::Tensor &,at::Tensor &,at::Tensor &> native_group_norm_backward_outf(const at::Tensor & grad_out, const at::Tensor & input, const at::Tensor & mean, const at::Tensor & rstd, const c10::optional<at::Tensor> & weight, c10::SymInt N, c10::SymInt C, c10::SymInt HxW, int64_t group, ::std::array<bool,3> output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { return at::_ops::native_group_norm_backward_out::call(grad_out, input, mean, rstd, weight, N, C, HxW, group, output_mask, out0, out1, out2); }}
}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 qr_Q { using schema = ::std::tuple<at::Tensor &,at::Tensor &> (const at::Tensor &, 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::qr") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Q") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "qr.Q(Tensor self, bool some=True, *, Tensor(a!) Q, Tensor(b!) R) -> (Tensor(a!) Q, Tensor(b!) R)") static ::std::tuple<at::Tensor &,at::Tensor &> call(const at::Tensor & self, bool some, at::Tensor & Q, at::Tensor & R); static ::std::tuple<at::Tensor &,at::Tensor &> redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, bool some, at::Tensor & Q, at::Tensor & R);};
struct TORCH_API qr { using schema = ::std::tuple<at::Tensor,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::qr") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "qr(Tensor self, bool some=True) -> (Tensor Q, Tensor R)") static ::std::tuple<at::Tensor,at::Tensor> call(const at::Tensor & self, bool some); static ::std::tuple<at::Tensor,at::Tensor> redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, bool some);};
}} // namespace at::_opsopenflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_adaptive_avg_pool3d_backward.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_aminmax_compositeexplicitautograd_dispatch.hAdded+26
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Byte_ops.hAdded+28
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_conj_copy_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_convolution_mode_compositeimplicitautograd_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_cummin_helper.hAdded+30
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_dimI.hAdded+26
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foobar_cpu_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_erf_cuda_dispatch.hAdded+24
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sigmoid.hAdded+44
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_sigmoid_ops.hAdded+50
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_zero_ops.hAdded+50
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_nested_from_padded_cpu_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_nested_view_from_buffer.hAdded+30
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_pack_padded_sequence_backward_native.hAdded+21
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_pad_circular_ops.hAdded+28
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_sparse_addmm_ops.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_thnn_fused_gru_cell_backward_native.hAdded+22
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/_thnn_fused_lstm_cell_backward_native.hAdded+21
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/adaptive_max_pool2d_backward_ops.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/adjoint_native.hAdded+21
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmax.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmax_ops.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/argmin_cuda_dispatch.hAdded+25
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/bitwise_not_ops.hAdded+50
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/clamp_min_cpu_dispatch.hAdded+30
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/conv_tbc_compositeexplicitautograd_dispatch.hAdded+25
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/convolution_compositeexplicitautograd_dispatch.hAdded+28
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/cov_ops.hAdded+28
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/detach_copy_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/diagonal_scatter_compositeexplicitautograd_dispatch.hAdded+25
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/elu_backward_compositeexplicitautogradnonfunctional_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/empty_compositeimplicitautograd_dispatch.hAdded+26
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/fake_quantize_per_tensor_affine_compositeimplicitautograd_dispatch.hAdded+24
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/flip_compositeexplicitautograd_dispatch.hAdded+24
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/fractional_max_pool2d_cpu_dispatch.hAdded+25
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/glu_backward_jvp_cuda_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/grid_sampler_3d_cuda_dispatch.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/gru_cell_ops.hAdded+28
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hardsigmoid_compositeexplicitautogradnonfunctional_dispatch.hAdded+24
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hardsigmoid_cpu_dispatch.hAdded+26
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/hstack.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/isclose.hAdded+30
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/linalg_vecdot_ops.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/logical_not_native.hAdded+23
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/mkldnn_reorder_conv2d_weight.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/mse_loss_cuda_dispatch.hAdded+25
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/native_dropout_backward.hAdded+39
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/native_group_norm_backward.hAdded+91
openflamingo/lib/python3.10/site-packages/torch/include/ATen/ops/qr_ops.hAdded+39