ray.rllib.core.models.catalog.Catalog.latent_dims
ray.rllib.core.models.catalog.Catalog.latent_dims#
- property Catalog.latent_dims#
Returns the latent dimensions of the encoder.
This establishes an agreement between encoder and heads about the latent dimensions. Encoders can be built to output a latent tensor with
latent_dimsdimensions, and heads can be built with tensors oflatent_dimsdimensions as inputs. This can be safely ignored if this agreement is not needed in case of modifications to the Catalog.- Returns
The latent dimensions of the encoder.