def METHOD_NAME(weights: dict, layer_l: int):
    r"""Get weight and bias of fitting network.
    Parameters
    ----------
    weights : dict
        weights
    layer_l : int
        layer order in embedding network
        0~nlayer-1
    """
    key = f"layer_{layer_l}.tweight"
    weight = get_weight(weights, key)
    return weight