# pylint: disable=wildcard-import, redefined-builtin, invalid-name"""The Relay IR namespace containing the IR definition and compiler."""from__future__importabsolute_importfrom.baseimportNodeBase,register_relay_nodefrom..apiimportregister_func@register_relay_nodeclassInterpreterState(NodeBase):pass# pylint: disable=unused-argumentdef_debugger_init(expr,stack):importpdbpdb.set_trace()# pylint: disable=unused-argument@register_func("relay.debug")def_debug(*args):_,_,_,ist=argsprint("Relay Debugger")print(" You can manipulate the expression under evaluation with the name `expr`.")print(" You can manipulate the call stack with the name `stack`.")print("--------------")print("--------------")_debugger_init(ist.current_expr,ist.stack)