Well, I have a special BYOC **dense** kernel that deals with kernel layout 
different from default topi.nn implemenation. 

The default implemenation has *weight Tensor with shape [out_dim, in_dim]*, 
while I need [in_dim, out_dim]. 

Two questions here:
1. How can I change the default behavior of the kernel input of dense kernel to 
assume transposed layout? I tried to modify include/tvm/topi/nn/dense.h and 
python/tvm/topi/nn/dense.py to reverse the layout, but it doesn't work. Where 
is the code controlling the default kernel layout for dense op?
2. If I don't want to change the default behavior but add an alternative 
solution targeting my BYOC target, what's the best way? 

Thanks in advance.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/best-way-to-deal-with-kernel-layout/9576/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/164d596cf6d7219f95f308cdaf58bbe25abc9126d456d2aef6ae55626acac37b).

Reply via email to