parameters: (boolean_labels, scores, score_range, nbins)
docstring: Create histogram tensors from one batch of labels/scores.
docstring_summary: Create histogram tensors from one batch of labels/scores.
docstring_tokens: Create histogram tensors from one batch of labels / scores .
function: def _make_auc_histograms(boolean_labels, scores, score_range, nbins):
    """Create histogram tensors from one batch of labels/scores."""
  
    with variable_scope.variable_scope(
        None, 'make_auc_histograms', [boolean_labels, scores, nbins]):
      # Histogram of scores for records in this batch with True label.
      hist_true = histogram_ops.histogram_fixed_width(
          array_ops.boolean_mask(scores, boolean_labels),
          score_range,
          nbins=nbins,
          dtype=dtypes.int64,
          name='hist_true')
      # Histogram of scores for records in this batch with False label.
      hist_false = histogram_ops.histogram_fixed_width(
          array_ops.boolean_mask(scores, math_ops.logical_not(boolean_labels)),
          score_range,
          nbins=nbins,
          dtype=dtypes.int64,
          name='hist_false')
      return hist_true, hist_false
function_tokens: def _make_auc_histograms ( boolean_labels , scores , score_range , nbins ) : with variable_scope . variable_scope ( None , 'make_auc_histograms' , [ boolean_labels , scores , nbins ] ) : # Histogram of scores for records in this batch with True label. hist_true = histogram_ops . histogram_fixed_width ( array_ops . boolean_mask ( scores , boolean_labels ) , score_range , nbins = nbins , dtype = dtypes . int64 , name = 'hist_true' ) # Histogram of scores for records in this batch with False label. hist_false = histogram_ops . histogram_fixed_width ( array_ops . boolean_mask ( scores , math_ops . logical_not ( boolean_labels ) ) , score_range , nbins = nbins , dtype = dtypes . int64 , name = 'hist_false' ) return hist_true , hist_false