class_docstr: A metric wrapper which computes the given function for concatenated values of 'y_true' and 'y_pred' each epoch.
  Can be used as a running metric which computes the function for batches of outputs with a given step size during
  training.
  
  Args:
      name (str): The name of the metric.
      metric_function (func): The function('y_pred', 'y_true') to use as the metric.
      running (bool): True if this should act as a running metric.
      step_size (int): Step size to use between calls if running=True.
class_docstr_tok: ["A","metric","wrapper","which","computes","the","given","function","for","concatenated","values","of","'y_true","'","and","'y_pred","'","each","epoch",".","Can","be","used","as","a","running","metric","which","computes","the","function","for","batches","of","outputs","with","a","given","step","size","during","training",".","Args",":","name","(","str",")",":","The","name","of","the","metric",".","metric_function","(","func",")",":","The","function","(","'y_pred","'",",","'y_true","'",")","to","use","as","the","metric",".","running","(","bool",")",":","True","if","this","should","act","as","a","running","metric",".","step_size","(","int",")",":","Step","size","to","use","between","calls","if","running=True","."]
docstr: Reset the 'y_true' and 'y_pred' caches.
  
  Args:
      state (dict): The :class:`.torchbearer.Trial` state.
docstr_tok: ["Reset","the","'y_true","'","and","'y_pred","'","caches",".","Args",":","state","(","dict",")",":","The",":","class",":","`",".torchbearer.Trial","`","state","."]
code: def reset(self, state):
      """Reset the 'y_true' and 'y_pred' caches.
  
      Args:
          state (dict): The :class:`.torchbearer.Trial` state.
      """
      super(EpochLambda, self).reset(state)
      self._y_true = None
      self._y_pred = None
  
imports: import torchbearer
  from torchbearer.bases import Metric
  from .metrics import AdvancedMetric
  import torch
label_desc: Use image node_id 6 for calling the EpochLambda obj's underlying member method code with example usage: obj.reset(state) without return types