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

Correct a typo and some wording in doc/JaxOps.rst

上级 d9c292b9
......@@ -58,8 +58,9 @@ Here’s an example for the Eye Op.
.. code:: python
from theano.tensor.basic import Eye
@jax_funcify.register(Eye) # The decorater
def jax_funcify_Eye(op): # The function that takes an individual Theano-PyMC Op and returned the JAXified op
@jax_funcify.register(Eye) # The decorator
def jax_funcify_Eye(op): # The function that takes an Op and returns its JAX equivalent
dtype = op.dtype
def eye(N, M, k):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论