class_docstr: First sub step gets a regular critic, subsequent sub-steps predict a delta w.r.t. to the previous critic.
  
  Instantiates a
  :class:`~maze.core.agent.torch_state_critic.TorchDeltaStateCritic`.
  
  :param observation_spaces_dict: Dict of sub-step id to observation space.
  :param networks: The single, shared critic network as defined in the config.
class_docstr_tok: ["First","sub","step","gets","a","regular","critic",",","subsequent","sub-steps","predict","a","delta","w.r.t",".","to","the","previous","critic",".","Instantiates","a",":","class",":","`","~maze.core.agent.torch_state_critic.TorchDeltaStateCritic","`",".",":","param","observation_spaces_dict",":","Dict","of","sub-step","id","to","observation","space",".",":","param","networks",":","The","single",",","shared","critic","network","as","defined","in","the","config","."]
docstr: implementation of :class:`~maze.perception.models.critics.base_state_critic_composer.BaseStateCriticComposer`
          
docstr_tok: ["implementation","of",":","class",":","`","~maze.perception.models.critics.base_state_critic_composer.BaseStateCriticComposer","`"]
code: def critic(self) -> TorchDeltaStateCritic:
      """implementation of :class:`~maze.perception.models.critics.base_state_critic_composer.BaseStateCriticComposer`"""
      return TorchDeltaStateCritic(
          self._critics,
          obs_spaces_dict=self._observation_spaces_dict,
          device="cpu",
      )
  
file_path: maze/maze/perception/models/critics/delta_state_critic_composer.py
imports: from typing import Dict, Union
  import numpy
  from gym import spaces
  from torch import nn
  from maze.core.agent.torch_state_critic import TorchDeltaStateCritic
  from maze.core.annotations import override
  from maze.core.env.structured_env import StepKeyType
  from maze.core.utils.config_utils import list_to_dict
  from maze.core.utils.factory import CollectionOfConfigType, Factory
  from maze.perception.models.critics.base_state_critic_composer import BaseStateCriticComposer
label_desc: Use image node_id 2 for calling the DeltaStateCriticComposer obj's underlying member method code with example usage: obj.critic() and returns: TorchDeltaStateCritic