提交 b8356ff9 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Cross link random variable docs

上级 c477732f
......@@ -30,6 +30,7 @@ sophisticated `Op`\s like `Scan`, which makes it a user-friendly random variable
interface in PyTensor.
For an example of how to use random numbers, see :ref:`Using Random Numbers <using_random_numbers>`.
For a technical explanation of how PyTensor implements random variables see :ref:`prng`.
.. class:: RandomStream()
......
......@@ -357,6 +357,9 @@ hold here as well. PyTensor's random objects are defined and implemented in
:ref:`RandomStream<libdoc_tensor_random_utils>` and, at a lower level,
in :ref:`RandomVariable<libdoc_tensor_random_basic>`.
For a more technical explanation of how PyTensor implements random variables see :ref:`prng`.
Brief Example
-------------
......
......@@ -5,7 +5,9 @@ Pseudo random number generation in PyTensor
===========================================
PyTensor has native support for `pseudo random number generation (PRNG) <https://en.wikipedia.org/wiki/Pseudorandom_number_generator>`_.
This document describes how PRNGs are implemented in PyTensor, via the RandomVariable Operator.
This document describes the details of how PRNGs are implemented in PyTensor, via the RandomVariable Operator.
For a more applied example see :ref:`using_random_numbers`
We also discuss how initial seeding and seeding updates are implemented, and some harder cases such as using RandomVariables inside Scan, or with other backends like JAX.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论