题目
题目

2025FallB-X-CSE571-78760 期末考试 Final Exam

单项选择题

在执行 softmax 层评估时,softmax 函数的输入为 [2, 6, 5]。请计算 softmax 函数对应的输出。该网络输出对应的概率是多少? While performing a softmax layer evaluation, the softmax function has inputs [2, 6, 5]. Calculate the corresponding output of the softmax function. Which probability corresponds to the network's output?

选项
A.0.11
B.0.72
C.1
D.0.5
查看解析

查看解析

标准答案
Please login to view
思路分析
我们先把输入向量 [2, 6, 5] 进行 softmax 计算,通常为了数值稳定性先减去最大值 6,得到[-4, 0, -1]。 然后对每个分量取指数:exp(-4) ≈ 0.018315、exp(0) = ......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!