Thank you for answering. this helps quite a bit.

> I don’t understand this question, but a Relay program must have an output, 
> and you cannot print message inside the Relay function.

Let's say for a a `relay.nn.conv2d` function, we produce a C function that 
prints some information. The motivation for this is to get confident with the 
BYOC framework before getting into more serious work.

So  we can't generate functions that prints a message (or have side effects)? 
Can we call an external library that has side effects?

I guess it is always possible to fill the output tensor with dummy values, but 
if it isn't possible to print a message then my question loses its purpose.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/byoc-details-about-byoc-newbie/12190/3) 
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/ccddb78e9d278189d767e56f4ca600895589cc9f28e9ba89976b3a50ff915e15).

Reply via email to