@@ -262,7 +262,7 @@ def qnn_conv2d(attrs, inputs, out_type):
262262 # Make a few checks to unpack the function arguments and ensure it was called with the right
263263 # arguments. Note that unlike most schedules, qnn_conv2d does not use a wrapper.
264264 assert len (inputs ) == 11
265- assert not any (get_const_tuple (attrs .paddding ))
265+ assert not any (get_const_tuple (attrs .padding ))
266266
267267 data , kernel , _izp , _kzp , _iscale , _kscale , bias , scale = inputs [0 :8 ]
268268 _ , height , width , in_channels = get_const_tuple (data .shape )
@@ -339,7 +339,7 @@ def qnn_depthwise_conv2d(attrs, inputs, out_type):
339339 """
340340
341341 assert len (inputs ) == 11
342- assert not any (get_const_tuple (attrs .paddding ))
342+ assert not any (get_const_tuple (attrs .padding ))
343343 data , kernel , _izp , _kzp , _iscale , _kscale , bias , scale = inputs [0 :8 ]
344344 _ , _ , height , width = get_const_tuple (data .shape )
345345 _ , out_channels , kernel_h , kernel_w = get_const_tuple (kernel .shape )
@@ -473,7 +473,7 @@ def qnn_unrolled_depthwise_conv2d(attrs, inputs, out_type):
473473 """
474474
475475 assert len (inputs ) == 11
476- assert not any (get_const_tuple (attrs .paddding ))
476+ assert not any (get_const_tuple (attrs .padding ))
477477 y_stride , x_stride = get_const_tuple (attrs .strides )
478478 assert y_stride == x_stride == 1
479479
0 commit comments