You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/02/01 02:06:58 UTC
[GitHub] [incubator-tvm] masahi opened a new pull request #4799: [QNN] Doc
fix on convolution and dequantize
masahi opened a new pull request #4799: [QNN] Doc fix on convolution and dequantize
URL: https://github.com/apache/incubator-tvm/pull/4799
cc @anijain2305 @vinx13 can you check if this change is correct? I'm not completely sure if kernel_size is required, but I hit error if I leave it none.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] masahi commented on issue #4799: [QNN] Doc fix on
convolution and dequantize
Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] vinx13 merged pull request #4799: [QNN] Doc fix on
convolution and dequantize
Posted by GitBox <gi...@apache.org>.
vinx13 merged pull request #4799: [QNN] Doc fix on convolution and dequantize
URL: https://github.com/apache/incubator-tvm/pull/4799
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services