code: def SequenceAccuracy(classifier=core.ArgMax()):
      """Returns a layer that computes mean sequence prediction accuracy.
  
      DEPRECATED; use ``MaskedSequenceAccuracy`` instead.
  
      Args:
        classifier: Layer that transforms activation vectors into category
            predictions.
      """
      return cb.Serial(
          classifier,
          _Accuracy(),
          _WeightedSequenceMean(),
          name="SequenceAccuracy",
          sublayers_to_print=[],
      )
  
imports: from trax import fastmath
  from trax import shapes
  from trax.fastmath import numpy
  from trax.layers import base
  from trax.layers import combinators
  from trax.layers import core
label_desc: Use image node_id 12 for calling a global function with example usage: SequenceAccuracy(classifier) and returns: cb