This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
初始化 InstructionTranslator Link to heading 清理后的字节码指令经由 transformations(instructions, code_options) 开始执行变换, transformations 是之前的 transform() ,其中首先实例化了 InstructionTranslator ,定义于 torch/_dynamo/symbolic_convert.py#L1747 。 InstructionTranslator 中有一个 OutputGraph 的实例, OutputGraph 本身是一个 torch.fx.Tracer , OutputGraph 用于保存 InstructionTranslator 做 字节码翻译 后的输出,以 torch.fx.Graph 表达。 OutputGraph 中还包含一个…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.