diff --git a/ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d_pybind.cpp b/ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d_pybind.cpp index b40fe923a43..3cea2a187f9 100644 --- a/ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d_pybind.cpp +++ b/ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d_pybind.cpp @@ -104,7 +104,7 @@ void py_bind_conv_transpose2d(py::module& module) { uint32_t groups, std::optional bias_tensor, std::optional conv_config, - const std::optional memory_config, + const std::optional& memory_config, const uint8_t& queue_id) -> Result { return self(queue_id, input_tensor, weight_tensor, device, in_channels, out_channels, batch_size, input_height, input_width, kernel_size, stride, padding, output_padding, dilation, groups, bias_tensor, conv_config, memory_config); }, @@ -145,7 +145,7 @@ void py_bind_conv_transpose2d(py::module& module) { uint32_t groups, std::optional bias_tensor, std::optional conv_config, - const std::optional memory_config, + const std::optional& memory_config, const uint8_t& queue_id) -> Result { return self(queue_id, input_tensor, weight_tensor, device, in_channels, out_channels, batch_size, input_height, input_width, kernel_size, stride, padding, output_padding, dilation, groups, bias_tensor, conv_config, memory_config); },