题目
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道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Which of the following is true about the softmax function in the context of multinomial logistic regression?
Which of the following is TRUE about softmax (mark all that apply).
Multi-class Classification Assume Z1=-1, Z2=1, Z3=2. Apply Softmax to calculate the posterior probability, by using R/Python/Matlab... programming. Solutions without programming codes will not receive full credit. Note: please round your solution in 3 decimal places. y1 = [Fill in the blank], ; y2 = [Fill in the blank], ; y3 = [Fill in the blank], .
In a consumer society, many adults channel creativity into buying things
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!