torchrl.controllers package

Submodules

torchrl.controllers.controller module

class torchrl.controllers.controller.Controller[source]

Bases: object

abstract act(obs)[source]
learn() → dict[source]

Placeholder method for the learning algorithm

class torchrl.controllers.controller.RandomController(action_space: gym.spaces.space.Space)[source]

Bases: torchrl.controllers.controller.Controller

act(obs)[source]

torchrl.controllers.test_controller module

torchrl.controllers.test_controller.test_random_controller(spec_id: str)[source]

Module contents