def METHOD_NAME(
    networks: rnd_networks.DirectRLNetworks,
    dataset: Iterator[reverb.ReplaySample]) -> core.Learner:
  return self._rl_agent.make_learner(
      direct_rl_learner_key,
      networks,
      dataset,
      logger_fn=lambda name: self._logger_fn(),
      environment_spec=environment_spec,
      replay_client=replay_client,
      counter=direct_rl_counter)