def value(self):
    r"""Value accessor for compatibility with `ParameterLike`.

    Raises:
      UninitializedParameterError: Since ``UninitializedParameter``\ s are not
        initialized, retrieving their value always raises an error.
    """
    raise UninitializedParameterError(
        "Cannot use the value of an uninitialized parameter! Please initialize"
        " your model's parameters before attempting to use the model."
    )
Value accessor for compatibility with `ParameterLike`.

    Raises:
      UninitializedParameterError: Since ``UninitializedParameter``\ s are not
        initialized, retrieving their value always raises an error.
    
penzai/deprecated/v1/nn/parameters.py