Skip to content

Commit f6569d2

Browse files
Fix numba.md translation inconsistencies with English source
Agent-Logs-Url: https://github.com/QuantEcon/lecture-python-programming.zh-cn/sessions/f1e1dea8-f49a-43ec-a291-272349dbe061 Co-authored-by: HumphreyYang <39026988+HumphreyYang@users.noreply.github.com>
1 parent 5f846b6 commit f6569d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lectures/numba.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ translation:
1616
Compiling Functions: 编译函数
1717
Compiling Functions::An Example: 示例
1818
Compiling Functions::How and When it Works: 工作原理与适用时机
19-
Type Inference: 类型推断
20-
Dangers and Limitations: 危险与局限
21-
Dangers and Limitations::Limitations: 局限性
22-
'Dangers and Limitations::A Gotcha: Global Variables': 一个陷阱:全局变量
23-
Dangers and Limitations::Caching Compiled Code: 缓存编译代码
19+
Sharp Bits: 注意事项
20+
Sharp Bits::Typing: 类型推断
21+
Sharp Bits::Global Variables: 全局变量
2422
Multithreaded Loops in Numba: Numba 中的多线程循环
2523
Exercises: 练习
2624
---
@@ -185,7 +183,7 @@ timer1.elapsed / timer3.elapsed
185183

186184
让我们讨论一下这是如何工作的。
187185

188-
### 工作原理与适用场景
186+
### 工作原理与适用时机
189187

190188
Numba 尝试使用 [LLVM Project](https://llvm.org/) 提供的基础设施生成快速机器码。
191189

@@ -421,6 +419,8 @@ with qe.Timer():
421419

422420
注意,我们是跨家庭进行并行化,而非跨时间——单个家庭跨时期的更新本质上是顺序的。
423421

422+
关于基于 GPU 的并行化,请参阅我们{doc}`关于 JAX 的讲座 <jax_intro>`
423+
424424
## 练习
425425

426426
```{exercise}

0 commit comments

Comments
 (0)