|
QDpy
|
A portable continuous actor conditioned on a simplex of objective weights. More...
Public Member Functions | |
| act (self, observation, preference) | |
| Act using the provided relative objective weights. | |
| specialize (self, preference, *, device=None) | |
| Fold a fixed preference into a standalone continuous actor. | |
| Public Member Functions inherited from qdpy.rl.descriptor_policy.DescriptorConditionedPolicy | |
| descriptor_domain (self) | |
| save (self, path) | |
| Export the conditioned actor and descriptor normalization bounds. | |
| load (cls, path, *, device="cpu") | |
| Rebuild a conditioned inference policy from its saved NPZ. | |
A portable continuous actor conditioned on a simplex of objective weights.
Use nonnegative preferences summing to one to choose an objective trade-off.
Definition at line 39 of file mome_p2c.py.
| qdpy.rl.mome_p2c.PreferenceConditionedPolicy.act | ( | self, | |
| observation, | |||
| preference ) |
Act using the provided relative objective weights.
Return an action in the physical action-space units.
Reimplemented from qdpy.rl.descriptor_policy.DescriptorConditionedPolicy.
Definition at line 52 of file mome_p2c.py.
| qdpy.rl.mome_p2c.PreferenceConditionedPolicy.specialize | ( | self, | |
| preference, | |||
| * | , | ||
| device = None ) |
Fold a fixed preference into a standalone continuous actor.
Return an independent unconditioned actor for one preference.
Reimplemented from qdpy.rl.descriptor_policy.DescriptorConditionedPolicy.
Definition at line 57 of file mome_p2c.py.