class_docstr: The Forward Transfer computed on each experience separately.
  The transfer is computed based on the accuracy metric.
class_docstr_tok: ["The","Forward","Transfer","computed","on","each","experience","separately",".","The","transfer","is","computed","based","on","the","accuracy","metric","."]
docstr: Forward transfer for an experience defined by its key.
  
  See :class:`ForwardTransfer` documentation for more detailed
  information.
  
  :param k: key from which to compute the forward transfer.
  :return: the difference between the key value after training on the
      previous experience, and the key at random initialization.
docstr_tok: ["Forward","transfer","for","an","experience","defined","by","its","key",".","See",":","class",":","`","ForwardTransfer","`","documentation","for","more","detailed","information",".",":","param","k",":","key","from","which","to","compute","the","forward","transfer",".",":","return",":","the","difference","between","the","key","value","after","training","on","the","previous","experience",",","and","the","key","at","random","initialization","."]
code: def result_key(self, k: int) -> Optional[float]:
      """
      Forward transfer for an experience defined by its key.
  
      See :class:`ForwardTransfer` documentation for more detailed
      information.
  
      :param k: key from which to compute the forward transfer.
      :return: the difference between the key value after training on the
          previous experience, and the key at random initialization.
      """
      return self.forward_transfer.result_key(k=k)
  
imports: from abc import ABC, abstractmethod
  from typing import Dict, TYPE_CHECKING, Generic, List, Optional, TypeVar, Union
  from avalanche.evaluation.metric_definitions import Metric, PluginMetric
  from avalanche.evaluation.metric_results import MetricValue, MetricResult
  from avalanche.evaluation.metrics import TaskAwareAccuracy, Mean
  from avalanche.evaluation.metric_utils import get_metric_name, phase_and_task, stream_type
label_desc: Use image node_id 2 for calling the ExperienceForwardTransfer obj's underlying member method code with example usage: obj.result_key(k) and returns: self