Executing TVM from a .relay file

Given a .relay file, I want to execute TVM.

Currently, statements like
let %x_8 = meta[relay.Constant][0] give an error when I run tvm.parser.fromtext(). I have worked around this by getting rid of the assignment statement and instead passing x_8 as an argument to the main function.

Is there a better alternative I should be considering? Please let me know if I’m not stating my question clearly.