123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- #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 normal_ {
- using schema = at::Tensor & (at::Tensor &, double, double, c10::optional<at::Generator>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal_")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal_(Tensor(a!) self, float mean=0, float std=1, *, Generator? generator=None) -> Tensor(a!)")
- static at::Tensor & call(at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator);
- };
- struct TORCH_API normal_functional {
- using schema = at::Tensor (const at::Tensor &, double, double, c10::optional<at::Generator>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal_functional")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal_functional(Tensor self, float mean=0, float std=1, *, Generator? generator=None) -> Tensor")
- static at::Tensor call(const at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator);
- static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator);
- };
- struct TORCH_API normal_Tensor_float_out {
- using schema = at::Tensor & (const at::Tensor &, double, c10::optional<at::Generator>, at::Tensor &);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor_float_out")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.Tensor_float_out(Tensor mean, float std=1, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)")
- static at::Tensor & call(const at::Tensor & mean, double std, c10::optional<at::Generator> generator, at::Tensor & out);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & mean, double std, c10::optional<at::Generator> generator, at::Tensor & out);
- };
- struct TORCH_API normal_Tensor_float {
- using schema = at::Tensor (const at::Tensor &, double, c10::optional<at::Generator>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor_float")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.Tensor_float(Tensor mean, float std=1, *, Generator? generator=None) -> Tensor")
- static at::Tensor call(const at::Tensor & mean, double std, c10::optional<at::Generator> generator);
- static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & mean, double std, c10::optional<at::Generator> generator);
- };
- struct TORCH_API normal_float_Tensor_out {
- using schema = at::Tensor & (double, const at::Tensor &, c10::optional<at::Generator>, at::Tensor &);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "float_Tensor_out")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.float_Tensor_out(float mean, Tensor std, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)")
- static at::Tensor & call(double mean, const at::Tensor & std, c10::optional<at::Generator> generator, at::Tensor & out);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, double mean, const at::Tensor & std, c10::optional<at::Generator> generator, at::Tensor & out);
- };
- struct TORCH_API normal_float_Tensor {
- using schema = at::Tensor (double, const at::Tensor &, c10::optional<at::Generator>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "float_Tensor")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.float_Tensor(float mean, Tensor std, *, Generator? generator=None) -> Tensor")
- static at::Tensor call(double mean, const at::Tensor & std, c10::optional<at::Generator> generator);
- static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, double mean, const at::Tensor & std, c10::optional<at::Generator> generator);
- };
- struct TORCH_API normal_Tensor_Tensor_out {
- using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, c10::optional<at::Generator>, at::Tensor &);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor_Tensor_out")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.Tensor_Tensor_out(Tensor mean, Tensor std, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)")
- static at::Tensor & call(const at::Tensor & mean, const at::Tensor & std, c10::optional<at::Generator> generator, at::Tensor & out);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & mean, const at::Tensor & std, c10::optional<at::Generator> generator, at::Tensor & out);
- };
- struct TORCH_API normal_Tensor_Tensor {
- using schema = at::Tensor (const at::Tensor &, const at::Tensor &, c10::optional<at::Generator>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor_Tensor")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.Tensor_Tensor(Tensor mean, Tensor std, *, Generator? generator=None) -> Tensor")
- static at::Tensor call(const at::Tensor & mean, const at::Tensor & std, c10::optional<at::Generator> generator);
- static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & mean, const at::Tensor & std, c10::optional<at::Generator> generator);
- };
- struct TORCH_API normal_float_float {
- using schema = at::Tensor (double, double, c10::SymIntArrayRef, c10::optional<at::Generator>, c10::optional<at::ScalarType>, c10::optional<at::Layout>, c10::optional<at::Device>, c10::optional<bool>);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "float_float")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.float_float(float mean, float std, SymInt[] size, *, Generator? generator=None, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor")
- static at::Tensor call(double mean, double std, c10::SymIntArrayRef size, c10::optional<at::Generator> generator, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory);
- static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, double mean, double std, c10::SymIntArrayRef size, c10::optional<at::Generator> generator, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory);
- };
- struct TORCH_API normal_float_float_out {
- using schema = at::Tensor & (double, double, c10::SymIntArrayRef, c10::optional<at::Generator>, at::Tensor &);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "float_float_out")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.float_float_out(float mean, float std, SymInt[] size, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)")
- static at::Tensor & call(double mean, double std, c10::SymIntArrayRef size, c10::optional<at::Generator> generator, at::Tensor & out);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, double mean, double std, c10::SymIntArrayRef size, c10::optional<at::Generator> generator, at::Tensor & out);
- };
- struct TORCH_API normal_out {
- using schema = at::Tensor & (const at::Tensor &, double, double, c10::optional<at::Generator>, at::Tensor &);
- using ptr_schema = schema*;
- // See Note [static constexpr char* members for windows NVCC]
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::normal")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out")
- STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "normal.out(Tensor self, float mean=0, float std=1, *, Generator? generator=None, Tensor(a!) out) -> Tensor(a!)")
- static at::Tensor & call(const at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator, at::Tensor & out);
- static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, double mean, double std, c10::optional<at::Generator> generator, at::Tensor & out);
- };
- }} // namespace at::_ops
|