




"""simple docstring"""


import numpy as np


def  UpperCAmelCase__	(snake_case__							: np.ndarray   ):
  """simple docstring"""

  return 1 / (1 + np.exp(-vector   ))


def  UpperCAmelCase__	(snake_case__							: np.ndarray   ):
  """simple docstring"""

  return vector * sigmoid(snake_case__   )


if __name__ == "__main__":
     import doctest

     doctest.testmod()








"""simple docstring"""


from .data_collator import (
    DataCollatorForLanguageModeling,
    DataCollatorForPermutationLanguageModeling,
    DataCollatorForSeqaSeq,
    DataCollatorForSOP,
    DataCollatorForTokenClassification,
    DataCollatorForWholeWordMask,
    DataCollatorWithPadding,
    DefaultDataCollator,
    default_data_collator,
)
from .metrics import glue_compute_metrics, xnli_compute_metrics
from .processors import (
    DataProcessor,
    InputExample,
    InputFeatures,
    SingleSentenceClassificationProcessor,
    SquadExample,
    SquadFeatures,
    SquadVaProcessor,
    SquadVaProcessor,
    glue_convert_examples_to_features,
    glue_output_modes,
    glue_processors,
    glue_tasks_num_labels,
    squad_convert_examples_to_features,
    xnli_output_modes,
    xnli_processors,
    xnli_tasks_num_labels,
)


