Rate this Page

torchrl.trainers.algorithms.configs.modules.ModelConfig#

class torchrl.trainers.algorithms.configs.modules.ModelConfig(_partial_: bool = False, in_keys: Any = None, out_keys: Any = None, shared: bool = False)[source]#

Parent class to configure a model.

A model can be made of several networks. It is always a TensorDictModuleBase instance.