摘要: 内核 操作系统的内核往往运行在高的虚拟地址空间, 使低的地址空间留给用户程序.上一节我们知道, 内核运行的入口物理地址是 0x0010000c , 这个地址是在 0~ 4MB 地址空间范围内的, 这个空间完全足够内核开始运行. 内核的虚拟地址是内核希望执行的地址, 但是内存并没有那么大的空间, 所以 阅读全文
posted @ 2020-03-18 17:01 虾野百鹤 阅读(672) 评论(2) 推荐(0) 编辑
摘要: 训练过程中的 Mask实现 mask 机制的原理是, 在 decoder 端, 做 self-Attention 的时候, 不能 Attention 还未被预测的单词, 预测的信息是基于encoder 与以及预测出的单词. 而在 encoder 阶段的, Self_Attention 却没有这个机制 阅读全文
posted @ 2020-03-13 10:49 虾野百鹤 阅读(13335) 评论(0) 推荐(2) 编辑
摘要: 8088,8086代 CPU Intel 最初的 cpu 型号, 这种 cpu 只提供 16bit 的寄存器, 分别是: AX, BX, CX, DX, SI, DI, BP, SP, CS, DS, SS, ES, IP, FLAGS. 改 cpu 一共有 20 根地址线, 且只能工作在实模式中, 阅读全文
posted @ 2020-03-11 09:33 虾野百鹤 阅读(876) 评论(0) 推荐(0) 编辑
摘要: jieguoThe BIOS is responsible for performing basic system initialization such as activating the video card and checking the amount of memory installed 阅读全文
posted @ 2020-03-10 09:13 虾野百鹤 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 文章采用的记号与变量: 1. 用 $\left\{\mathbf{W}_{k}: 0 \leq k \leq C\right\}$ 中的 $W_k$ 表示第 k 层的连接的矩阵, 2. 对于一个有 $p$ 维的输入与 $q$ 维的输出, 矩阵 $W_k$ 的维度为 $q_{k} \times p_{ 阅读全文
posted @ 2020-03-03 15:32 虾野百鹤 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 什么是Attention 在 seq to seq 模型中, 我们常常在 decoder 阶段加入Attention 机制, 主要是对于decoder 的隐含层输入, 引入更多的有关 encoder 序列中, 中间步骤的信息. 在这里就不详细解释了, 我们将Attention 从模型中剥离出来, 以 阅读全文
posted @ 2020-02-26 21:31 虾野百鹤 阅读(958) 评论(1) 推荐(0) 编辑
摘要: 什么是线索二叉树 线索二叉树主要体现在二叉树的 DFS 中, 也就是前序, 中序, 与后序遍历, 我们以中序遍历为例, 讲述线索二叉树线索的原理. 线索主要表现在, DFS 的过程中记录遍历的前驱与后继节点, 可以用下面的图来表示节点, lbitlbitlchildlchilddatadatarch 阅读全文
posted @ 2020-02-24 18:44 虾野百鹤 阅读(501) 评论(0) 推荐(0) 编辑
摘要: C. Obtain The String You are given two strings $s$ and $t$ consisting of lowercase Latin letters. Also you have a string $z$ which is initially empty. 阅读全文
posted @ 2020-02-14 10:37 虾野百鹤 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Greedy algorithm is used to solve a problem with a heuristic way, In many problems, a greedy strategy does not usually produce an optimal solution , b 阅读全文
posted @ 2019-12-30 09:38 虾野百鹤 阅读(152) 评论(1) 推荐(0) 编辑
摘要: The problems of NMT Model I[Not supported by viewer]am[Not supported by viewer]a[Not supported by viewer]student[Not supported by viewer]source langua 阅读全文
posted @ 2019-12-27 09:14 虾野百鹤 阅读(243) 评论(0) 推荐(0) 编辑