From 55cb3d9c7df80f458f12a7ecd94c49d915f18eb3 Mon Sep 17 00:00:00 2001 From: L0phTg Date: Wed, 21 Dec 2022 21:51:04 +0800 Subject: [PATCH] fix call of emit_func_output in chapter 5 --- chapter_integration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter_integration/index.md b/chapter_integration/index.md index 41435e7..896488c 100644 --- a/chapter_integration/index.md +++ b/chapter_integration/index.md @@ -322,7 +322,7 @@ def from_fx(fx_mod, input_shapes, call_function_map, call_module_map): assert fn_output is None fn_output = bb.emit_output(output) # output and finalize the function - bb.emit_func_output(output, fn_inputs) + bb.emit_func_output(fn_output, fn_inputs) return bb.get() ```