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

fixed what made pdf gen crash

上级 664c2afa
......@@ -156,9 +156,6 @@ Using Inheritance
A friendlier way to use Module is to implement your functionality as a
subclass of Module:
.. code-block:: python
.. literalinclude:: ../examples/module/accumulator.py
This is just like the previous example except slightly fancier.
......
......@@ -8,14 +8,14 @@ Basic Tutorial Mini-Reference
Mode
====
============= ============================================================== ===============================================================================
============= =========================================================== ===============================================================================
short name Full constructor What does it do?
============= ============================================================== ===============================================================================
- ``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_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.
============= ============================================================== ===============================================================================
============= =========================================================== ===============================================================================
(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_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.
============= =========================================================== ===============================================================================
.. _tensortypes:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论