Return the main processor that is associated with the action space
(self)
| 881 | |
| 882 | @property |
| 883 | def action_processor(self) -> ObservationProcessor: |
| 884 | """Return the main processor that is associated with the action space""" |
| 885 | if self.main_observation_type == "text": |
| 886 | return self.text_processor |
| 887 | elif self.main_observation_type == "image": |
| 888 | return self.image_processor |
| 889 | else: |
| 890 | raise ValueError("Invalid main observation type") |
nothing calls this directly
no outgoing calls
no test coverage detected