提交 66bef2c4 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo and formatting fixes

上级 e510f354
...@@ -141,18 +141,19 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None, ...@@ -141,18 +141,19 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
4. Linker 4. Linker
The linker uses a python loop to execute the code associated The linker uses a Python loop to execute the code associated
with all the Apply nodes in the graph in the correct order. with all the Apply nodes in the graph in the correct order.
the cvm is a linker that replaces this python loop with a c The CVM is a linker that replaces this Python loop with a C
loop to avoid continuously changing between python and c. loop to avoid continuously changing between Python and C.
The CVM is faster for 2 reasons: The CVM is faster for 2 reasons:
1) Its internal logic in C, so no Python interpreter overhead. 1) Its internal logic is in C, so no Python interpreter
overhead.
2) It makes native calls from the VM logic into thunks that 2) It makes native calls from the VM logic into thunks that
have been compiled using the CLinker. have been compiled using the CLinker.
the vm is a linker that was developed to prototype the cvm. it The VM is a linker that was developed to prototype the CVM. it
was easier to develop the vm in python then translate it to c instead was easier to develop the VM in Python then translate it to C instead
of just writing it in c from scratch of just writing it in C from scratch.
cvm stands for c virtual machine. CVM stands for C Virtual Machine.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论