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