Skip to content

Commit

Permalink
Merge branch 'instadeepai:main' into boxoban
Browse files Browse the repository at this point in the history
  • Loading branch information
mvmacfarlane authored Jan 2, 2024
2 parents 2913197 + e8d51e0 commit 4ee995f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<p align="center">
<a href="docs/img/jumanji_logo.png">
<img src="docs/img/jumanji_logo.png" alt="Jumanji logo" width="50%"/>
</a>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/img/jumanji_logo_dm.png">
<source media="(prefers-color-scheme: light)" srcset="docs/img/jumanji_logo.png">
<img alt="Jumanji Logo" src="docs/img/jumanji_logo.png", width="50%">
</picture>
</p>

[![Python Versions](https://img.shields.io/pypi/pyversions/jumanji.svg?style=flat-square)](https://www.python.org/doc/versions/)
Expand Down
Binary file added docs/img/jumanji_logo_dm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions jumanji/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ def action_spec(self) -> specs.Spec:
"""Returns the action spec."""
return self._env.action_spec()

def reward_spec(self) -> specs.Array:
"""Returns the reward spec."""
return self._env.reward_spec()

def discount_spec(self) -> specs.BoundedArray:
"""Returns the discount spec."""
return self._env.discount_spec()

def render(self, state: State) -> Any:
"""Compute render frames during initialisation of the environment.
Expand Down

0 comments on commit 4ee995f

Please sign in to comment.