def METHOD_NAME() -> Parameters:
    """
    Get the hyperparameters generated by tuner.
    Each trial should and should only invoke this function once.
    Otherwise the behavior is undefined.
    Examples
    --------
    Assuming the :doc:`search space </hpo/search_space>` is:
    .. code-block::
        {
            'activation': {'_type': 'choice', '_value': ['relu', 'tanh', 'sigmoid']},
            'learning_rate': {'_type': 'loguniform', '_value': [0.0001, 0.1]}
        }
    Then this function might return:
    .. code-block::
        {
            'activation': 'relu',
            'learning_rate': 0.02
        }
    Returns
    -------
    :class:`~nni.typehint.Parameters`
        A hyperparameter set sampled from search space.
    """
    global _params
    _params = get_default_trial_command_channel().receive_parameter()
    if _params is None:
        return None  # type: ignore
    return _params['parameters']