garage.torch.policies.deterministic_mlp_policy module¶
This modules creates a deterministic policy network.
A neural network can be used as policy method in different RL algorithms. It accepts an observation of the environment and predicts an action.
-
class
DeterministicMLPPolicy
(env_spec, **kwargs)[source]¶ Bases:
garage.torch.modules.mlp_module.MLPModule
,garage.torch.policies.base.Policy
Implements a deterministic policy network.
The policy network selects action based on the state of the environment. It uses a PyTorch neural network module to fit the function of pi(s).