class_docstr: Wrap `opt` in a lookahead optimizer
class_docstr_tok: ["Wrap","`","opt","`","in","a","lookahead","optimizer"]
code: def _copy_weights(self):
      self.slow_weights = L(
          L(p.clone().detach() for p in pg) for pg in self.param_lists
      )
  
imports: from __future__ import annotations
  from .torch_basics import *
label_desc: Use image node_id 7 for calling the Lookahead obj's underlying member method code with example usage: obj._copy_weights() without return types