#pragma once #include #include #if AT_MKLDNN_ENABLED() namespace at { namespace native { C10_API Tensor mkldnn_convolution_pointwise( const Tensor& input_t, const Tensor& weight_t, const std::optional& bias_opt, IntArrayRef padding, IntArrayRef stride, IntArrayRef dilation, int64_t groups, std::string_view attr, torch::List> scalars, std::optional algorithm); C10_API Tensor mkldnn_convolution_pointwise_binary( const Tensor& input_t, const Tensor& other_t, const Tensor& weight_t, const std::optional& bias_opt, IntArrayRef padding, IntArrayRef stride, IntArrayRef dilation, int64_t groups, std::string_view binary_attr, std::optional alpha, std::optional unary_attr, torch::List> unary_scalars, std::optional unary_algorithm); C10_API Tensor& mkldnn_convolution_pointwise_binary_( Tensor& other_t, const Tensor& input_t, const Tensor& weight_t, const std::optional& bias_opt, IntArrayRef padding, IntArrayRef stride, IntArrayRef dilation, int64_t groups, std::string_view binary_attr, std::optional alpha, std::optional unary_attr, torch::List> unary_scalars, std::optional unary_algorithm); Tensor mkldnn_convolution_transpose_pointwise( const Tensor& input_t, const Tensor& weight_t, const std::optional& bias_opt, IntArrayRef padding, IntArrayRef output_padding, IntArrayRef stride, IntArrayRef dilation, int64_t groups, std::string_view attr, torch::List> scalars, std::optional algorithm); } // namespace native } // namespace at #endif // AT_MKLDNN_ENABLED()