masahi commented on issue #4799: [QNN] Doc fix on convolution and dequantize
URL: https://github.com/apache/incubator-tvm/pull/4799#issuecomment-580980672
 
 
   this is the error I get if I leave out kernel_size:
   ```
     File "/home/masa/projects/dev/tvm/python/tvm/_ffi/_ctypes/function.py", 
line 72, in cfun
       rv = local_pyfunc(*pyargs)
     File "/home/masa/projects/dev/tvm/python/tvm/relay/op/nn/_nn.py", line 
269, in alter_op_layout_conv2d
       return topi.nn.conv2d_alter_layout(attrs, inputs, tinfos, op)
     File 
"</home/masa/anaconda3/lib/python3.7/site-packages/decorator.py:decorator-gen-37>",
 line 2, in conv2d_alter_layout
     File "/home/masa/projects/dev/tvm/python/tvm/target.py", line 382, in 
dispatch_func
       return dispatch_dict[k](*args, **kwargs)
     File 
"/home/masa/projects/dev/tvm/topi/python/topi/x86/conv2d_alter_op.py", line 45, 
in _alter_conv2d_layout
       kh, kw = attrs.get_int_tuple("kernel_size")
     File "/home/masa/projects/dev/tvm/python/tvm/attrs.py", line 63, in 
get_int_tuple
       return tuple(x.value for x in self.__getattr__(key))
   TypeError: 'NoneType' object is not iterable
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to