vinx13 commented on issue #8925: URL: https://github.com/apache/tvm/issues/8925#issuecomment-912984253
You can print the prim func here and check if the placeholders are correctly created. https://github.com/apache/tvm/blob/main/src/relay/backend/te_compiler_cache.cc#L125 > On Sep 4, 2021, at 9:48 AM, Noob ***@***.***> wrote: > > > Seems that only one placeholder is created. Would you mind sharing the Relay IR? > > i am sorry that the Relay IR which is generated from a online business model. But it seems u r right. i modified the sample batchmatmul in tvm and i got the same error hints. > > The original smaple code is: > x = placeholder(xxxx), > y = placeholder(xxxx), > And what i did is : > x = placeholder(xxxx), > y = x, > > However, my model works in online TF env, and what i should do if this case happened when i want to use TVM? > > thanks bro! > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub, or unsubscribe. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
