Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagsy committed Jun 26, 2023
1 parent 4186af5 commit 29018e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ and use this to set the ivy backend framework.

.. code-block:: python
import ivy
import ivy
fw = ivy.choose_random_backend()
ivy.set_backend(fw)
Expand All @@ -240,7 +240,7 @@ choosing from the options ``CartPole``, ``Pendulum``, ``MountainCar``, ``Reacher
env.reset()
ac_dim = env.action_space.shape[0]
for _ in range(250):
ac = ivy.random_uniform(-1, 1, (ac_dim,))
ac = ivy.random_uniform(low=-1, high=1, shape=(ac_dim,))
env.step(ac)
env.render()
Expand Down

0 comments on commit 29018e9

Please sign in to comment.