Question concerning assignment 4, with respect to call_tir
#31
-
Hi, I was trying to work out assignment 4. In section 4, we are instructed to register an external function for conv2d and incorporate it into |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Sorry for the inconvenience. You are really close to the answer. To insert a call_tir using BlockBuilder, you should use |
Beta Was this translation helpful? Give feedback.
-
You need to use |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
You need to use
relax.extern("env.conv2d")
to get the extern function (its type isExpr
). I have to admit this pattern of emitting extern function is complex and we are trying to figure out a way to make it simpler and easier to use.