Source code for fortuna.prob_model.posterior.map.map_state
from __future__ import annotations
from fortuna.prob_model.posterior.state import PosteriorState
from fortuna.utils.strings import convert_string_to_tuple
[docs]
class MAPState(PosteriorState):
"""
Attributes
----------
encoded_name: jnp.ndarray
MAP state name encoded as an array.
"""
encoded_name: tuple = convert_string_to_tuple("MAPState")