(classifier=core.ArgMax())
return cb.Serial(classifier,
                   _Accuracy(),
                   _WeightedMean(),
                   name='Accuracy',
                   sublayers_to_print=[])
Returns a layer that computes mean category prediction accuracy.

  DEPRECATED; use ``WeightedCategoryAccuracy`` instead.

  Args:
    classifier: Layer that transforms activation vectors into category
        predictions.
Returns a layer that computes mean category prediction accuracy.
Returns a layer that computes mean category prediction accuracy .
def Accuracy(classifier=core.ArgMax()):
  """Returns a layer that computes mean category prediction accuracy.

  DEPRECATED; use ``WeightedCategoryAccuracy`` instead.

  Args:
    classifier: Layer that transforms activation vectors into category
        predictions.
  """
  return cb.Serial(classifier,
                   _Accuracy(),
                   _WeightedMean(),
                   name='Accuracy',
                   sublayers_to_print=[])
def Accuracy ( classifier = core . ArgMax ( ) ) : return cb . Serial ( classifier , _Accuracy ( ) , _WeightedMean ( ) , name = 'Accuracy' , sublayers_to_print = [ ] )