class_docstr: Wraps a learner ignoring the step calls, i.e. freezing it.
docstr: Initializes the frozen learner.
  
  Args:
    learner: Learner to be wrapped.
    step_fn: Function to call instead of the step() method of the learner.
      This can be used, e.g. to drop samples from an iterator that would
      normally be consumed by the learner.
code: def __init__(
      self,
      learner: acme.Learner,
      step_fn: Optional[Callable[[], None]] = None,
  ):
      """Initializes the frozen learner.
  
      Args:
        learner: Learner to be wrapped.
        step_fn: Function to call instead of the step() method of the learner.
          This can be used, e.g. to drop samples from an iterator that would
          normally be consumed by the learner.
      """
      self._learner = learner
      self._step_fn = step_fn
  
file_path: acme/acme/utils/frozen_learner.py
imports: from typing import Callable, List, Optional, Sequence
  import acme
label_desc: Use image node_id 1 to create a new FrozenLearner object from inherited base classes: acme with example: obj = FrozenLearner(learner, step_fn)