def METHOD_NAME(final_carry):
    """Retrive last state of shared_outs from final_carry.
    These outputs cannot be traced in PyTensor Scan
    """
    (
        inner_out_mit_sot,
        inner_out_sit_sot,
        inner_out_shared,
        inner_in_non_seqs,
    ) = final_carry
    shared_outs = inner_out_shared[: info.n_shared_outs]
    return list(shared_outs)