ray.rllib.core.rl_module.default_model_config.DefaultModelConfig.fcnet_hiddens#
- DefaultModelConfig.fcnet_hiddens: List[int]#
List containing the sizes (number of nodes) of a fully connected (MLP) stack. Note that in an encoder-based default architecture with a policy head (and possible value head), this setting only affects the encoder component. To set the policy (and value) head sizes, use
post_fcnet_hiddens
, instead. For example, if you setfcnet_hiddens=[32, 32]
andpost_fcnet_hiddens=[64]
, you would get an RLModule with a [32, 32] encoder, a [64, act-dim] policy head, and a [64, 1] value head (if applicable).