blocks.perceiver_block_config ============================= .. py:module:: blocks.perceiver_block_config Classes ------- .. autoapisummary:: blocks.perceiver_block_config.PerceiverBlockConfig Module Contents --------------- .. py:class:: PerceiverBlockConfig(/, **data) Bases: :py:obj:`emmi.schemas.modules.blocks.transformer_block_config.TransformerBlockConfig` Configuration for the PerceiverBlock module. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:attribute:: kv_dim :type: int | None :value: None Dimensionality of the key and value represenations. Defaults to None. If None, hidden_dim is used. .. py:method:: set_kv_dim() Set kv_dim to hidden_dim if not provided.