@staticmethod
def _remove_label_sparse_feature_sizes(sparse_feature_sizes: Dict[(Text, Dict[(Text, List[int])])], label_attribute: Optional[Text]=None) -> Dict[(Text, Dict[(Text, List[int])])]:
    if (label_attribute in sparse_feature_sizes):
        del sparse_feature_sizes[label_attribute]
    return sparse_feature_sizes
@staticmethod
def _remove_label_sparse_feature_sizes(sparse_feature_sizes: Dict[(Text, Dict[(Text, List[int])])], label_attribute: Optional[Text]=None) -> Dict[(Text, Dict[(Text, List[int])])]:
    if (label_attribute in sparse_feature_sizes):
        del sparse_feature_sizes[label_attribute]
    return sparse_feature_sizes