#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once // @generated by torchgen/gen.py from NativeFunction.h #include #include #include #include #include #include #include #include #include #include namespace at { namespace native { TORCH_API ::std::tuple native_dropout_out(const at::Tensor & input, double p, ::std::optional train, at::Tensor & out0, at::Tensor & out1); TORCH_API ::std::tuple native_dropout_cpu(const at::Tensor & input, double p, ::std::optional train); TORCH_API ::std::tuple native_dropout_cuda(const at::Tensor & input, double p, ::std::optional train); TORCH_API ::std::tuple native_dropout_nested(const at::Tensor & input, double p, ::std::optional train); } // namespace native } // namespace at #else #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined." #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)