提交 c6c85acb authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Update the articles for extending Types

上级 3876c777
差异被折叠。
.. _aesara_type: .. _aesara_type:
=============================== ===============
Making the double :class:`Type` :class:`Type`\s
=============================== ===============
.. _type_contract: .. _type_contract:
...@@ -184,8 +184,8 @@ can't be done. ...@@ -184,8 +184,8 @@ can't be done.
Then register that function by calling :func:`register_transfer()` Then register that function by calling :func:`register_transfer()`
with it as argument. with it as argument.
Defining double An example
=============== ==========
We are going to base :class:`Type` ``double`` on Python's ``float``. We We are going to base :class:`Type` ``double`` on Python's ``float``. We
must define ``filter`` and shall override ``values_eq_approx``. must define ``filter`` and shall override ``values_eq_approx``.
......
...@@ -68,7 +68,6 @@ Further reading ...@@ -68,7 +68,6 @@ Further reading
.. toctree:: .. toctree::
../extending/graphstructures
loading_and_saving loading_and_saving
aliasing aliasing
multi_cores multi_cores
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论