original_docstring:  Apply the loss function. Every inherited class must implement this function.
          (All the TF code must go in this function.)
          
          Parameters
          ----------
          scores_pos : tf.Tensor
              A tensor of scores assigned to positive statements.
          scores_neg : tf.Tensor
              A tensor of scores assigned to negative statements.
          
          Returns
          -------
          loss : tf.Tensor
              The loss value that must be minimized.
          
docstring: Apply the loss function. Every inherited class must implement this function.
  (All the TF code must go in this function.)
  
  Parameters
  
  scores_pos : tf.Tensor
  A tensor of scores assigned to positive statements.
  scores_neg : tf.Tensor
  A tensor of scores assigned to negative statements.
  
  Returns
  
  loss : tf.Tensor
  The loss value that must be minimized.
docstring_tokens: Apply the loss function . Every inherited class must implement this function . ( All the TF code must go in this function . ) Parameters scores_pos : tf . Tensor A tensor of scores assigned to positive statements . scores_neg : tf . Tensor A tensor of scores assigned to negative statements . Returns loss : tf . Tensor The loss value that must be minimized .
code: def _apply(self, scores_pos, scores_neg):
          """ Apply the loss function. Every inherited class must implement this function.
          (All the TF code must go in this function.)
          
          Parameters
          ----------
          scores_pos : tf.Tensor
              A tensor of scores assigned to positive statements.
          scores_neg : tf.Tensor
              A tensor of scores assigned to negative statements.
          
          Returns
          -------
          loss : tf.Tensor
              The loss value that must be minimized.
          """
          msg = 'This function is a placeholder in an abstract class.'
          logger.error(msg)
          NotImplementedError(msg)
code_tokens: def _apply ( self , scores_pos , scores_neg ) : msg = 'This function is a placeholder in an abstract class.' logger . error ( msg ) NotImplementedError ( msg )
short_docstring: Apply the loss function.
short_docstring_tokens: Apply the loss function .
comment: """ Apply the loss function. Every inherited class must implement this function.
          (All the TF code must go in this function.)
          
          Parameters
          ----------
          scores_pos : tf.Tensor
              A tensor of scores assigned to positive statements.
          scores_neg : tf.Tensor
              A tensor of scores assigned to negative statements.
          
          Returns
          -------
          loss : tf.Tensor
              The loss value that must be minimized.
          """