@@ -157,10 +157,10 @@ def profile(
157157 self ,
158158 d_shape ,
159159 w_shape ,
160+ out_shape ,
160161 padding ,
161162 stride ,
162163 dilation ,
163- out_shape ,
164164 out_dtype ,
165165 profile_all = True ,
166166 use_multiprocessing = False ,
@@ -188,13 +188,13 @@ def profile(
188188 "--k=%d" % OC ,
189189 "--c=%d" % IC ,
190190 "--r=%d" % R ,
191- "--s=%d" % IC ,
191+ "--s=%d" % S ,
192192 "--pad_h=%d" % padding [0 ],
193- "--pad_w=%d, " % padding [1 ],
193+ "--pad_w=%d" % padding [1 ],
194194 "--stride_h=%d" % stride [0 ],
195- "--stride_w=%d" % stride [0 ],
195+ "--stride_w=%d" % stride [1 ],
196196 "--dilation_h=%d" % dilation [0 ],
197- "--dilation_w=%d" % dilation [0 ],
197+ "--dilation_w=%d" % dilation [1 ],
198198 ]
199199 for op in ops :
200200 out = self .engine .evaluate (op , args )
@@ -224,6 +224,4 @@ def profile(
224224 alignment = gemm_profile_result ["alignment" ]
225225 data_type = gemm_profile_result ["data_type" ]
226226
227- out = create_conv2d_operator ([tile_description ], data_type , [alignment ])[0 ]
228- # print(out["src"])
229- return out
227+ return create_conv2d_operator ([tile_description ], data_type , [alignment ])[0 ]
0 commit comments