Update agent_class.py
Browse files- agent_class.py +2 -2
agent_class.py
CHANGED
@@ -2,8 +2,8 @@ import torch
|
|
2 |
|
3 |
class ParameterisedPolicy(torch.nn.Module):
|
4 |
"""
|
5 |
-
REINFORCE RL agent class.
|
6 |
-
observation
|
7 |
obs_len - length of the state vector.
|
8 |
act_space_len - length of the action vector.
|
9 |
"""
|
|
|
2 |
|
3 |
class ParameterisedPolicy(torch.nn.Module):
|
4 |
"""
|
5 |
+
REINFORCE RL agent class.
|
6 |
+
Use ParameterisedPolicy.act(observation) method to predict action based on input state.
|
7 |
obs_len - length of the state vector.
|
8 |
act_space_len - length of the action vector.
|
9 |
"""
|