Replies: 1 comment 1 reply
-
tvm.topi.nn.pool2d(data = Input, kernel = [2, 2], dilation = (1,1), stride = [2,2], padding = [0,0,0,0], pool_type = 'max') 我用的全连接层做的linear运算,可以作为一种思路参考, 文档里似乎并不支持bias
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我在写lesson 4作业的时候,参考了TOPI的文档,遇到了两个问题:
dilation
的参数介绍。2. 当我尝试使用
tvm.topi.nn.matmul
做linear
运算的时候:触发了一个断言错误:
我尝试去对
linear0_bias
做变换,得到如下错误:我不太清楚
relax.cosnst
是否支持reshape
操作。我目前的解决方法是在变量定义的时候修改它的形状或者不使用
bias
这个参数,不知道有没有更好的解决方法。Beta Was this translation helpful? Give feedback.
All reactions