@@ -340,16 +340,16 @@ Note that we need to iterate over the indices of ``y`` and not over the elements
...
@@ -340,16 +340,16 @@ Note that we need to iterate over the indices of ``y`` and not over the elements
.. testoutput::
.. testoutput::
[array([[ 0.96402758, 0. ],
[[ 0.96402758 0. ]
[ 0. , 0.96402758],
[ 0. 0.96402758]
[ 0. , 0. ],
[ 0. 0. ]
[ 0.76159416, 0.76159416],
[ 0.76159416 0.76159416]
[ 0.76159416, 0. ],
[ 0.76159416 0. ]
[ 0. , 0.76159416],
[ 0. 0.76159416]
[ 0. , 0.76159416],
[ 0. 0.76159416]
[ 0. , 0.76159416],
[ 0. 0.76159416]
[ 0. , 0. ],
[ 0. 0. ]
[ 0.76159416, 0.76159416]])]
[ 0.76159416 0.76159416]]
Note that if you want to use a random variable ``d`` that will not be updated through scan loops, you should pass this variable as a ``non_sequences`` arguments.
Note that if you want to use a random variable ``d`` that will not be updated through scan loops, you should pass this variable as a ``non_sequences`` arguments.