提交 85cb536f authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merge

...@@ -108,7 +108,7 @@ print something out if a certain kind of Op was used, at a certain program ...@@ -108,7 +108,7 @@ print something out if a certain kind of Op was used, at a certain program
position, or if a particular value shows up in one of the inputs or outputs. position, or if a particular value shows up in one of the inputs or outputs.
This can be a really powerful debugging tool. Read about more things you can This can be a really powerful debugging tool. Read about more things you can
do with :api:`WrapLinkerMany`. do with :api:`link.WrapLinkerMany`.
Note well the call to ``fn`` inside the call to ``print_eval``; without it, Note well the call to ``fn`` inside the call to ``print_eval``; without it,
the graph wouldn't get computed at all! the graph wouldn't get computed at all!
......
...@@ -30,11 +30,12 @@ global. Optimizations that can be done with a narrow perspective are ...@@ -30,11 +30,12 @@ global. Optimizations that can be done with a narrow perspective are
better defined as local optimizations. The majority of optimizations better defined as local optimizations. The majority of optimizations
we want to define are local. we want to define are local.
.. optimizer:
Global optimization Global optimization
------------------- -------------------
A global optimization is an object which defines the following A global optimization (or optimizer) is an object which defines the following
methods: methods:
- **apply(env)** - **apply(env)**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论