def METHOD_NAME(weights: int, spe_j: int, layer_l: int):
    r"""Get weight and bias of embedding network.
    Parameters
    ----------
    weights : dict
        weights
    spe_j : int
        special order of neighbor atom j
        0~ntype-1
    layer_l
        layer order in embedding network
        1~nlayer
    """
    if nvnmd_cfg.version == 0:
        key = f"filter_type_all.matrix_{layer_l}_{spe_j}"  # type_one_side = true
        weight = get_weight(weights, key)
        key = f"filter_type_all.bias_{layer_l}_{spe_j}"  # type_one_side = true
        bias = get_weight(weights, key)
        return weight, bias, None
    if nvnmd_cfg.version == 1:
        key = f"filter_type_all.matrix_{layer_l}"
        weight = get_weight(weights, key)
        key = f"filter_type_all.bias_{layer_l}"
        bias = get_weight(weights, key)
        key = f"filter_type_all.idt_{layer_l}"
        idt = get_weight(weights, key)
        return weight, bias, idt