plt.legend(['Sigmoid', 'Tanh', 'Relu', 'Leaky ReLU', 'Softplus','hardswish','Mish'])
时间: 2023-08-20 10:09:57 浏览: 85
回答: plt.legend(\['Sigmoid', 'Tanh', 'Relu', 'Leaky ReLU', 'Softplus','hardswish','Mish'\])是用于设置图例的标签,其中包括了多个激活函数的名称,如Sigmoid、Tanh、Relu、Leaky ReLU、Softplus、hardswish和Mish。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *2* *3* [深度学习笔记(三):神经网络之九种激活函数Sigmoid、tanh、ReLU、ReLU6、Leaky Relu、ELU、Swish、Mish、...](https://blog.csdn.net/m0_51004308/article/details/113267706)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文