From 855f1385a71ef6d38680b0f1e2de062ce077094c Mon Sep 17 00:00:00 2001 From: Tingquan Gao Date: Fri, 21 Jan 2022 09:12:50 +0000 Subject: [PATCH] docs: fix --- docs/zh_CN/advanced_tutorials/theseus_layer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh_CN/advanced_tutorials/theseus_layer.md b/docs/zh_CN/advanced_tutorials/theseus_layer.md index 0c3f1c55..56f2c971 100644 --- a/docs/zh_CN/advanced_tutorials/theseus_layer.md +++ b/docs/zh_CN/advanced_tutorials/theseus_layer.md @@ -187,7 +187,7 @@ print("The result returned by update_res(): ", res) output = net(pd_input) print("The output's keys of processed net: ", output.keys()) # The output's keys of net: dict_keys(['output', 'blocks[0]', 'blocks[2]', 'blocks[4]', 'blocks[10]']) -# 网络前向输出 output 为 dict 类型对象,其中,output["key"] 为网络最终输出,output["blocks[0]"] 等为网络中间层输出结果 +# 网络前向输出 output 为 dict 类型对象,其中,output["output"] 为网络最终输出,output["blocks[0]"] 等为网络中间层输出结果 ``` 除了通过调用方法 `update_res()` 的方式之外,也同样可以在实例化网络对象时,通过指定参数 `return_patterns` 实现相同效果: -- GitLab