提交 435f70f8 authored 作者: Olivier Breuleux's avatar Olivier Breuleux

fixed what made pdf gen crash

上级 664c2afa
...@@ -156,9 +156,6 @@ Using Inheritance ...@@ -156,9 +156,6 @@ Using Inheritance
A friendlier way to use Module is to implement your functionality as a A friendlier way to use Module is to implement your functionality as a
subclass of Module: subclass of Module:
.. code-block:: python
.. literalinclude:: ../examples/module/accumulator.py .. literalinclude:: ../examples/module/accumulator.py
This is just like the previous example except slightly fancier. This is just like the previous example except slightly fancier.
......
...@@ -8,14 +8,14 @@ Basic Tutorial Mini-Reference ...@@ -8,14 +8,14 @@ Basic Tutorial Mini-Reference
Mode Mode
==== ====
============= ============================================================== =============================================================================== ============= =========================================================== ===============================================================================
short name Full constructor What does it do? short name Full constructor What does it do?
============= ============================================================== =============================================================================== ============= =========================================================== ===============================================================================
- ``compile.mode.Mode(linker='py', optimizer=None)`` Python implementations with zero graph modifications. (default) compile.mode.Mode(linker='py', optimizer=None) Python implementations with zero graph modifications.
FAST_COMPILE ``compile.mode.Mode(linker='c|py', optimizer='fast_compile') C implementations where available, quick and cheap graph transformations FAST_COMPILE compile.mode.Mode(linker='c|py', optimizer='fast_compile') C implementations where available, quick and cheap graph transformations
FAST_RUN ``compile.mode.Mode(linker='c|py', optimizer='fast_run') C implementations where available, all available graph transformations. FAST_RUN compile.mode.Mode(linker='c|py', optimizer='fast_run') C implementations where available, all available graph transformations.
DEBUG_MODE ``compile.debugmode.DebugMode() Both implementations where available, all available graph transformations. DEBUG_MODE compile.debugmode.DebugMode() Both implementations where available, all available graph transformations.
============= ============================================================== =============================================================================== ============= =========================================================== ===============================================================================
.. _tensortypes: .. _tensortypes:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论