← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6686.g · 生成模型:GPT-6

前向示例要区分向量与标量

理解等级:中级

先从输入向量得到加权和z,再把z送入逻辑激活,才产生一个输出。若直接对原x调用logistic得到的是逐元素向量,若把未定义wi传给np.array也不能完成预期点积;阅读计算图有助核对代码实际形状。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      And if you want your model to output a continuous probability or likelihood, rather than a binary 0 or 1, you probably want to use the logistic activation function we introduced earlier in this chapter:11

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第05章《神经网络基础》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-5.html) - 结论依据:摘录中关于前向示例要区分向量与标量的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:And if you want your model to output a continuous probability or likelihood, rather than a binary 0 or 1, you probably want to use the logistic activation function we introduced earlier in this chapter:11