@@ -46,13 +46,10 @@ Conv2dGradNodeFinal::operator()(
4646 auto & grad_out = hooked_grads[0 ][0 ];
4747 auto & strides = this ->strides_ ;
4848 auto & paddings = this ->paddings_ ;
49- auto & paddding_algorithm = this ->paddding_algorithm_ ;
49+ auto & padding_algorithm = this ->padding_algorithm_ ;
5050 auto & groups = this ->groups_ ;
5151 auto & dilations = this ->dilations_ ;
5252 auto & data_format = this ->data_format_ ;
53- auto & use_addto = this ->use_addto_ ;
54- auto & workspace_size_MB = this ->workspace_size_MB_ ;
55- auto & exhaustive_search = this ->exhaustive_search_ ;
5653 // Prepare Grad function call
5754
5855 const auto & out_metas = OutputMeta ();
@@ -87,13 +84,10 @@ Conv2dGradNodeFinal::operator()(
8784 grad_out,
8885 strides,
8986 paddings,
90- paddding_algorithm,
91- groups,
87+ padding_algorithm,
9288 dilations,
89+ groups,
9390 data_format,
94- use_addto,
95- workspace_size_MB,
96- exhaustive_search,
9791 api_output_0,
9892 api_output_1);
9993 // Check NaN and Inf id needed
@@ -134,13 +128,10 @@ Conv2dGradNodeFinal::operator()(
134128 // SetAttributes if needed
135129 grad_node->SetAttributestrides (strides);
136130 grad_node->SetAttributepaddings (paddings);
137- grad_node->SetAttributepaddding_algorithm (paddding_algorithm );
131+ grad_node->SetAttributepadding_algorithm (padding_algorithm );
138132 grad_node->SetAttributegroups (groups);
139133 grad_node->SetAttributedilations (dilations);
140134 grad_node->SetAttributedata_format (data_format);
141- grad_node->SetAttributeuse_addto (use_addto);
142- grad_node->SetAttributeworkspace_size_MB (workspace_size_MB);
143- grad_node->SetAttributeexhaustive_search (exhaustive_search);
144135 // Set TensorWrappers for Forward Inputs if needed
145136 grad_node->SetTensorWrapperinput (input);
146137 grad_node->SetTensorWrapperfilter (filter);
@@ -215,13 +206,10 @@ Conv2dDoubleGradNodeFinal::operator()(
215206
216207 auto & strides = this ->strides_ ;
217208 auto & paddings = this ->paddings_ ;
218- auto & paddding_algorithm = this ->paddding_algorithm_ ;
209+ auto & padding_algorithm = this ->padding_algorithm_ ;
219210 auto & groups = this ->groups_ ;
220211 auto & dilations = this ->dilations_ ;
221212 auto & data_format = this ->data_format_ ;
222- auto & use_addto = this ->use_addto_ ;
223- auto & workspace_size_MB = this ->workspace_size_MB_ ;
224- auto & exhaustive_search = this ->exhaustive_search_ ;
225213 // Prepare Grad function call
226214
227215 const auto & out_metas = OutputMeta ();
@@ -261,13 +249,10 @@ Conv2dDoubleGradNodeFinal::operator()(
261249 grad_filter_grad_optional,
262250 strides,
263251 paddings,
264- paddding_algorithm,
265- groups,
252+ padding_algorithm,
266253 dilations,
254+ groups,
267255 data_format,
268- use_addto,
269- workspace_size_MB,
270- exhaustive_search,
271256 api_output_0,
272257 api_output_1,
273258 api_output_2);
0 commit comments