parameters: (self, input_fn=None, batch_size=None)
return_statement: return (pred[key] for pred in preds)
docstring: Returns predicted scores for given features.
  
      Args:
        input_fn: Input function.
        batch_size: Override default batch size.
  
      Returns:
        An iterable of predicted scores.
docstring_summary: Returns predicted scores for given features.
docstring_tokens: Returns predicted scores for given features .
function: def predict_scores(self, input_fn=None, batch_size=None):
      """Returns predicted scores for given features.
  
      Args:
        input_fn: Input function.
        batch_size: Override default batch size.
  
      Returns:
        An iterable of predicted scores.
      """
      key = prediction_key.PredictionKey.SCORES
      preds = self.predict(
          input_fn=input_fn, batch_size=batch_size, outputs=[key])
      return (pred[key] for pred in preds)
function_tokens: def predict_scores ( self , input_fn = None , batch_size = None ) : key = prediction_key . PredictionKey . SCORES preds = self . predict ( input_fn = input_fn , batch_size = batch_size , outputs = [ key ] ) return ( pred [ key ] for pred in preds )