t-vi commented on pull request #6449:
URL: https://github.com/apache/incubator-tvm/pull/6449#issuecomment-692981543


   I think I'm slowly starting to understand. But couldn't one have something 
like `e_new = _try_to_make_static(e)` that takes an expression, makes it as 
static as possible and returns the result - which might be e if it cannot be 
static. Ideally, this would work without going through exceptions, but if we 
cannot have this, one could implement this with try: ... except: ... . The 
thing I'm uncomfortable with is having so many places where we do `try: ... 
exept:`. (sounds like @masahi suggested this above)


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to