Skip to content

Commit

Permalink
action_spec to model
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Oct 21, 2023
1 parent 811a0a3 commit 2b7ec4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/extending/model/custom_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def __init__(
# And access some of the ones already available to your module
_ = self.input_spec # Like its input_spec
_ = self.output_spec # or output_spec
_ = self.action_spec # the action spec of the env
_ = self.agent_group # the name of the agent group the model is for
_ = self.n_agents # or the number of agents this module is for

Expand Down

0 comments on commit 2b7ec4b

Please sign in to comment.