original_docstring:  Creates any dependencies that need to be checked before performing loss computations
          
          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.
          
docstring: Creates any dependencies that need to be checked before performing loss computations
  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.
docstring_tokens: Creates any dependencies that need to be checked before performing loss computations 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 .
code: def _inputs_check(self, scores_pos, scores_neg):
          """ Creates any dependencies that need to be checked before performing loss computations
          
          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.
          """
          logger.debug('Creating dependencies before loss computations.')
          self._dependencies = []
          if LOSS_REGISTRY[self.name].class_params['require_same_size_pos_neg'] and self._loss_parameters['eta'] != 1:
              logger.debug('Dependencies found: \n\tRequired same size positive and negative. \n\tEta is not 1.')
              self._dependencies.append(tf.Assert(tf.equal(tf.shape(scores_pos)[0], tf.shape(scores_neg)[0]),
                                                  [tf.shape(scores_pos)[0], tf.shape(scores_neg)[0]]))
code_tokens: def _inputs_check ( self , scores_pos , scores_neg ) : logger . debug ( 'Creating dependencies before loss computations.' ) self . _dependencies = [ ] if LOSS_REGISTRY [ self . name ] . class_params [ 'require_same_size_pos_neg' ] and self . _loss_parameters [ 'eta' ] != 1 : logger . debug ( 'Dependencies found: \n\tRequired same size positive and negative. \n\tEta is not 1.' ) self . _dependencies . append ( tf . Assert ( tf . equal ( tf . shape ( scores_pos ) [ 0 ] , tf . shape ( scores_neg ) [ 0 ] ) , [ tf . shape ( scores_pos ) [ 0 ] , tf . shape ( scores_neg ) [ 0 ] ] ) )
short_docstring: Creates any dependencies that need to be checked before performing loss computations
  Parameters
short_docstring_tokens: Creates any dependencies that need to be checked before performing loss computations Parameters
comment: """ Creates any dependencies that need to be checked before performing loss computations
          
          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.
          """