#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once namespace at::native::mps { void binary_op_kernel( const std::string func_name, const Tensor& input, const Tensor& other, const Tensor& output, const std::optional alpha = std::nullopt); } // namespace at::native::mps #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)