Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions examples/pytorch/domain_templates/reinforce_learn_ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ class ActorCategorical(nn.Module):
def __init__(self, actor_net):
"""
Args:
input_shape: observation shape of the environment
n_actions: number of discrete actions available in the environment
actor_net: network that maps an observation to action logits
"""
super().__init__()

Expand Down Expand Up @@ -95,8 +94,8 @@ class ActorContinuous(nn.Module):
def __init__(self, actor_net, act_dim):
"""
Args:
input_shape: observation shape of the environment
n_actions: number of discrete actions available in the environment
actor_net: network that maps an observation to the mean of the action distribution
act_dim: number of continuous action dimensions
"""
super().__init__()
self.actor_net = actor_net
Expand Down