提交 fa6d41d7 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

numpydoc for theano/gof/__init__.py

上级 fa75ad6e
"""
gof.py
gof stands for Graph Optimization Framework
gof stands for Graph Optimization Framework.
The gof submodule of theano implements a framework
for manipulating programs described as graphs. The
......@@ -9,13 +9,13 @@ gof module defines basic theano graph concepts:
-Apply nodes, which represent the application
of an Op to Variables. Together these make up a
graph.
-The Type, needed for Variables to make sense
-The Type, needed for Variables to make sense.
-The FunctionGraph, which defines how a subgraph
should be interpreted to implement a function
should be interpreted to implement a function.
-The Thunk, a callable object that becames part
of the executable emitted by theano
of the executable emitted by theano.
-Linkers/VMs, the objects that call Thunks in
sequence in order to execute a theano program
sequence in order to execute a theano program.
Conceptually, gof is intended to be sufficiently abstract
that it could be used to implement a language other than
......@@ -32,9 +32,9 @@ functionality. Ideally this should be refactored into
a different submodule.
For more details and discussion, see the theano-dev
e-mail thread "What is gof?"
"""
e-mail thread "What is gof?".
"""
from theano.gof.cc import \
CLinker, OpWiseCLinker, DualLinker, HideC
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论