garage.torch.policies package¶
PyTorch Policies.
-
class
DeterministicMLPPolicy(env_spec, **kwargs)[source]¶ Bases:
garage.torch.modules.mlp_module.MLPModule,garage.torch.policies.base.PolicyImplements 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).
-
class
GaussianMLPPolicy(env_spec, **kwargs)[source]¶ Bases:
garage.torch.policies.base.Policy,garage.torch.modules.gaussian_mlp_module.GaussianMLPModuleGaussianMLPPolicy.
A policy that contains a MLP to make prediction based on a gaussian distribution.
Parameters: - env_spec (garage.envs.env_spec.EnvSpec) – Environment specification.
- module – GaussianMLPModule to make prediction based on a gaussian
- distribution. –
Returns: -
vectorized¶ Vectorized or not.