:py:mod:`rofunc.learning.RofuncRL.agents.mixline.physhoi_agent`
===============================================================

.. py:module:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent

.. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent
   :allowtitles:

Module Contents
---------------

Classes
~~~~~~~

.. list-table::
   :class: autosummary longtable
   :align: left

   * - :py:obj:`PhysHOIAgent <rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent>`
     - .. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent
          :summary:

API
~~~

.. py:class:: PhysHOIAgent(cfg: omegaconf.DictConfig, observation_space: typing.Optional[typing.Union[int, typing.Tuple[int], gym.Space, gymnasium.Space]], action_space: typing.Optional[typing.Union[int, typing.Tuple[int], gym.Space, gymnasium.Space]], memory: typing.Optional[typing.Union[rofunc.learning.RofuncRL.utils.memory.Memory, typing.Tuple[rofunc.learning.RofuncRL.utils.memory.Memory]]] = None, device: typing.Optional[typing.Union[str, torch.device]] = None, experiment_dir: typing.Optional[str] = None, rofunc_logger: typing.Optional[rofunc.logger.BeautyLogger] = None)
   :canonical: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent

   Bases: :py:obj:`rofunc.learning.RofuncRL.agents.online.ppo_agent.PPOAgent`, :py:obj:`rofunc.learning.RofuncRL.agents.base_agent.BaseAgent`

   .. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent

   .. rubric:: Initialization

   .. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.__init__

   .. py:method:: store_transition(states: torch.Tensor, actions: torch.Tensor, next_states: torch.Tensor, rewards: torch.Tensor, terminated: torch.Tensor, truncated: torch.Tensor, infos: torch.Tensor)
      :canonical: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.store_transition

   .. py:method:: bound_loss(mu)
      :canonical: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.bound_loss

      .. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.bound_loss

   .. py:method:: update_net()
      :canonical: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.update_net

      .. autodoc2-docstring:: rofunc.learning.RofuncRL.agents.mixline.physhoi_agent.PhysHOIAgent.update_net
