def _create_all_labels(self) -> Tuple[(tf.Tensor, tf.Tensor)]:
    all_label_ids = self.tf_label_data[LABEL_KEY][LABEL_SUB_KEY][0]
    sequence_feature_lengths = self._get_sequence_feature_lengths(self.tf_label_data, LABEL)
    x = self._create_bow(self.tf_label_data[LABEL][SEQUENCE], self.tf_label_data[LABEL][SENTENCE], sequence_feature_lengths, self.label_name)
    all_labels_embed = self._tf_layers[f'embed.{LABEL}'](x)
    return (all_label_ids, all_labels_embed)
def _create_all_labels(self) -> Tuple[(tf.Tensor, tf.Tensor)]:
    all_label_ids = self.tf_label_data[LABEL_KEY][LABEL_SUB_KEY][0]
    sequence_feature_lengths = self._get_sequence_feature_lengths(self.tf_label_data, LABEL)
    x = self._create_bow(self.tf_label_data[LABEL][SEQUENCE], self.tf_label_data[LABEL][SENTENCE], sequence_feature_lengths, self.label_name)
    all_labels_embed = self._tf_layers[f'embed.{LABEL}'](x)
    return (all_label_ids, all_labels_embed)