code: def amca_metrics(streams: Sequence[str] = ("test",)) -> PluginMetric:
      """
      Helper method that can be used to obtain the desired set of
      plugin metrics.
  
      The returned metric will not compute the AMCA when the
      :class:`PeriodicEval` plugin is used. To change this behavior,
      you can instantiate a :class:`AMCAPluginMetric` by setting
      `ignore_validation` to False.
  
      :param streams: The list of streams to track. Defaults to "test" only.
  
      :return: The AMCA plugin metric.
      """
      return AMCAPluginMetric(streams=streams, ignore_validation=True)
  
imports: from typing import Callable, Dict, Iterable, List, Union, TYPE_CHECKING, Optional, Sequence, Set
  from collections import defaultdict, OrderedDict
  import torch
  from torch import Tensor
  from avalanche.evaluation import Metric, PluginMetric, _ExtendedGenericPluginMetric, _ExtendedPluginMetricValue
  from avalanche.evaluation.metric_utils import generic_get_metric_name
  from avalanche.evaluation.metrics.class_accuracy import ClassAccuracy, TrackedClassesType
label_desc: Use image node_id 1 for calling a global function with example usage: amca_metrics(streams) and returns: AMCAPluginMetric